Product variation (ajax) loose selection
Hi,
I'm building a shop with multiple variations, for instance, I have 3 colors, 3 shapes and 3 sizes.
When I select color 2, and shape 3. everything is ok. Then I change the color again to color 1 and I loose the information about shape 1 I selected.
I saw the same "problem" in kickstart 2 in the Women's Tee page :
Change the color, then change the size. then change the color again. The size is lost...
Is there a solution for this problem ?
Thanks for answers
Comments
I have exactly to same
I have exactly to same problem. And I guess the problem is discussed at https://drupal.org/project/issues/commerce_fancy_attributes?categories=All
Seems like next code in your
Seems like next code in your own module should work.
function yourmodule_form_commerce_cart_add_to_cart_form_alter(&$form, &$form_state) {
$form_state['rebuild'] = TRUE;
}
Edit: it doesnt work :s