WooCommerce Update Checkout Total with Postcode Field

Sometime you want to update checkout total based on a specific field. e.g WooCommerce update 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 theme functions.php   … Read moreWooCommerce Update Checkout Total with Postcode Field

Send Additional WooCommerce Email

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 moreSend Additional WooCommerce Email

WooCommerce Auto Update Cart When Quantity Changes

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 WooCommerce Update Checkout Total with … Read moreWooCommerce Auto Update Cart When Quantity Changes

Product Tabs in WooCommerce

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