Adding a checkbox the the checkout page is easy. However, making it alter the order totals via AJAX is whole different game. In this post I will show you a little trick which will simplify this rather difficult task.
Following my recent post regarding a JS function that Iv’e created in order to get variants prices based on 2d attributes values, Iv’e found a JS function which uses a WooCommerce JS event called
In the past weeks I’ve had the opportunity to work on several projects including modifying the design of a WooCommerce variable product.
While I could have probably completed all projects using WordPress hooks & actions, since some of them also needed some JS and CSS functionality, Iv’e decided to seek a different approach.
In this post, I will go over the pros and cons of using the WordPress Code Snippets plugin, WordPress child theme, and WooCommerce templates for modifying your WooCommerce website functionality.