FROM CACHE - en_header

Adding product to cart issues

AhmedDhk
New Member
3 0 0

Hello, i want to add a product to cart when clicking on the #tool-buy button but its not working and its seems like i dont even have the cart.js and the cart/add.js files

Capture d’écran 2021-02-18 232300.png

Replies 3 (3)
c10s
Shopify Partner
67 12 16

What error do you get?

Those endpoints are provided by Shopify so you don't need files for them.

AhmedDhk
New Member
3 0 0

got a 404 error :

{"status":"bad_request","message":"Parameter Missing or Invalid","description":"Required parameter missing or invalid: items"}
AhmedDhk
New Member
3 0 0