Previous and next button not working.

Help for integrating the Laravel package
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!
pamirsawar
Posts: 15
Joined: 17 Aug 2022, 04:19

Previous and next button not working.

Post by pamirsawar » 24 Aug 2022, 07:05

Hello!

When I click on next or previous button, application takes me to wrong product url. Where endpoint has product label.
next-button-label.png
next-button-label.png (25.16 KiB) Viewed 2930 times
next-button-label2.png
next-button-label2.png (45.83 KiB) Viewed 2930 times
It should redirect to correct route. i.e not with the lable but SKU id.

User avatar
VirtualSpy
Advanced
Posts: 122
Joined: 05 Jul 2022, 07:55

Re: Previous and next button not working.

Post by VirtualSpy » 24 Aug 2022, 07:51

I was also facing this issue
Previous and Next option is not working

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

Re: Previous and next button not working.

Post by aimeos » 24 Aug 2022, 07:53

Set this configuration to an empty array if your product URL segments are not unique:
https://aimeos.org/docs/2022.x/config/c ... il/#filter

Then, the product ID will be part of the URL, identifying the product uniquely.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

pamirsawar
Posts: 15
Joined: 17 Aug 2022, 04:19

Re: Previous and next button not working.

Post by pamirsawar » 24 Aug 2022, 09:28

aimeos wrote: 24 Aug 2022, 07:53 Set this configuration to an empty array if your product URL segments are not unique:
https://aimeos.org/docs/2022.x/config/c ... il/#filter

Then, the product ID will be part of the URL, identifying the product uniquely.
Thanks!! adding this solved the issue.

Post Reply