View Single Post
  #4  
Old 06-19-2018, 01:43 AM
 
Soptareanu @Alex Soptareanu @Alex is offline
 

Advanced Member
  
Join Date: Apr 2018
Posts: 39
 

Default Re: Changes in View Cart

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).
Attached Thumbnails
Click image for larger version

Name:	capture_3.PNG
Views:	96
Size:	131.7 KB
ID:	5168  
__________________
Soptareanu Alex
Reply With Quote