Skip to main content

E-mail template

More
9 months 2 weeks ago #369679 by Scramble ITS
E-mail template was created by Scramble ITS
-- url of the page with the problem -- : www.scramble.nl
-- HikaShop version -- : 6.1.1
-- HikaSerial version -- : 6.0.0
-- Joomla version -- : 5.4.1
-- PHP version -- : 8.2
-- Browser(s) name and version -- : Edge 143.0.3650.66

I want to alter the content of the subscription expiration notice. This message is generated in the e-mail template 'Subscription expiration notice' with the code {TXT:SUBSCRIPTION_EXPIRATION_CONTENT}. I tried to alter this content with creating a language override with the constant SUBSCRIPTION_EXPIRATION_CONTENT. But this seems to alter nothing. So the simple question is, how can I change the content of the {TXT:SUBSCRIPTION_EXPIRATION_CONTENT} field in the e-mail template?

Please Log in or Create an account to join the conversation.

More
9 months 2 weeks ago #369680 by Jerome
Replied by Jerome on topic E-mail template
Hello,

TXT tags in HikaShop are not dynamically processed ; they are defined in the "preload" part of the email.
In the preload you'll see that it's using the translation "SUBSCRIPTION_EXPIRATION_NOTICE_CONTENT" which is a translation with 2 parameters.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

More
9 months 2 weeks ago #369694 by Scramble ITS
Replied by Scramble ITS on topic E-mail template
So I did it right but used the incorrect syntax? Changed it now to SUBSCRIPTION_EXPIRATION_NOTICE_CONTENT.

Greets,

Please Log in or Create an account to join the conversation.

More
9 months 2 weeks ago #369695 by Jerome
Replied by Jerome on topic E-mail template
Hello,

Yes, that was the right move but the translation is made in the "preload" part, not in the email.
Because translation can have parameters, these can't be within the HTML email template.
So, if you need to change another translation in an email, please look at the preload for more detail :)

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.181 seconds
Powered by Kunena Forum