Override checkout template-header
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!
Override checkout template-header
Hello, i would like to style my checkout and basket UI.
I followed the instructions in the documentation, but i am struggeling to get any result.
The standard functionallity is working, but the override is not.
Environment: Typo3 11.5.17, PHP 7.4
Steps done:
I just want to override the css (prevent the aimeos standard css) in the frontend. What am i doing wrong?
Es kann auch in Deutsch geantwortet werden
I followed the instructions in the documentation, but i am struggeling to get any result.
The standard functionallity is working, but the override is not.
Environment: Typo3 11.5.17, PHP 7.4
Steps done:
- Created and installed an extension, according to the documentation
- Created subfolder structure and copied the original checkout source files from vendor/aimeos/ai-client-html into
Code: Select all
./aimeos_ext/Resources/Private/Extensions/aimeos_ext/templates/client/html/checkout/standard
- Renamed the header.php to header-ext.php
- Inserted config in the pi_flexform of the checkout-plugin
Code: Select all
client.html.checkout.standard.template-header = checkout/standard/header-ext
- Commented out the link-tags in the file to prevent css loading
- added a html comment to be displayed
I just want to override the css (prevent the aimeos standard css) in the frontend. What am i doing wrong?
Es kann auch in Deutsch geantwortet werden
Re: Override checkout template-header
As your path in the template directory of your extension is "templates/client/html/checkout/standard", the correct configuration is relative to this directory:
Code: Select all
client.html.checkout.standard.template-header = client/html/checkout/standard/header-ext
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