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
PHP
Add Custom Fields to WooCommerce Registration Form
In this tutorial I’ll show you how you will add the extra custom fields like first name, last name, phone number etc to your WooCommerce registration form. To begin, make sure that the WooCommerce registration form is enabled on the account login page. For this, go to WooCommerce -> Settings -> Accounts & Privacy and check Enable… Continue Reading
[Astra Theme] Adds category meta before the entry title
How do you add the category meta section above the entry title on single post details? I am sharing the simple step for this. I am using the free version of Astra theme. Disabling The Category Meta for Single Post At first we will disable the category meta option for single post. You can easily… Continue Reading
Adding target “_blank” on Button Extra Navigation in Astra Theme
Adding Button as Last Menu Item at Header You can easily add the custom action button at right side of the header menu items via Astra Customizer. Go to Astra theme customier Click on the Header -> Primary Menu section Select “Button” from Last Item in Menu drop down Complete the settings as per your… Continue Reading
Toggle Button Shortcode for WordPress Site
I’m showing how you will create a simple toggle button effect with PHP & JQuery for your WordPress site. I am making the shortcode because I can easily add this button at any pages/posts or custom post type content. PHP Open the functions.php file of your active theme and add this code at end of… Continue Reading
Creating Tabs Layout With Beaver Builder Pro
Importing The BB Templates At first I am importing the demo content. Later you can edit the content with live data. Here is the procedure: Download this zip file and extract it on your machine. You will get two XML files. You will import them on your site. Login to Dashboard Navigate to Tools ->… Continue Reading
Automatically Adds Sub Categories as sub menu under Parent Category menu item
Assume you create Programming posts category and add it into your site menu bar. Later you are adding some sub categories like PHP, CSS, HTML, JQuery etc under Programming category. You do not need to add them manually from Menu page(Appearance -> Menus). These sub categories and any future sub category of Programming category will… Continue Reading
[Advanced Woo Search] Displays SOLD instead of Out Of Stock Status
Advanced Woo Search – powerful live search plugin for WooCommerce. Just start typing and you will immediately see the products that you search.Source: https://wordpress.org/plugins/advanced-woo-search/ One of the WooCommerce site I am using this plugin for product search. Client is maintaining the stock manager for his product. So client was wanting to replace the Out of Stock… Continue Reading
Removes Product Short Description Box from WooCommerce Product Edit Screen
One of the site I do not need the product short description meta box. Therefore I am completely removing this meta box from product add/edit screen. Here is the simple PHP snippets which I added to functions.php file of my theme.
1 2 3 4 5 6 7 8 9 10 11 |
<?php //* Do not include this line /** * Removing the short description meta box */ function paulc_remove_product_short_description_box() { if ( current_user_can( 'edit_post' ) ) { remove_meta_box( 'postexcerpt', 'product', 'normal' ); } } add_action( 'add_meta_boxes', 'paulc_remove_product_short_description_box', 50 ); |
In WooCommerce product short description meta box registered by add_meta_boxes hook with priority… Continue Reading