跳至內容
選單
此問題已被標幟

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
4
4月 25
9151
1
12月 23
1591
1
8月 23
2768
0
2月 24
6
0
7月 19
2942