Page 1 of 1

Sorting of property

Posted: 03 Jan 2017, 10:18
by derJu
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

Re: Sorting of property

Posted: 03 Jan 2017, 15:05
by aimeos
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

Re: Sorting of property

Posted: 18 Jul 2017, 17:29
by derJu
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

Re: Sorting of property

Posted: 19 Jul 2017, 10:19
by aimeos
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

Re: Sorting of property

Posted: 19 Jul 2017, 10:38
by derJu
Thank you for the reference!