How to display product summary from single product page in sidebar of Woocommerce?

In this tutorial we’ll learn how to display product summary from single product page to sidebar of woocommerce. Here is the default product screen: Now we need to display the bordered content in the sidebar. To do this add the following lines of code in your theme’s sidebar.php file: <?php if(is_product()) { do_action( ‘woocommerce_single_product_summary’ );

How to display product summary from single product page in sidebar of Woocommerce? Read More »

How to add toggled grid/list of products in Woocommerce?

In this tutorial, we’ll learn how to add toggled grid/list of products on shop and category pages in Woocommerce. Fortunately there is a simple plugin that will do the job nicely. Woocommerce Grid/list toggle is the plugin name and you can get the plugin from here. https://wordpress.org/plugins/woocommerce-grid-list-toggle/ After downloading the plugin, go to admin panel

How to add toggled grid/list of products in Woocommerce? Read More »

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 »