[SOLVED] WooCommerce conditional fields for gifts options on checkout

Built a web site recently using WooCommerce and decided that a gift wrapping option would be wonderful idea when user checks out. However, the WooCommerce Checkout Add-Ons plugin whilst its great, is still in its infancy and on the checkout page, it simply populates the page with all the add ons, so makes the checkout page look HUGE! My idea, was to add a checkbox asking the user if they wanted to gift wrap the order and then when checked, a list...

Read More Here >>

[SOLVED] MAMP – allowing clients to view dev sites on your local machine (with dynamic ip)

As a web developer, I like to work on web sites on my local machine and then give clients a link to the site which is hosted on my local machine so they can view progress. This save me A LOT of time syncing with remote servers as the client can view the dev site in real time on my computer. The link I give to the client looks something like this: http://dev.theirdomain.com so essentially its not any weird hostname, its a very familiar and easy to...

Read More Here >>

[SOLVED] How to remove 2FA from WHMCS Login Page

WHMCS is great, for the most part, but last night I tried to login to my WHMCS admin panel with my google two factor auth only to be met with an error saying my 2fa code was incorrect. I even tried using the backup code and still met with an error. I raised a ticket with WHMCS 12 hours ago, no response yet. GRRRRR! THE SOLUTION If you have access to the WHMCS database through phpmyadmin or similar then find the table called: tbladmins. Then find...

Read More Here >>

[Solved] Get Array of Terms for Custom Post Type Outside of Loop with Post ID

Every stone I overturned looking for the answer to this issue I was met with “use wp_get_post_terms()” but unfortunately it does not work on custom post types. The solution, after much digging and experimenting is to use get_the_term_list() but with a couple of twists. Now, I have a custom post type called “faq”. To get the “terms” or “tags” for the “faq” post type you need to know what...

Read More Here >>

Paypal Is Expensive

I just went to convert £529.45 to Euros in my paypal account and noticed that paypal was offering the exchange rate at €1.14, when my currency ticker on my desktop is showing €1.17, a difference of 3 euro cents. So I checked xe.com and transferwise.com to compare rates and was taken aback at how much paypal is “skimming” from the exchange. See my screenshot mash up of the different rates. Basically paypal is making a shit tonne...

Read More Here >>
NAVIGATION MENU