Using variables in payment email

Questions around the TYPO3 integration and plugins
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!
promptnet
Posts: 61
Joined: 24 Jul 2019, 12:22

Using variables in payment email

Post by promptnet » 23 May 2022, 12:12

Hi,
is it correct to use client.html.email.emailIntro and client.html.email.message in the scheduler TS config to change the payment email texts?
Is it possible to use variables in this texts? How can that be done?
I'd like to use the order number and the current date.
Thanks

User avatar
aimeos
Administrator
Posts: 7865
Joined: 01 Jan 1970, 00:00

Re: Using variables in payment email

Post by aimeos » 24 May 2022, 17:11

Which Aimeos version do you use?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

promptnet
Posts: 61
Joined: 24 Jul 2019, 12:22

Re: Using variables in payment email

Post by promptnet » 25 May 2022, 14:35

Sorry, I forgot that.
Aimeos: 20.10.11
TYPO3: 9.5.31 (will upgrade soon)

User avatar
aimeos
Administrator
Posts: 7865
Joined: 01 Jan 1970, 00:00

Re: Using variables in payment email

Post by aimeos » 26 May 2022, 11:12

There's no configuration to change the payment e-email intro and message but you can change them by adding your own translation. Here are the texts and there you can see also the available placeholders:
- https://github.com/aimeos/ai-client-htm ... #L509-L521
- https://github.com/aimeos/ai-client-htm ... #L535-L543

This is for the old 2020.10 version, in later versions this has been simplified and improved.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply