Day

August 25, 2015
In this tutorial we’ll learn how to display wooccomemrce’s store sales. Woocommerce Total Sales Shortcode is a handy little plugin that can show your store’s sales on the basis on completed, processing and on hold orders. We can display this using a short code in any posy or page in our site. You can show...
Read More
In this tutorial we’ll learn how to add a custom currency and symbol in woocommerce. By default woocommerce comes with many currency option but if you ever want to add another currency along with its symbol then this tutorial we’ll help you achieve this. This is my default shop page: From here you can see...
Read More
In this tutorial, You’ll learn how to change the number of items per row in product listing page i.e. shop page. By default WooCommerce displays 4 products per row as shown in the image below. To change the number of products per row you don’t need to dive into the code you can achieve this...
Read More
In this tutorial we’ll learn how to add product sku to product url in woocommerce. By default when you go to a product page you’ll notice this kind of url: Now let’s say I want to add product sku to their corresponding url. To do this add the following lines of code at the end...
Read More
In this tutorial we’ll learn how to add woocommerce parent category to WP body class. By default woocommerce won’t add category classes to the body tag of category pages. Here is the default classes being added to body tag of category pages: Now to add category classes to body tag, add the following lines of...
Read More
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...
Read More
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...
Read More
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...
Read More
In this tutorial we’ll learn how to replace default paypal logo on woocommerce checkout page. Woocommerce comes with a default image for checkout with paypal option, we can replace that with any image we want. First let’s have a look at default logo. Go to category listing/shop page. Now add any product to cart by...
Read More
In this tutorial we’ll learn how to customize product details on single product page.Woocommerce Product Details Customizer is a nice plugin that allow you to customize woocommerce product details pages. Show / Hide core components like product imagery, tabs, upsells and related products. You can download the plugin from here: https://wordpress.org/plugins/woocommerce-product-details-customiser/ After downloading the plugin,...
Read More
1 2 3 4 6