[support] Drupal 7 Commerce Best way to create a product grid

techlists at phpcoderusa.com techlists at phpcoderusa.com
Sun Jul 13 16:44:57 UTC 2014


Hi,

I would like to create a simple grid like a spreadsheet that would 
contain about 20 products and the quantity for each can be added on it's 
line and the entire form submitted and added to the cart.

The layout would be something like this:


-----------------------------------------------------
Product      |  QTY                                 |
-----------------------------------------------------
Product 1    | <input type="text" name="Product_1"> |
-----------------------------------------------------
Product 2    | <input type="text" name="Product_2"> |
-----------------------------------------------------
                                             <submit>

I was thinking of a view then I started thinking of using the webform 
module.

This is Drupal 7 commerce and I would need the submit button to be the 
trigger for adding the products to the cart.

Your suggestions are much appreciated!!

Thank you for your help!!

Keith



More information about the support mailing list