Jump to content

URL with the parameters to add to Cart a custom field


Recommended Posts

Hello everyone, I have a big doubt and I can not find an answer on the network.

Can I create a button with the parameters to add a custom field?

Example:

this URL:  index.php?Controller=cart?Add=1&id_product=1

Add to cart a product with id numer 1 and with 1 for quantity.

And i need a URL to add a custom field to.

I try this: index.php?controller=cart?add=1& id_product=1&id_customization=1

Saves it in database, but the personalization data is in other tables and unknow the parameters to use.

Please i need a solution for version 1.6 or 1.7

Thank you

Link to comment
Share on other sites

  • 3 years later...

You are anwering to a very old question. In fact you can't add a customization in the cart in one step as this is handled by the product controller and the the cart controller. I have developed a module that can add customized products into the cart by using only the add-to-cart button (see signature below)

Link to comment
Share on other sites

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...