Sorting of variant attributes

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
iresults
Posts: 18
Joined: 28 Aug 2020, 13:36

Sorting of variant attributes

Post by iresults » 28 Aug 2020, 13:56

How can variant attributes be sorted individually? I have set the position in the Attribute Types. But this value has no effect.

See attached Screenshot.

TYPO3 9.5.20
Aimeos 20.7.1
PHP 7.2.33
Attachments
attributes.jpg
attributes.jpg (52.96 KiB) Viewed 1773 times

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: Sorting of variant attributes

Post by aimeos » 29 Aug 2020, 08:39

That depends a bit on the environment. If you use TYPO3, the order of the attribute types is determined by the order of the chosen attribute types in the catalog filter flexform. Otherwise, you can set the order by using:
https://aimeos.org/docs/Configuration/C ... bute/types
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

iresults
Posts: 18
Joined: 28 Aug 2020, 13:36

Re: Sorting of variant attributes

Post by iresults » 31 Aug 2020, 09:43

Many thanks for the answer. However, my question refers to the Detail view of a product (in the area where a product variant can be selected), not to the Filter.

Is there also a possibility to define the order in the Detail view?

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: Sorting of variant attributes

Post by aimeos » 31 Aug 2020, 13:47

At the moment, the variant attribute types are sorted by attribute type code. You can use codes like "01_volume" so they are sorted accoring to your needs.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

iresults
Posts: 18
Joined: 28 Aug 2020, 13:36

Re: Sorting of variant attributes

Post by iresults » 31 Aug 2020, 14:44

Many thanks for the answer.

In this case there is no possibility to adjust the sorting afterwards? If I change the code of the attribute, all links in the products are lost.

Where would the code need to be adjusted?

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: Sorting of variant attributes

Post by aimeos » 31 Aug 2020, 14:57

Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply