d73e7e4f9d
* Don't add shipping zone debug message when doing ajax Prevent an issue where the "Customer matched zone" debug message is shown twice after first selecting a shipping method and then changing a product's quantity in cart and clicking Update cart. * Don't pass event object to cart.update_cart Prevent accidentally preserving cart notices when `wc_update_cart` event is triggered on body. If the event object is passed to update_cart() as the first param, it evaluates to true, forcing existing notices to be preserved. * Pass custom arguments to cart.update_cart() Instead of simply not passing the event object, pass any custom arguments, so it's possible to do something like: $( body ).trigger( 'wc_update_cart', true ); to still preserve notices if needed. |
||
---|---|---|
.. | ||
css | ||
fonts | ||
images | ||
js |