Language Support for Scheduler Task
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!
Language Support for Scheduler Task
hi there.
how is it possible to add language support to the scheduler task in order to attach different pdf-files to the payment mails.
conditions do not work here.
eg.
TYPO3 8.7.27
Aimeos 18.10.9
cheers
how is it possible to add language support to the scheduler task in order to attach different pdf-files to the payment mails.
conditions do not work here.
eg.
Code: Select all
client.html.email {
payment.attachments {
0 = AGB.pdf
}
}
[globalVar = GP:L = 1]
client.html.email {
payment.attachments {
0 = AGB_EN.pdf
}
}
[global]
Aimeos 18.10.9
cheers
Re: Language Support for Scheduler Task
No, that doesn't work because you don't have GET/POST available in scheduler tasks. Instead, you have to extend the HTML client for your needs: https://github.com/aimeos/ai-client-htm ... #L114-L116
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: Language Support for Scheduler Task
thank you!
how would you query the language id at this point?
how would you query the language id at this point?
Re: Language Support for Scheduler Task
Use
if available or
for the language used during the checkout process. You can see the assigned objects to the view here:
https://github.com/aimeos/ai-client-htm ... #L255-L258
Code: Select all
$view->extAddressItem->getLanguageId()
Code: Select all
$view->extOrderBaseItem->getLocale()->getLanguageId()
https://github.com/aimeos/ai-client-htm ... #L255-L258
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: Language Support for Scheduler Task
the latter has worked
thank you!
thank you!