Tags/topics: 
2
Answers
Vote up!
1
Vote down!

Display product variation as specify product on the list

Hello everyone!
I'm building an e-commerce site with drupal commerce. I have a question about product variation and need your help:
I have a "Product" with variation, example:
Product A:
- 3 pieces/box price 12$
- 12 pieces/box price 36$
I created a product display for it, so in product detail page, i saw a select box with: 3 pieces and 12 pieces for user to select the item that they want.
The problem is: when i display product on list using views, i saw it only display Product A and select box. Hmm, i want to display it as 2 specify product, so user can add it to cart directly. But when user click on each product to view detail, they will be move to product detail page with select box. When they click on Product A 3 pieces, the 3 pieces/box will be selected and if they click on Product A 12 pieces, the 12 pieces/box will be selected. I think it's more user friendly. I tried, but there is no luck on this case.
I would like to get help from you. Thank you very much!

Asked by: Anthony King
on August 17, 2012

Comments

Did you manage to get it working with correct product URLs (and using views)?

- mitrpaka on August 12, 2013

2 Answers

Vote up!
0
Vote down!

You can either create a view that only shows products with an add-to-cart button for each product, or you can create a view like you described where the user is taken to a detail page with no "default" configuration selected. If you want a default canonical link that will "setup" the product page, that is a major feature request:

http://drupal.org/node/1082596

Josh Miller
Answer by: Josh Miller
Posted: Sep 6, 2012
Vote up!
0
Vote down!

Another option is creating a view with a list of product display nodes, and selecting "rendered entity" or "content" as style of view

Answer by: Anonymous (not verified)
Posted: Oct 31, 2012