Author: admin

How to change WooCommerce Variable Product Price Range

There are predefined woocommrece filter hooks to modify the woocommerce variable product price range.You just need to add below mentioned code to your activated theme functions.php.If you are usnig any premium theme then you can add it to child-theme functions.php.Following filter hooks are used to change the woocommerce variable product price range:

WooCommerce: How to remove the “default sorting” dropdown

There is predefined hook  which is used to add sorting dropdown in woocommerce and also there is option in wordpress to disable or remove particular hook using “remove_action” function.Please  check ,read about it more and add the following code  snippet to your theme functions.php   // remove default sorting dropdown remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 );

How to add custom fields to the WordPress registration form

I always used to build wordpress project using custom code whatever is requirement.Here, I have used wordpress hooks to customize the registration form.There are pre built action and filter hooks to customize wordpress in-built registration form.You just need to add following codes in your theme functions.php. Add the Custom Field on Front End registration 1.

How to Add Custom Fields to WooCommerce Checkout Page

Recently, I have created e-commerce site using wordpress and woocommerce and it is required to collect more information of customers through extra fields on checkout page.Here, I had many options to customized checkout page using plugins and code.But there was requirement to add fields conditionally according to type of user.For this I used action hook