Create WooCommerce Custom Accounts Page

Last Updated : April 15, 2020

In this post I am going to show you how to create WooCommerce custom accounts page. We will create a new accounts tab and a page linked to it. Create New Account Tab We will create a new tab “CI Custom Endpoint” and assigned it to the items array. Our custom tab menu function will … Read more Create WooCommerce Custom Accounts Page

Update WooCommerce Checkout Total with Postcode Field

Last Updated : April 15, 2020

Sometime you want to update the checkout total based on a specific field. e.g how to update WooCommerce checkout total with postcode field. Enter the value in billing_postcode field and as you blur. The jQuery( ‘body’ ).trigger( ‘update_checkout’ ); will be triggered and the checkout total will be updated. Use the following code snippet within … Read more Update WooCommerce Checkout Total with Postcode Field

Send Additional WooCommerce Email

Last Updated : December 10, 2019

Sometime you want to send additional WooCommerce email to certain address or to third party. To send such emails is not quite hard, if you know the right hooks. We need to hook our function when action is triggered and order is set to cancelled. We use hook woocommerce_order_status_processing_to_cancelled_notification It is triggered when order status … Read more Send Additional WooCommerce Email

WooCommerce Auto Update Cart When Quantity Changes

Last Updated : April 15, 2020

Do you want WooCommerce auto update cart when quantity changes. Yes, with a simple php function with two lines of JQuery and the result is great! When you change the product quantity this JQuery code will update your cart data jQuery(“[name=’update_cart’]”).trigger(“click”); Use one of two code snippet within theme functions.php   Custom WooCommerce Plugin Development … Read more WooCommerce Auto Update Cart When Quantity Changes

Product Tabs in WooCommerce

Last Updated : April 15, 2020

In this post I am going to show you how to handle product tabs in WooCommerce. By default WooCommerce have ‘Description’, ‘Reviews’ and ‘Additional Information’ tabs. We will add custom tabs, remove & rename existing one’s and other stuff with WooCommerce product tabs. Add Custom Product Data Tab Use the following code snippet will add … Read more Product Tabs in WooCommerce