Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to put some code in the middle...


Guest

Recommended Posts

I must be doing something wrong, whenever I try to insert a bit of code in "product_info.php" (actually a form in javascript) I get the form working fine but it disables the action of my "add to cart button"...

Why does this happen?

Link to comment
Share on other sites

You cannot have a form inside a form.

 

You have to have the one form draw completely before the next form draws other wise the submit gets confused and breaks one or the other.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...