inercia Posted August 12, 2018 Share Posted August 12, 2018 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 More sharing options...
nikos83 Posted February 10, 2022 Share Posted February 10, 2022 Hi, @inercia You can try this /site/index.php?controller=cart%3fadd=1&id_product=77&qty=1 Link to comment Share on other sites More sharing options...
JBW Posted February 15, 2022 Share Posted February 15, 2022 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now