Replacing the body-standard template

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
cnoelker
Advanced
Posts: 140
Joined: 20 Feb 2016, 18:21

Replacing the body-standard template

Post by cnoelker » 21 Aug 2020, 14:16

Hello,
I need to replace the template-body of the basket. According to the documentation
https://aimeos.org/docs/Configuration/C ... plate-body

I set this in the TypoScript:
plugin.tx_aimeos.settings.client.html.basket.standard.template-body = basket/standard/body-statistics

The file is names body-statistics.php and it is available at the referenced location. However, the file is ignored. What's wrong?

For a test, I renamed the file to body-standard.php in the same directory. This works.

However, I want to keep the default basket and provide an additional statistics view. Therefore, the second template file is needed.

Claudia

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

Re: Replacing the body-standard template

Post by aimeos » 21 Aug 2020, 19:44

You've left out one ".standard" part in the path if you compare the string in the documentation with yours.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

cnoelker
Advanced
Posts: 140
Joined: 20 Feb 2016, 18:21

Re: Replacing the body-standard template

Post by cnoelker » 22 Aug 2020, 09:46

Oh, two ".standard" in there! Thank you, I overlooked that one.

Post Reply