cancel
Showing results for 
Search instead for 
Did you mean: 

Configurable product attribute sort order?

Configurable product attribute sort order?

I am testing out import a product as I will be setting up quite a large amount of skus.

everything is working on this one configurable product I am testing on which has 15 skus.

The issue I have is, that the order the skus were imported is not correct. so the sizing is being displayed out of order to the user.

This is due to the way I imported the skus no doubt. but I figured no big deal I will just set the position of the attributes and surely that would work!?

But nope it seems to have no effect on the order of the attributes on the configurable product page.

Is this normal magento behaviour or something to do with my theme?

15 REPLIES

Re: Configurable product attribute sort order?

If you're talking about the attribute options in a dropdown, then you'll need to edit the attribute directly. The ordering is done in the same location that you specify the labels for the attribute options.

 

If you're talking about the ordering of the dropdowns themselves, then you'll need to use the "attribute set" editor to reorder the attributes.

 

lastly, you have the custom attributes on a product, so which kind of attributes are you talking about?

Enterprise Architect

800-207-1221
https://merchantprotocol.com

Magento Extension Developers

Re: Configurable product attribute sort order?

I have the attributes being displayed as swatches. 

 

the attributes I am trying to sort are alpha sizes. ex: S, M, L, XL, 2XL, etc. 

 

I have added the order numbers to the attribute options but they have no effect on the sorting of the swatches, or if I change back to dropdowns no effect on the sorting of them within the dropdown either. 

 

This is a configurable product so its really about sorting the simple products more so than the attributes I guess?

 

Right now it is sorting by product ID. 

Re: Configurable product attribute sort order?

Unless your theme has been modified it wasn't designed to sort by the product IDs of simple products. Can you post a screenshot of the attribute labels, attribute code and then send me a link to the page in question.

Enterprise Architect

800-207-1221
https://merchantprotocol.com

Magento Extension Developers

Re: Configurable product attribute sort order?

Re: Configurable product attribute sort order?

here is one with the attribute label: 

 

http://i.imgur.com/7R00Kx6.png

Re: Configurable product attribute sort order?

I would suspect that the problem would be with your theme. Can you disable your theme and enable the default magento theme and then screenshot these swatches for me.

Enterprise Architect

800-207-1221
https://merchantprotocol.com

Magento Extension Developers

Re: Configurable product attribute sort order?

I contact the developer of the theme to see if it was related and was informed that it is actually a bug in magento. 

 

This is actually consistent with what I have been reading online. The developer also linked me to this http://stackoverflow.com/questions/27270918/magento-1-9-1-not-sorting-configurable-product-attribute...

Re: Configurable product attribute sort order?

Alright perfect! Based off of the solution offered at stackexchange I've created the patch file for you and a step-by-step guide to apply it. It's super easy, just click here: Sorting Configurable Product Attribute Options and Dropdowns

Enterprise Architect

800-207-1221
https://merchantprotocol.com

Magento Extension Developers

Re: Configurable product attribute sort order?

wow incredible. Thanks so much. Trying it shortly.