Jump to content

How to put custom field to add to cart form


Recommended Posts

Hi All,

I wish to put custom field (from customization block) to add to cart form, so customer can save custom field and add product to cart with one click on Add to cart button.

I found that customers are confused when first have to click on Save custom field, and after that to click on Add to cart.

Do you have any idea how to do that?

Thanks!

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...
  • 3 months later...

It is not a matter of javascript in that function, it is a matter of hmtl positioning in the product.tpl file.

 

However, I cannot manage to make it work, since you cannot nest <form> tags in html, and the customization form would be nested into the add to cart form. Is there a fix to this? I really need it there because it is where it should go...

 

Anyone please help! thanks

Link to comment
Share on other sites

  • 11 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...