How to remove add to cart button from a certain category Woocommerce?

In this tutorial we’ll learn how to remove add to cart button from a certain category page. From backend of my site i’ve created two categories named as category1 and category2. Now i’m going to assign some products to these categories. As you can see in the image i’ve created some products and assign them […]

How to remove add to cart button from a certain category Woocommerce? Read More »

How to set product quantity, minimum value and increment amount in Woocommerce?

In this tutorial, We’ll learn how to set initial quantity, minimum value, maximum value and increment amount for products in woocommerce. Default values are: Quantity => 1 Minimum Value => 1 Maximum Vale => Any Quantity Increment Amount => 1 We can change one to all of these values. To do this add the following

How to set product quantity, minimum value and increment amount in Woocommerce? Read More »

How to display category specific message on woocommerce’s thank you page?

In this tutorial we’ll learn how to display category specific message on thank you page of woocommerce. To do this add the following lines of code at the end of your theme’s functions.php file: function so_28348735_category_based_thank_you_message ( $order_id ){ $order = wc_get_order( $order_id ); $show = false; foreach( $order->get_items() as $item ) { // check

How to display category specific message on woocommerce’s thank you page? Read More »

How to replace default product placeholder image in WooCommerce?

In this tutorial we’ll learn how to replace default placeholder image in woocommerce. In woocommerce if you don’t upload a product image then woocommerce automatically displays a an image placeholder, we are going to replace that image in this tutorial. In the image below you’ll see some products for which no image has been added

How to replace default product placeholder image in WooCommerce? Read More »