property in filter

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
GülsümAkça
Posts: 57
Joined: 20 Nov 2020, 13:30

property in filter

Post by GülsümAkça » 11 Feb 2021, 11:11

Can I show the properties of the product in filter? eg products under or over 5 kg.
thank you:)

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

Re: property in filter

Post by aimeos » 12 Feb 2021, 08:18

Not by default and you would have to extend the catalog/filter template and the client/html class to filter for those values.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
GülsümAkça
Posts: 57
Joined: 20 Nov 2020, 13:30

Re: property in filter

Post by GülsümAkça » 13 Feb 2021, 14:15

How can I get the max value of the property in addData() function

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

Re: property in filter

Post by aimeos » 15 Feb 2021, 10:42

Only by iterating over all products and that's not advisable so you should use some fixed categories like
- below 5 kg
- 5 to 10 kg
- above 10 kg
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply