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.