Sorting of property

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
derJu
Posts: 47
Joined: 22 Sep 2016, 13:54

Sorting of property

Post by derJu » 03 Jan 2017, 10:18

hi,

how can i sort the property's?

Code: Select all

plugin.tx_aimeos.settings.client.html.catalog.detail.additional.property.standard {
  0 = property-01
  1 =  property-02
  2 = property-03
}
best regards
derju

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

Re: Sorting of property

Post by aimeos » 03 Jan 2017, 15:05

There's currently no sorting from the database:
https://github.com/aimeos/ai-client-htm ... d.php#L272

You should copy the template and sort the property items as you need them before generating the HTML:
https://github.com/aimeos/ai-client-htm ... efault.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

derJu
Posts: 47
Joined: 22 Sep 2016, 13:54

Re: Sorting of property

Post by derJu » 18 Jul 2017, 17:29

The properties in the details page are not reflected in the live order as in the backed. This is only after the upgrade to the latest version 2017.07. How can i adjust this?

best regards

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

Re: Sorting of property

Post by aimeos » 19 Jul 2017, 10:19

Sorting the product properties is done in the template and it depends if your template does the same:
https://github.com/aimeos/ai-client-htm ... lt.php#L83
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

derJu
Posts: 47
Joined: 22 Sep 2016, 13:54

Re: Sorting of property

Post by derJu » 19 Jul 2017, 10:38

Thank you for the reference!

Post Reply