Quote:
Originally Posted by tony_sologubov
Hi @Alex,
To achieve that try to submit the quantity form using JQuery, once you hit +/- button. X-Cart should catch this form submit and do that via AJAX, so you should get desired result.
If it does not work, try to add 'watcher' CSS class to your +/- buttons and remove form submit via JQuery.
Please, keep me posted about results.
Tony
|
I put this function jQuery('.update-quantity').submit(); and it works. But i have problem in quick view page if a product has variants because the script is executed for each element and this cause a problem with my increment value (i).