Selecting the order that Attributes display in

Open to all! Ask other shopowners for help.
Post Reply
User avatar
Portman
Contributor
Posts: 158
Joined: Mon Mar 08, 2021 1:04 am
Phoenix Version: v1.0.8.20
Has thanked: 29 times
Been thanked: 4 times

Selecting the order that Attributes display in

Post by Portman »

Hi all,

I always thought that attributes showed up in the list based on what order you added them in admin, but I am noticing that they are showing up in a random order on the shopfront.

Is this the case for everyone - or have I inadvertently done something to stuff this up. Is there a way around it that I just don't know about.

Thanks


Join The Code Co-op to get access to your library in the Code Co-op Forum
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: Selecting the order that Attributes display in

Post by ecartz »

There's a sort order now -- so enter the correct sort order when adding the option name or value (depending on what you are ordering). Prior to that, they were ordered by name. A long time ago, they were ordered by insertion order.

Attributes Guide
User avatar
Portman
Contributor
Posts: 158
Joined: Mon Mar 08, 2021 1:04 am
Phoenix Version: v1.0.8.20
Has thanked: 29 times
Been thanked: 4 times

Re: Selecting the order that Attributes display in

Post by Portman »

Cool, that must be in a newer version than I am running - I will be doing the upgrade soonish - looking forward to it.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply