I’ve totally different view blocks that show a number of merchandise on the identical web page, every product has their very own attributes comparable to product bundle and customized line merchandise, these serves as an possibility set / standards of the principle product. The outcomes of the choices slider would be the worth of the customs line merchandise that’s hidden.
What I plan to perform is so as to add all these chosen merchandise with the chosen attributes on the cart on the identical time with only one button.
These are the strategies/modules I’ve tried:
- VBO + Guidelines : https://www.drupal.org/node/1468392#comment-10270105
- Commerce Add to Cart Extras
- Commerce Ajax Add to Cart + Jquery : Looping by all chosen merchandise then clicking the add to cart button by jquery. It really works however not that nice as a result of typically a few of the merchandise aren’t being added. Perhaps due to all of the ajax request working on the identical time?
The primary two strategies work for the principle product solely, no attributes of the customs line merchandise and bundle merchandise. I attempted together with the add to cart type within the view with the VBO or commerce product: amount subject of commerce add to cart extras nevertheless it would not work perhaps as a result of it is a type inside a type.
Does anybody have any suggestion on make this work?