add category name into product's url
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!
add category name into product's url
Hi!
Could you give me an idea how to add product's category name into the default product page URL?
I'd like to have http://127.0.0.1:8000/category_name/product_name/1
instead of
http://127.0.0.1:8000/shop/product_name/1
Could you give me an idea how to add product's category name into the default product page URL?
I'd like to have http://127.0.0.1:8000/category_name/product_name/1
instead of
http://127.0.0.1:8000/shop/product_name/1
Re: add category name into product's url
That's a bit difficult because you have to adapt the Laravel routing for that and add the category name in each URL as parameter. You also have to think about what's the category name if the product is assigned to several categories.
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