August 2015

How to remove/hide specific category products from shop page in Woocommerce?

In this tutorial we’ll learn how to remove/hide products of a category page from shop page. To do this first of all create some products and assign them to categories. I’ve created two products, two categories and assigned one product to each category. This will be my shop page look like after products creation and […]

How to remove/hide specific category products from shop page in Woocommerce? Read More »

How to display remaining quantity of each variation in Woocommerce?

E-commerce stores choose to show remaining quantity of products to inform customers how many are remaining in inventory, especially if the quantity is lower than a specific lower limit. This can be difficult if products have multiple variation. Suppose a product i.e. shirt you are selling in different colors, it will be difficult for you

How to display remaining quantity of each variation in Woocommerce? Read More »

How to add sort by name in sorting options of Woocommerce

In this tutorial we’ll learn how to add sort by name option in sorting options of dropdown. This is the default sorting dropdown on shop page. Now add the following lines of code at the end of functions.php file. functionmonkey_ordering_args( $sort_args ) { $orderby_value = isset( $_GET[‘orderby’] ) ? woocommerce_clean( $_GET[‘orderby’] ) : apply_filters( ‘woocommerce_default_catalog_orderby’,

How to add sort by name in sorting options of Woocommerce Read More »

Remove products of a specific category from search results in Woocommerce?

In this tutorial; We’ll learn how to remove products of a specific category from search results in Woocommerce. I’ve some products in my store starting with the text “product”. Now, when I searched for the word “product”, I received 6 products. Now let’s say I want to exclude those products which are in “category-2” from

Remove products of a specific category from search results in Woocommerce? Read More »