How do you add the custom column “Product Type” in WooCommerce product list table like above image? I am adding this column because I can easily identify the product type from product listing page. Here is the simple PHP snippet for it. You will add the code into the functions.php file of your active theme.
If you do not use the generic woocommerce category page & would like to hide it from the breadcrumb so you will put the following PHP snippets into your active theme’s functions.php file.
Price value is printing on shop, category and single product page via get_price_html() function. get_price_html() is a method of WC_Product_Variable class. In this method have a filter “woocommerce_get_price_html”. You can customize the current price structure with this filter as per your requirement. In this tutorial I use this filter woocommerce_get_price_html and add the custom text… Continue Reading
How do you customize the default “Add to cart” text on single product page? You can easily do it without editing the core file. There have a filter “woocommerce_product_single_add_to_cart_text” for single product’s add to cart text. Change The Add to cart Text Adds Price Value in Add to cart Button Where are you add the… Continue Reading
I tried this PHP snippet and added into the functions.php file of my active theme.
Sometimes we want to add the brand name on product name. This option is not available in WooCommerce plugin but you can achieve easily and administrators can easily control the option from their dashboard. In this tutorial I am sharing the step by step procedure and showing you how you will do this same things… Continue Reading
In this tutorial I am showing how you will change the default author link with custom link. Changing The Link For All Authors Changing The Link of a Specific Author I’m changing the link for a specific author only. Check the PHP snippet at below:
PHP snippet for free version of Astra theme. Make sure that you are using the child theme of Astra theme. Now open the functions.php file of your child theme and drop the following PHP snippets at end of the file. PHP snippet for PRO version of Astra theme. Make sure that you are using the… Continue Reading
Upload thumbnail field is only available to WooCommerce product category add/edit form. In this tutorial I shall show you how you will add the same upload image field to attributes terms add/edit form. Creating A PHP File At first we shall create the PHP file “product-attributes-terms-form-fields.php” and save into the yourthemefolder/woocommerce folder. Code of this… Continue Reading
Three ways you can disable the COMPLETED order status notification email on your WooCommerce shop. Method 1: Via WooCommerce Settings Page You can easily disable the option from WooCommerce Settings page. Login to your Dashboard Navigate to WooCommerce -> Settings page Click on Emails tab Click on the Manage button of Completed Order row Turn… Continue Reading