Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3/Flow, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Posts: 69
Joined: 20 Feb 2016, 18:21


Post by cnoelker » 30 Oct 2019, 20:07

the same file client/html/templates/basket/standard/body-standard.php is used both for the basket in the popup (after placing an article into the basket) and also, if the user visits the basket page.

I need to display different output for the two cases, e.g. for displaying an additional button only on the popup. How can I achieve this?
Is there a place where I can set the name of the included files?
Or is there a variable which I can check?
If nothing else works, I'd use some JavaScript magic. But I'd really like to do it properly.

User avatar
Posts: 3636
Joined: 01 Jan 1970, 00:00

Re: basket-standard

Post by aimeos » 31 Oct 2019, 09:03

Not only the same template is used but it's in fact the basket rendered by the basket page: ... #L936-L947

You can add your button to the template, hide it by default and display it by overwriting the Javascript method.
Professional support and custom implementation are available at
If you like Aimeos, Image give us a star

Posts: 69
Joined: 20 Feb 2016, 18:21

Re: basket-standard

Post by cnoelker » 31 Oct 2019, 20:25

Thanks, then I will use some JavaScript magic and hide and show the content.

Post Reply