Nice, but…
-
Just what I was looking for, though I had one problem. The jQuery script selected all “type=submit” buttons instead of a specific one that refreshes the cart. This was a problem because I have the cart and the checkout on the same page, which jumpstarted all address validation unprompted.
Solved it by changing line 2 in custom.js from:
var upd_cart_btn = jQuery(".cart_item").parents('form').find('[type="submit"]');
to:
var upd_cart_btn = jQuery(".cart_item").parents('form').find('[name="update_cart"]');
Otherwise, good stuff.
- The topic ‘Nice, but…’ is closed to new replies.