Elvinas Posted July 12, 2021 Share Posted July 12, 2021 (edited) Hello everyone, Recently I just dived in learning PrestaShop module development, however I'm not able to find url endpoints for the cart, I want to create a module that displays mini cart so you can add, remove, update products from the cart using AJAX. Could anyone guide me where should I look for url endpoints to insert, update quantity, delete product from the cart? I also need to know what paremeters do I have to pass there. I was only able to find the url for adding a product to the cart which goes to /cart by sending these parameters: token: [generated_token] id_product: 20 id_customization: 0 qty: 1 Any help where I should be looking would be really appreciated. Edited July 12, 2021 by Elvinas Grammar (see edit history) 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