Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.5
Component:
Product reference
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2013 at 13:08 UTC
Updated:
25 Oct 2018 at 03:02 UTC
Jump to comment: Most recent
Comments
Comment #1
rszrama commentedPer the issue submission guidelines, we handle support requests at http://www.drupalcommerce.org/questions to improve discoverability (answers quickly get lost in the issue queue). If you can repost your question there, I'd be happy to assist. Just put a link in a follow-up comment here and I'll follow it.
Comment #2
richard.french commentedMy apologies. Here is the question reposted http://www.drupalcommerce.org/questions/7654/changing-order-product-vari...
Comment #3
rszrama commentedThanks, Richard! I'll go try an answer. : )
Comment #4
millionleaves commentedI keep finding this issue page when trying to solve a problem where product variations are not sorting correctly. The answer for me isn't here or at the Drupal Commerce website. I'm adding my solution here in case it helps anyone else in the future.
In my case, the variations all have a size assigned to them. The size options are defined in a vocabulary called Size. The variations in the Add to Cart form are sorted according to the order (weight) of the terms in that vocabulary. If the terms aren't in alphabetical order, then they will appear to be out of order in the Add to Cart form. Sorting the terms alphabetically fixes the problem.