Products Attributes

Open to all! Ask other shopowners for help.
Post Reply
Xpajun
Contributor
Posts: 187
Joined: Thu Mar 04, 2021 1:18 pm
Phoenix Version: v1.0.9.0
Has thanked: 3 times
Been thanked: 6 times

Products Attributes

Post by Xpajun »

Are products_attributes now sorted by options_value_id?
If so how do I now arrange them to suit my listings

(just when I worked out on 1.0.7.5 that the way they were in the data base controlled how the attributes were sorted on site)
Current Store is now running 1.0.9.0 - php 8.2.18
Now working on taking a short rest :D - php 8.2.18


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
burt
Core Team
Posts: 4561
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 423 times

Re: Products Attributes

Post by burt »

I'm pretty sure there is sort_order fields for options and values?
Admin > Catalog > Products Attributes
I am not here to build for you.
I am here to build with you. Let's help each other.
Xpajun
Contributor
Posts: 187
Joined: Thu Mar 04, 2021 1:18 pm
Phoenix Version: v1.0.9.0
Has thanked: 3 times
Been thanked: 6 times

Re: Products Attributes

Post by Xpajun »

burt wrote: Sun May 28, 2023 11:08 am I'm pretty sure there is sort_order fields for options and values?
Admin > Catalog > Products Attributes
I can only find in Admin > Catalog > Products Attributes sort order for options and values but what I'm looking for is value sort (priority) on Attributes so I can say that an option is not included in the price e.g. value = 32 Not Required - but you can add the following to your order for an extra price
value = 15 +2" TLE
value = 16 +3" TLE

Currently it will show as 15, 16, 32

On another product the following is required:
40 39 32 but on on the site it is 39 40 32

What I am saying is the option and certainly the value will rarely be in the same order on every product listing
Current Store is now running 1.0.9.0 - php 8.2.18
Now working on taking a short rest :D - php 8.2.18
User avatar
burt
Core Team
Posts: 4561
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 423 times

Re: Products Attributes

Post by burt »

Xpajun wrote: Sun May 28, 2023 1:49 pm What I am saying is the option and certainly the value will rarely be in the same order on every product listing
You'd definitely need to have that coded both in the admin side [for inputting the sort order] on the Attributes part of the page and in the shop side for displaying the attributes with the inputted sort order. That is, I think, not straightforward.

It's possible one of the Developers or another shop owner has done this already, but it's not something I've come across.
I am not here to build for you.
I am here to build with you. Let's help each other.
Xpajun
Contributor
Posts: 187
Joined: Thu Mar 04, 2021 1:18 pm
Phoenix Version: v1.0.9.0
Has thanked: 3 times
Been thanked: 6 times

Re: Products Attributes

Post by Xpajun »

burt wrote: Sun May 28, 2023 4:00 pm
Xpajun wrote: Sun May 28, 2023 1:49 pm What I am saying is the option and certainly the value will rarely be in the same order on every product listing
You'd definitely need to have that coded both in the admin side [for inputting the sort order] on the Attributes part of the page and in the shop side for displaying the attributes with the inputted sort order. That is, I think, not straightforward.

It's possible one of the Developers or another shop owner has done this already, but it's not something I've come across.
Thanks for your input Gary @burt
Current Store is now running 1.0.9.0 - php 8.2.18
Now working on taking a short rest :D - php 8.2.18


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