Catalog filter
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!
-
- Posts: 28
- Joined: 21 May 2019, 09:52
Catalog filter
Is it possible to write my own routes/urls for search or other filters.
Rather than I want to create a URL like
Rather than
Code: Select all
../list?f_attrid[0]=332&f_name=abc&f_catid=279
Code: Select all
list?company_id=332&cat_name=lanyards&cat_id=279
Last edited by Harpal Singh on 29 Oct 2019, 08:05, edited 1 time in total.
Re: Catalog filter pretty urls
You can adapt the Laravel routes:
https://aimeos.org/docs/Laravel/Custom_routes
But to change the parameter names (e.g. from f_catid to cat_id) you would need to change the templates and the HTML client classes that process the parameters.
https://aimeos.org/docs/Laravel/Custom_routes
But to change the parameter names (e.g. from f_catid to cat_id) you would need to change the templates and the HTML client classes that process the parameters.
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
-
- Posts: 28
- Joined: 21 May 2019, 09:52
Re: Catalog filter
Code: Select all
../list?f_attrid[0]=332&f_name=abc&f_catid=279
Thanks
Re: Catalog filter
You can try to change the Laravel router behavior in some way to transform array parameters differently when generating and resolving URLs.
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