Questions by URL and breadcrumbs
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!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Questions by URL and breadcrumbs
Hi,I installed demo shop aimeos-laravel. there is some questions.
1. URL category without nested tree.
/shop/category
click subcategory
/shop/subcategory
How to get URL (/shop/category/subcategory)?
2. I have not working breadcrumbs.
My local server behave like demo on laravel.demo.aimeos.org. I need so that breadcrumbs construct chain as on laravel.gigacommerce.aimeos.com.
1. URL category without nested tree.
/shop/category
click subcategory
/shop/subcategory
How to get URL (/shop/category/subcategory)?
2. I have not working breadcrumbs.
My local server behave like demo on laravel.demo.aimeos.org. I need so that breadcrumbs construct chain as on laravel.gigacommerce.aimeos.com.
Re: Questions by URL and breadcrumbs
It's possible but difficult because "/" is usually a separator for parameters and you have to convince Laravel that only those strings are part of the category name. You also have to make sure that they are always unique and must map them to the existing categories.
The much easier way would be to use "/shop/category-subcategory~123" similar to the existing setup. The category names are only for the user but the "123" is the real category ID. For this, you have to add the parent category names to the generated URLs here:
https://github.com/aimeos/ai-client-htm ... d.php#L122
The breadcrumbs are automatically generated if you have nested categories and the user clicks on one of them. If no category is selected, only "Your search result" is shown.
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
Re: Questions by URL and breadcrumbs
We've tried to suppress displaying the stage image in the detail view but that change had the consequence of breaking the breadcrumb in the detail view:
https://github.com/aimeos/ai-client-htm ... 15fbaf44bf
Now, we made a different kind of implementation for that.
Can you confirm that it's working for you too if you install
https://github.com/aimeos/ai-client-htm ... 15fbaf44bf
Now, we made a different kind of implementation for that.
Can you confirm that it's working for you too if you install
Code: Select all
composer req aimeos/ai-client-html:2020.10.x-dev
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
Re: Questions by URL and breadcrumbs
Yes, it works now, thanks!aimeos wrote: ↑28 Oct 2020, 17:06 We've tried to suppress displaying the stage image in the detail view but that change had the consequence of breaking the breadcrumb in the detail view:
https://github.com/aimeos/ai-client-htm ... 15fbaf44bf
Now, we made a different kind of implementation for that.
Can you confirm that it's working for you too if you installCode: Select all
composer req aimeos/ai-client-html:2020.10.x-dev
Re: Questions by URL and breadcrumbs
Appeared was another problemDinver wrote: ↑29 Oct 2020, 07:41Yes, it works now, thanks!aimeos wrote: ↑28 Oct 2020, 17:06 We've tried to suppress displaying the stage image in the detail view but that change had the consequence of breaking the breadcrumb in the detail view:
https://github.com/aimeos/ai-client-htm ... 15fbaf44bf
Now, we made a different kind of implementation for that.
Can you confirm that it's working for you too if you installCode: Select all
composer req aimeos/ai-client-html:2020.10.x-dev
1. I go to the page home(/) -> category page -> product page (breadcrumb: home -> category);
2. I returned page home, click product promotion section, breadcrumb save: home -> category. Although in category not of this product.
Re: Questions by URL and breadcrumbs
Don't really know what the problem is. Can you describe the steps based on the laravel.demo.aimeos.org site?
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
Re: Questions by URL and breadcrumbs
The #gigacommerce demo is a bit special and not the latest version.
I think the problem occurs because the new catalog/home component doesn't reset the session parameters for the breadcrumb.
I think the problem occurs because the new catalog/home component doesn't reset the session parameters for the breadcrumb.
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