I had a client project recently whereby they have different dealers using a single woocommerce install but each dealer would process payments with their own stripe API keys but the added challenge was that they process in different currencies. So for example, Canadian...
Coding
[SOLVED] Unbounce – Populate Drop Down(s) with URL Parameter Data
Unbounce is a great landing page creation tool but in some areas it lacks those "extra" little features desperately needed to make the end user experience comfortable and as we know, comfort leads to conversions! For example, I wanted to create a PPC campaign so that...
How to Show a Different WordPress Theme based on IP Address [SOLVED]
A colleague and I recently stumbled on a situation where we had to show one wordpress theme to the web site visitors but show a different theme to ourselves so we can develop the new theme on the live site but not showing the development theme to the web site...
[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...
[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...
[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...
[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...
[SOLVED] Get ENOM balance into WHMCS
I have been running WHMCS for a while now and have had to keep logging into ENOM to get my balance which is a hassle as I have two factor auth and security questions setup so takes me a minute to get through all of that. Here is some php script you can put in a WHMCS...
[Solved] CSF/LFD Stop Emails containing “Suspicious process running under use X”
CSF really is an excellent IP Tables wrapper but these alerts can become a burden and you can essentially receive hundreds of them per day. Okay, for sure, the goal should be to fix the issues first but if you are a busy server admin, then this can take time so if you...
[SOLVED] – WHM Cpanel on Amazon EC2 Servers + FTP TLS Dreamweaver Issue
One of my customers has an Amazon EC2 instance with WHM installed. A decision was made recently to close off port 21 and force FTP over TLS for better security during ftp sessions. However, one of the team was saying they could not get Dreamweaver to connect and was...