problem with adding to cart #15853
Unanswered
patrykr124
asked this question in
Deployment
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey!
I've been struggling with this for a few days now and can't seem to figure it out....
Specifically, I'm concerned with the ability to add products to the cart using the + icon and to remove the product using - in the section on the page.
I do not want to use a separate subpage for the product just to create ala calculator, the products are saved as a list, (I attach a picture)
Would you be able to advise me? my code...
Product list component -
Cart.ts in pages/api -
GRAPHQL -
I have a 500 error...
thx!
Beta Was this translation helpful? Give feedback.
All reactions