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

0 Likes
c10s
Shopify Partner
15 2 3

What error do you get?

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

0 Likes
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"}
0 Likes
AhmedDhk
New Member
3 0 0