PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I have a product page that sends to a product detail page, The detail page also has all other products from the catagory.. The problem is when they land on the page it shows their selected product but in order for the information to pass to the cart they need to select the product first, even though they are already on the page (because there are other produts there) at present if they do not choose their product and just hit select it sends them to a blank page. i need to to prompt and say " please select design first)
Last edited by Benjamin on Thu Sep 27, 2012 3:23 pm, edited 1 time in total.
Reason:Added [syntax=php||htm||css||javascript||sql||etc] - Please use [syntax] tags when posting code in the forums! Thanks.
jonnyfortis wrote:I have a product page that sends to a product detail page, The detail page also has all other products from the catagory.. The problem is when they land on the page it shows their selected product but in order for the information to pass to the cart they need to select the product first, even though they are already on the page (because there are other produts there) at present if they do not choose their product and just hit select it sends them to a blank page. i need to to prompt and say " please select design first)
<input type="image" src="images/add.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online." />
so if the user just tries to add to cart they get another alert saying you need to select the design and size. or you need to select the size if they have selected the design
<input type="image" src="images/add.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online." />
so if the user just tries to add to cart they get another alert saying you need to select the design and size. or you need to select the size if they have selected the design