Prevent Quantity Change in the WooCommerce Cart

By default, your customers can change the quantity of a product whilst on the WooCommerce cart. In most situations, that’s great, but there are circumstances where this is less than ideal. Using the snippets below, you can prevent your customers from being able to change the quantity on the cart page. The snippets work by […]

Hide Downloads Tab on WooCommerce My Account if Customer has no Downloadable Products

By default, the Downloads tab in the WooCommerce My Account area will show regardless of if the customer has any downloadable products or not. With this simple snippet, you can change this behavior to only show the Downloads tab if the customer has something that they can download.

Change The WordPress Page Title Separator Without A Plugin

The title separator in a webpage is the symbol or punctuation that separates different parts of the title that is shown in Google search results and in the top of the browser. For example: There are lots of plugins out there that let you change the title separator in WordPress, but it’s actually really easy […]

Add Kosovo to List of WooCommerce Countries

You may have noticed that Kosovo doesn’t appear in the list of countries on WooCommerce. This is because they haven’t officially been granted an ISO 3166-1 country code. When they do, WooCommerce says they’ll add Kosovo to the list. In the meantime, if you’re selling to Kosovo, here’s how to add it to the list […]

How to Edit the wp-config.php File

Whilst customizing your WordPress site, you may come across guides and tutorials that tell you to edit your wp-config.php file, and you may be left scratching your head about how to do that! Well fear not, in this guide we’re going to explain to you exactly what the wp-config file is, where to find it, and how you can […]

Redirect User After Login in WordPress

Have you ever wanted to redirect users to a specific page after they login to your WordPress site? By default, WordPress either takes users to the admin dashboard or their profile section in the WordPress admin area, depending on their user role. The great news is, it’s super easy to redirect users somewhere else when […]

How to Modify Text in a WordPress Plugin or Theme Without Another Plugin

We’ve all been there, you’ve found the perfect theme or plugin for your site, but the wording on that button just isn’t right. Or maybe you need to change the word Cart to Basket in WooCommerce. Whatever it is, you’ve probably come across plugins that will change the text for you, but what if you […]

WooCommerce Currency Code List

Often when working with WooCommerce snippets, you’ll need to know the three letter currency code that WooCommerce uses for a specific currency. Well, here’s a handy list of all of the default currencies in WooCommerce and their corresponding currency code. Want to add a custom currency? Check out our guide on how to add a […]