I have the following problem:
I need to add products into the cart with for example:
http://host.com/checkout/cart/add?product=2&qty=5
I have tried to create a module to "catch" the GET request and to proceed some process and then to redirect the user to the checkout page
I have tried this solution:
Passing the Product id and form key but not adding to cart in magento2
But it doesn't work. Any ideas on how to make this work?
My Module Structure is Gep/Cartadd