basket-standard
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!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
basket-standard
Hello,
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.
Claudia
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.
Claudia
Re: basket-standard
Not only the same template is used but it's in fact the basket rendered by the basket page:
https://github.com/aimeos/ai-client-htm ... #L936-L947
You can add your button to the template, hide it by default and display it by overwriting the Javascript method.
https://github.com/aimeos/ai-client-htm ... #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 Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: basket-standard
Thanks, then I will use some JavaScript magic and hide and show the content.