Nietypowy Informatyk Posted March 20, 2022 Share Posted March 20, 2022 Hi, I am working on a module, where the user can select some parameters etc. The last piece I am missing is how to add product to cart from my module. How should I do this? Bartek Link to comment Share on other sites More sharing options...
Ress Posted March 20, 2022 Share Posted March 20, 2022 Make an ajax to cartController with the following parameters: add: 1, action: update, token, id_product, id_product_attribute, qty 1 Link to comment Share on other sites More sharing options...
Nietypowy Informatyk Posted March 27, 2022 Author Share Posted March 27, 2022 Hi, thank you for your answer. Could you give me example with some code? Where to put files, where to look for some docs about that topic? 1 Link to comment Share on other sites More sharing options...
knacky Posted March 27, 2022 Share Posted March 27, 2022 (edited) Edited March 27, 2022 by knacky (see edit history) 1 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