lukgoh |
|
||||
---|---|---|---|---|---|
This problem is driving me insane trying to solve it. I will try my best to explain. I am trying to build a shopping cart. Categories and products are built with php and each item has an "add to cart" button. I have a single hidden form and js to submit the form. This method works really well for the shopping cart or shop.cart.php (for updating quantities or deleting items) but for some reason it doesn't work at all on shop.main.php it only redirects me to index.php?productid=1&command=add when trying to add items. I have tried everything I can think of.
That is a snippet of my shop.main.php but its the only part that isn't working properly.
from the tpl.
Any help would be much appreciated! Luke. |