Jump to content

Add multiple products to cart WITHOUT javascript


Recommended Posts

Hi,

 

I'm trying to enable inside the cartController a method for adding multiple products (by ID) into the cart when submitted.

 

The cartController is able to detect multiple id_products from an array of desired products to be added to the cart but this is where I get stuck.

 

The only support on this subject is my using AJAX, but we want to be able to support non-Javascript users and also control this in the controller and not the view (like the AJAX approach does).

 

What's the best way of going about this?

 

 

Many thanks.

 

Link to comment
Share on other sites

×
×
  • Create New...