Problem with overwrite checkout templates
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Problem with overwrite checkout templates
Hello,
I'm trying to overwrite templates from extension (ext/ai-client-html/client/html/templates/checkout/standard).
I've found that there are couple ways to do this, depends on aimeos version probably (I have 2021.04) and none worked for me.
Where exactly can I place for example file "delivery-body-standard.php", so aimeos could load it instead of original one (from path above)?
Could you please help me with that?
PS. I don't want it to be blade.php file.
I'm trying to overwrite templates from extension (ext/ai-client-html/client/html/templates/checkout/standard).
I've found that there are couple ways to do this, depends on aimeos version probably (I have 2021.04) and none worked for me.
Where exactly can I place for example file "delivery-body-standard.php", so aimeos could load it instead of original one (from path above)?
Could you please help me with that?
PS. I don't want it to be blade.php file.
Re: Problem with overwrite checkout templates
If you don't want to create a Blade template, there's only one way how to overwrite a PHP template. I assume you already created your own extension using the Aimeos extension generator: https://aimeos.org/extensions
Then, copy your modified file to ./ext/<yourext>/client/html/templates/checkout/standard/delivery-body-standard.php.
The path and file name must be exactly the same as in the ai-client-html extension.
Then, copy your modified file to ./ext/<yourext>/client/html/templates/checkout/standard/delivery-body-standard.php.
The path and file name must be exactly the same as in the ai-client-html extension.
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: Problem with overwrite checkout templates
Thanks, this worked!