Skip to main content

Show loading spinner whilst WooCommerce order is processing

WooCommerce is a fantastic plugin for WordPress, it allows anyone to sell their own products quickly and is reasonably easy to set up with a theme, or a bit more complex when you’re creating your own theme.

I was setting up a client’s website the other day and noticed that WooCommerce doesn’t have (unless I’m mistaken) a loader/spinner animation show when you click on the “place order” button.

On the current website i’m working on, when “place order” is clicked, the screen changes to a lighter opacity but nothing else happens until obviously the confirmation screen appears. With some websites, communicating between your website and the credit card processor may take longer than anticipated, your customer may think the website has frozen and be tempted to hit the back button which could affect the order.

Read More

How to fix CPANEL permissions issue

I run a dedicated server which uses CPANEL/WHM.

My client wanted to duplicate their website and it was absolutely massive, around 10 gb with a lot of pictures and files in some of their folders. They wanted to also keep their existing website as well, so I had to figure out a way to copy their entire 10gb website over to a new account.

Compressing the website files, downloading and re-uploading was not an option because it would’ve taken all day, so I thought of a different way around it.

Read More

Send e-mails to user account email and billing email in WooCommerce

I had this small, annoying problem the other day which is contributing to my hair loss. It was the ability to CC a user into WooCommerce e-mail correspondence. So basically, when WooCommerce sends an e-mail to your customer when their order is placed and completed, I want it to send the email to another user too. That’s all and well if you want to send it to one user for every order, but what I needed was a bit different.

When a customer sets up an account in WooCommerce, they can specify their account login (this is the login / username they use to log into your website), they can also specify a billing e-mail, which would basically mean that any billing related emails, like confirmations from your online shop would go to just the billing e-mail that this customer has provided. That’s fine! BUT – if you for some reason want your user account e-mail and your billing account e-mail to both receive this e-mail, that’s where WooCommerce falls short.  I spent hours on end trying to figure out how I can make it work, and I have finally have.

Read More

Stop WordPress admin bar overlapping your Navbar in Bootstrap

If you’re using bootstrap in your WordPress theme and you’re using a fixed top menu, you’ll notice when you’re logged into WordPress as as administrator that your admin bar overlaps your page menu. It doesn’t affect your visitors, but for anyone administrators logging in, it can make it look untidy.

Read More

Tab key not working properly in gravity forms

Have you embedded a gravity form onto your page in WordPress and noticed that when you hit the tab key, it doesn’t tab down to the next field as it should? It may be conflicting with another form on your page. To fix this, enter this code into your functions.php and press save.

Read More