Discussions

Default product display

Hello,
I'm new to the Commerce module and I need some hints about this :

I have created a product type Tshirt with variations on Size and Color. I have created all the fields, everything works fine, the user can choose the size and color on the product display.
But, by default when the user load the page, it displays the first product (ie Tshirt Red Small).
Is there a way to set a default display which is not a product (for example a default image with all tshirt colors, and both options Size and Color set to "Choose").

I hope you understand what i need :)

Thanks !

Posted: Nov 23, 2011

Comments

Netek on November 24, 2011

Thanks for your answer, i made the changes but i don't see how it helps me on my problem. Maybe you didn't understand what i want ^^

So here are some more explanations :

I have a product Tshirt with 2 Colors Red and Blue and 2 Sizes Small and Large
When the user open the product page, he can choose the Color and Size.
So here is my problem : By default, the product Red Small is displayed.
I don't want any product to be displayed by default, i want a "custom" default page, and when the user choose the options Color and Size THEN it display the corresponding product.

Thanks

rfay Randy Fay on November 24, 2011

If you want to display all variations, perhaps you want a view of products, with add-to-cart fields and an argument that selects the correct ones by some field instead.

Netek on November 24, 2011

No i don't want to display ALL variations, but NONE.
This is what i want : when the user click on the product, no variation is displayed until he select a color and size but a default "home" product page.

kiwimind on January 4, 2012

Did you get anywhere with this? I'm after something similar that doesn't show any options as being selected. My issue is to ensure that if the default item is out of stock that it doesn't appear that the whole product listing is out of stock, just the one with that attribute...

neubreed on May 14, 2012

I am also frustrated with this .. How do you make the display node start with a "none" or "Please choose" option?

Switching to radios auto selects the product half way down the list.. see my attachment. Also how do we reorder this list?