Catalog filter with added product options
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!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- RahmouniRabii
- Posts: 6
- Joined: 15 Dec 2021, 08:57
Catalog filter with added product options
Hello,
I am using laravel 8.x, PHP 7.4, Ubuntu and the Aimeos 2021
Am new to Aimeos framework, i'm using laravel aimeos package to build a simple car rental app.
First, just to confirm what i have already checked in documentation :
Attributes are shared in products and options are specifics for each products, so
for ex, a car , Make (ex Mercedes-Benz) and Model (ex AMG GT) also Transmission (ex Automatic) must be attributes because they are shared with products.
And informations like Engine (ex 1.8L DOHC SFI 16-valve VVT-i) must be added as product OPTIONS , Right ?
My technical (dev) Question is : how to add products Options and Attributes in the catalog filter (the easy clean way please) ?
Thanks !
I am using laravel 8.x, PHP 7.4, Ubuntu and the Aimeos 2021
Am new to Aimeos framework, i'm using laravel aimeos package to build a simple car rental app.
First, just to confirm what i have already checked in documentation :
Attributes are shared in products and options are specifics for each products, so
for ex, a car , Make (ex Mercedes-Benz) and Model (ex AMG GT) also Transmission (ex Automatic) must be attributes because they are shared with products.
And informations like Engine (ex 1.8L DOHC SFI 16-valve VVT-i) must be added as product OPTIONS , Right ?
My technical (dev) Question is : how to add products Options and Attributes in the catalog filter (the easy clean way please) ?
Thanks !
Re: Catalog filter with added product options
Yes, attributes are shared and can be used for catalog filters while product properties are for one product only and are not used to build any filter. Your categorization of make, model and transmission and engine seems to be correct.
By default, all attribute types are listed in the catalog filter component (clear the cache with "php artisan aimeos:clear" or disable caching during development if not). To use only a subset of the attribute types as filters, you can configure them using this configuration setting:
https://aimeos.org/docs/2021.x/config/c ... ter/#types
By default, all attribute types are listed in the catalog filter component (clear the cache with "php artisan aimeos:clear" or disable caching during development if not). To use only a subset of the attribute types as filters, you can configure them using this configuration setting:
https://aimeos.org/docs/2021.x/config/c ... ter/#types
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
- RahmouniRabii
- Posts: 6
- Joined: 15 Dec 2021, 08:57
Re: Catalog filter with added product options
Thank you so much,
Just want to know for the default existing catalog filters, where they are configured ?
which file can i see this default config ?
Thankssss
Just want to know for the default existing catalog filters, where they are configured ?
which file can i see this default config ?
Thankssss
Re: Catalog filter with added product options
Check the Laravel section of the Aimeos docs for details:
https://aimeos.org/docs/latest/laravel/ ... figuration
https://aimeos.org/docs/latest/laravel/ ... figuration
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
- RahmouniRabii
- Posts: 6
- Joined: 15 Dec 2021, 08:57
Re: Catalog filter with added product options
Thanksssss !