I have a store where the configurable products have size and color as configurable attributes. The issue i am having is on the product view page, the size dropdown is set to be the first to appear and dependent on the size, the color is displayed in the dropdown. How can i switch it the other way round, so that i choose color first and then size?

  • As a templating option, you might be able to just override vendor/magento/module-configurable-product/view/frontend/templates/product/view/type/options/configurable.phtml to move the color attribute to the top of $_attributes, but I'm not really too sure if that will effect the functionality like you're looking for (can't test right now) Jan 8, 2020 at 9:20
  • I was wondering, is not the configurable attributes controlled by the position? I tried changing the positions, but still does not solve the issue.
    – Marguerita
    Jan 8, 2020 at 10:03

1 Answer 1


From the backoffice, on product page, in "Configurations" tab.

You can click on "Edit Configurations".

Click on "Next" to go to "Attribute Values" step.

Then you can choose order attribute position by drag and drop.

This site is temporarily in read-only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .