Empty detail page

How to configure and adapt Aimeos based shops as developer
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!
heural
Posts: 58
Joined: 09 Jun 2022, 07:55

Empty detail page

Post by heural » 24 Aug 2023, 11:58

Hi Aimeos-Team,

is there a way to avoid the empty detail page (https://typo3.demo.aimeos.org/detail)
without a "default"-product configured in the catalog detail - plugin options?
Maybe a internal redirect, configurable would be perfect?

I tried with the typo3 redirects module but I afraid there is a bug or my understanding with this rule is wrong:
https://forge.typo3.org/issues/101739

Thank you!

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

Re: Empty detail page

Post by aimeos » 29 Aug 2023, 11:26

In Aimeos 2023.x versions, the exception is re-thrown if the item haven't been found:
https://github.com/aimeos/ai-client-htm ... hp#L45-L47

This should make it possible to catch the exception and show an appropriate page.
There's also at least one thread in the TYPO3 sub-forum where this has been discussed in the past.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply