How to Setup WooCommerce Bulk Discounts and Promotions

Are you looking to set up bulk discounts for your customer’s in your WooCommerce store? In this article, we’ll take a look at the various options you have for setting up discounts and promotions. Out of the box, WooCommerce doesn’t provide any discount functionality, so you’ll need to either write some code snippets or install a plug-in … Read more

How to Hide a Category from the Shop Page in Woocommerce

By default, the shop page in Woocommerce will show products from all categories, but if you want to prevent a category from being shown altogether, or from specific customers what steps can you take? Hiding A Category With a Snippet Here’s a snippet that will hide specific categories from the shop page.

How this works: … Read more

Setting up a Woocommerce Development Environment with Local by Flywheel and Visual Studio Code

In this article, we’re going to take a look at how to set-up a development environment for Woocommerce, by the time we’ve finished we should have an environment that will allow us to – Quickly spin up a fresh Woocommerce site that includes test data Edit code productively using an IDE Step through code using a debugger … Read more

How to remove “Sticky Add-To-Cart” and “Product Pagination” from the Storefront Woocommerce Theme

What are “Sticky Add-To-Cart” and “Product Pagination”? Hmmm, they’re not all that easy to describe. If you go to the single product page in the Storefront child theme you’ll see some floating images towards the far right and left of the screen, they look like this. If you hover over one of the images then … Read more

do_action and add_action in Woocommerce and WordPress

It’s quite hard to give an easy to understand definition of what do_action and add_action do, so I’m just going to launch straight into some code and hopefully, the purpose of the two methods will become clear reasonably quickly. Here’s a very simple example of do_action

If we add the code above to a … Read more