custom payment mail
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!
custom payment mail
Hi,
I'd like to customize the standard payment mail.
I copied html.php
from: vendor/aimeos/ai-controller-jobs/templates/order/email/payment
to: packages/<my-extension>/templates/order/email/payment/html
and adapted to my requirements.
in shop.php:
Unfortunately my new html.php is not taken into account. (cache already cleard etc.)
When I copy html.php to vendor/aimeos/ai-controller-jobs/templates/order/email/payment it is working as expected - so the html.php is fine.
Whats wrong?- Why is the html.php not recognized in my extension directory? Also tried without /html subdirectory, but no effect.
Thank you
I'd like to customize the standard payment mail.
I copied html.php
from: vendor/aimeos/ai-controller-jobs/templates/order/email/payment
to: packages/<my-extension>/templates/order/email/payment/html
and adapted to my requirements.
in shop.php:
Code: Select all
'controller' => [
'jobs' => [
'order' => [
'email' => [
'payment' => [
'template-html' => 'order/email/payment/html',
],
],
],
],
],
]
Unfortunately my new html.php is not taken into account. (cache already cleard etc.)
When I copy html.php to vendor/aimeos/ai-controller-jobs/templates/order/email/payment it is working as expected - so the html.php is fine.
Whats wrong?- Why is the html.php not recognized in my extension directory? Also tried without /html subdirectory, but no effect.
Thank you
Re: custom payment mail
The controller/jobs templates must be in "packages/<my-extension>/templates/controller/jobs/order/email/payment/html" if you don't change their location in the manifest.php file of your 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: custom payment mail
manifest.php is unchanged:
ok, I put html.php in
/packages/<my-extension>/templates/controller/jobs/order/email/payment/html
but no effect - still template form vendor/aimeos/ai-controller-jobs/.. is used
I flushed cache with:
anything missing?
Code: Select all
'controller/jobs/templates' => [
'templates/controller/jobs',
],
/packages/<my-extension>/templates/controller/jobs/order/email/payment/html
but no effect - still template form vendor/aimeos/ai-controller-jobs/.. is used
I flushed cache with:
Code: Select all
php artisan config:cache
php artisan config:clear
php artisan aimeos:clear
Re: custom payment mail
It's only:
Code: Select all
/packages/<my-extension>/templates/controller/jobs/order/email/payment/html.php
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