product_detail.php
OK, so I put the three elements into one <form> and that stopped the error message. However it did not take me to the cart.php page. I checked both redirects in the eCart Add from Recordset and both on the General and Bindings screens I entered Redirect to cart.php
Now when I manually go to cart.php the item has been added and the embroidery fee added with a line of text "Embroidery: Embroidery ($15)". For the color, there is just a number which I worked out is the ProductOptionID from the productoptions table of the database.
Screen grab attached.
How do I change it so the actual color is displayed? In the case of the Dog Leash: Blue, the Market Bag Set: Navy Blue and the iPad Briefcase: Black.
My next challenge is to only have options show if they are available for a specific product. For instance Embroidery is not available on everything and some products only come in one color.
Screen grabs attached showing the Long Bungee Dog Leash only comes in Blue and does not offer Embroidery.
Some guidance on how to achieve that on the detail page would be appreciated. Maybe there is a tutorial somewhere?
Thanks