'add to cart' button don't add a dynamic product to the cart. How to fix it?
hi. I have a dynamic website and trying to build a cart for it. It is happening on product details page, i added an 'add to cart' button a, but when i press it it redirects to the cart page and don't add anything, showing that the cart is empty. Can you help me to define what is wrong with the code and how to fix it?