Overwrite pdf file for order confirmation
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!
Overwrite pdf file for order confirmation
Hi,
I tried to overwrite the file which creates the pdf for the order confirmation.
There is an aimeos_extend extension and the file which creates it is the pdf.php in job package.
So I copied it to path "/aimeos_extend/Resources/Private/Extensions/aimeos_extend/templates/order/email/payment/pdf.php" - nothing happend.
Can you tell me what my mistake is?
Thank you & best regards
________
PHP 7.4
aimeos-typo3: 22.4.3
aimeos-core: 2022.04.7
I tried to overwrite the file which creates the pdf for the order confirmation.
There is an aimeos_extend extension and the file which creates it is the pdf.php in job package.
So I copied it to path "/aimeos_extend/Resources/Private/Extensions/aimeos_extend/templates/order/email/payment/pdf.php" - nothing happend.
Can you tell me what my mistake is?
Thank you & best regards
________
PHP 7.4
aimeos-typo3: 22.4.3
aimeos-core: 2022.04.7
Re: Overwrite pdf file for order confirmation
That's correct. Did you activate your aimeos_extend extension in the ExtensionManager?
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: Overwrite pdf file for order confirmation
Yes sure. We already did a lot of customizations.
Re: Overwrite pdf file for order confirmation
The configured template directories in the generated extensions are:
Therefore, copy the template to
Code: Select all
'template' => [
'admin/jqadm/templates' => [
'templates/admin/jqadm',
],
'admin/jsonadm/templates' => [
'templates/admin/jsonadm',
],
'client/jsonapi/templates' => [
'templates/client/jsonapi',
],
'client/html/templates' => [
'templates/client/html',
],
'controller/jobs/templates' => [
'templates/controller/jobs',
],
],
Code: Select all
/aimeos_extend/Resources/Private/Extensions/aimeos_extend/templates/controller/jobs/order/email/payment/pdf.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
Re: Overwrite pdf file for order confirmation
That works! Thank you.