I installed using no demo content, then, from the products listing page, added a product (display). I added two variations. One blue/small, one large/green, both have images. Only the first variation shows up, and using the color selector doesn't change the variation display. The size selector only shows one size, even though there are two variations.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

robertDouglass’s picture

Confirmed that changing the order of the variations will lead to displaying a different variation (the first one in the list, as opposed to the first one uploaded)

robertDouglass’s picture

I now understand that the relationship of variations to pictures is 1:n, so ignore the bit about the pictures not showing up. The bug still remains that the color variations and size variations don't seem to work properly.

GuGuss’s picture

Assigned: Unassigned » Haza
Issue tags: +beta blocker
robertDouglass’s picture

Title: Only one variation shows up on the product page » [No Demo Store] Only one variation shows up on the product page
Haza’s picture

Status: Active » Needs review
FileSize
26.94 KB

Re-exported the feature that handle that seems to fix that. Another mystery from features ? ;)

product_variation.jpg

I've uploaded the change on gerrit, please test.
https://code.drupalcommerce.org/272

GuGuss’s picture

Works fine in both with and without demo content !

bojanz’s picture

Status: Needs review » Fixed

Merged.

Automatically closed -- issue fixed for 2 weeks with no activity.