Filter by attribute_name

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!
santfather
Posts: 27
Joined: 02 Feb 2022, 10:43

Filter by attribute_name

Post by santfather » 25 Apr 2022, 14:55

Laravel version: 8.80
Aimeos version: 2021.10
PHP version: 8.0.8

The product contains more than 10 attributes. All of these attributes are visible in the Catalog filter. For work, I need only one - a brand. How can I display only one attribute that I need in the filter?
p.s. transferring attributes to hidden ones is not suitable.
thanks in advance for your reply

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

Re: Filter by attribute_name

Post by aimeos » 26 Apr 2022, 13:31

Use this configuration and add the code of your brand attribute type:
https://aimeos.org/docs/2021.x/config/c ... ter/#types

Then, only that attribute type will be displayed in the catalog attribute filter.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

santfather
Posts: 27
Joined: 02 Feb 2022, 10:43

Re: Filter by attribute_name

Post by santfather » 26 Apr 2022, 13:51

Thank you for your help.

santfather
Posts: 27
Joined: 02 Feb 2022, 10:43

Re: Filter by attribute_name

Post by santfather » 16 May 2022, 13:30

Screenshot_75.png
Screenshot_75.png (4.91 KiB) Viewed 1121 times
good afternoon. with these settings shop.php everything works fine on the local machine. when transferring to AWS, the online store version behaves strangely. the "colour" and "size" attributes work together, when adding "brands_name" attributes, the filter outputs only it. if you remove "brands_name", the filter outputs "colour" and "size". settings shop.php the same.
tell me what could be the problem? all attributes are created, product cards contain them in the characteristic tabs. I repeat that it works correctly on the local machine. also tested by colleagues on their local machines

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

Re: Filter by attribute_name

Post by aimeos » 17 May 2022, 14:44

Strange behavior but we have no clue why it behaves differently on AWS.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply