Skip to Content
Menu
This question has been flagged

Hi,


I'm trying to make a specific ecommerce where the users go trough different steps with different products. (One page for food, one page for drinks,...)


I managed to create a page with a list of product and I managed to get on each line the quantity buttons and the add to cart button by porting the form from the product page into each line.


Problem is, the buttons do nothing. If I add a "submit" button, the form works and add the correct product with its quantity to the cart but that won't start the add to cart animation nor updating the number of item on the cart icon without realoding the page.


How can I enable the javascript of these buttons on my page ? 


Thanks for your help !


Here is a picture of the page: https://ibb.co/NVfd962


And the code: https://pastebin.com/XVaN8q9H

Avatar
Discard
Related Posts Replies Views Activity
4
Feb 24
6437
1
Dec 23
536
1
Aug 23
1380
0
Feb 24
5
0
Jul 19
2199