Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to put some code in the middle...


Guest

Recommended Posts

Posted

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?

Posted

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.

Archived

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

×
×
  • Create New...