How to offer discounts based on quantity in WooCommerce
Commonly, as a store owner, you may sometimes want to offer discounts if customers buy more than one quantity of a particular product. This may either be to boost sales or finish excess stocks. In this post, you will learn how to offer discounts based on quantity in WooCommerce using both code snippets and plugins. […]
How to link external products on the Shop page to the Product page in WooCommerce
WooCommerce products are of different types viz. simple, grouped, variable, virtual, downloadable and external products. While products belonging to the first six product types can be bought directly off the store, external products function differently. What is an external product in WooCommerce? External products in WooCommerce are called so because though they may be added […]
How to display Before and After prices for products on sale in WooCommerce
It’s a good practice to offer discounts on your web store from time to time, as they are a great way to boost sales, and though, by default, WooCommerce displays the new price after slashing the old price for on-sale products (refer to the image below), a lot of stores instead write “Before” and “After” […]
How to disable payment gateways for some countries in WooCommerce
In my last post, I talked about how you can disable payment gateways in WooCommerce based on different user roles. Sometimes, there are instances where you may need to do this based on the country of the customer. This can be for different reasons such as the payment gateway not being widely used in that […]
How to disable payment gateways for some user roles in WooCommerce
As a WooCommerce store owner, on many occasions, you may have come across a need to disable certain payment gateways. For instance, you may want to disable the Cash on Delivery option for all your customers i.e. logged in users having the role as “customer” and those users who are not logged in. Another instance […]
How to add plus + and minus – buttons to the quantity input on the product page in WooCommerce
WooCommerce can be used with plenty of WordPress themes, and every theme has a different way of laying out and styling the different features. In this post, we will talk about the quantity feature, more specifically about the buttons that we click to increase and decrease the quantity of a product before adding it to […]
A guide to using Gutenberg blocks for your WooCommerce store
The introduction of the Gutenberg editor in WordPress has contributed towards reshaping the identity of WordPress to a large extent. From being a core content management system with features to add media and optionally, plugins for various needs, it’s now additionally a rich, media-centric WYSIWYG editor and web-page builder, with no compromise to the flexibility […]
How to Rename Order Status Messages in WooCommerce
Sometimes, for various reasons, you may want to rename order status messages for your customers, or even for your store administrators. This could be for various reasons e.g. because you want the tone or language of your status messages to be consistent with that of the rest of your store, or to maintain exclusivity, or […]
How to restrict the quantity field to selected numbers in WooCommerce
As a WooCommerce store owner, often, you may want the user to order fixed quantities for certain products. For instance, in case of furniture or home decor stores, products such as chairs may be ordered in sets of 2, sofa pillows may be ordered in sets of 3 or 4 and so on. In case […]
How to hide a WooCommerce product category on the Shop Page
We have seen how you can hide a product category from getting displayed using the [product_categories] shortcode. But what if you want to hide a product category on the Shop Page, after displaying it using the WordPress Customizer? In this post, you will learn how you can hide a WooCommerce product category on the Shop […]