Přejít na obsah
Menu
You need to be registered to interact with the community.
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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
4
dub 25
9151
1
pro 23
1591
1
srp 23
2768
0
úno 24
6
0
čvc 19
2942