WooCommerce Tutorials

How to display product price on add to cart button at archive pages in Woocommere?

In this tutorial we’ll learn how to display product prices on add to cart button on archive product pages. Here is what our default product archive page i.e. shop page and category pages will look like. Now we need to display product prices on add to cart button. To do this go to following directory […]

How to display product price on add to cart button at archive pages in Woocommere? Read More »

How to add products per page dropdown on shop and category page in Woocommerce?

In this tutorial we’ll learn how to enable customers to adjust how many products they want to see per page. Woocommerce products per page is a nice and clean plugin that will do this job for us. You can download the plugin from here: https://wordpress.org/plugins/woocommerce-products-per-page/ After downloading the plugin, go to admin panel of your

How to add products per page dropdown on shop and category page in Woocommerce? Read More »

How to limit shipping to specific states only in Woocommerce?

In this tutorial we’ll learn how to restrict shipping to specific states in Woocommerce. By default customer have all the state options where they can ship to. To do this add the following lines of code at the end of your theme’s functions.php file: add_filter( ‘woocommerce_states’, ‘custom_woocommerce_states’ ); function custom_woocommerce_states( $states ) { $states[‘US’] =

How to limit shipping to specific states only in Woocommerce? Read More »

How to change number of related products being displayed on product page in Woocommerce?

Related products are being displayed on a product page on the basis of matching tags among products. By default woocommerce displays two related products.In this tutorial we’ll learn how to increase number of related products on a product page. To do this add some products with a matching tag. I’ve created seven products with a

How to change number of related products being displayed on product page in Woocommerce? Read More »

How to change email template in Woocommerce ?

In this tutorial i’ll guide you about the files that will help you change the templates being sent by woocommerce. Also we’ll learn the right way to modify these templates. Email templates of woocommerce can be find in wordpress/wp-content/plugins/woocommerce/templates/emails/. In this folder we’ll find multiple templates like new account, new order, reset password along with

How to change email template in Woocommerce ? Read More »

How to limit no. of products site admin can add to WP Woocommerce ?

In this tutorial we’ll learn how to limit number of products site admin can add to WP woocommerce. To achieve this add the following lines of code in your functions.php. You can access functions.php here: Add the following lines of code at the end of this file and update file. add_action( ‘admin_head-post-new.php’, ‘woo_limit_products_creation’ ); function

How to limit no. of products site admin can add to WP Woocommerce ? Read More »

How to remove price of a product when it’s zero on the category and archive page?

In Woocommerce, when a product has zero price it will display ‘Free’ instead. In this tutorial we’ll learn how to remove price of a product when it is zero. Here is what our category and archive page looks like when a product has price equal to zero. Shop page will look like: The category page

How to remove price of a product when it’s zero on the category and archive page? Read More »