VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: visitmontaione on November 27, 2023, 19:52:49 PM

Title: How to edit an order status email object [SOLVED]
Post by: visitmontaione on November 27, 2023, 19:52:49 PM
Joomla 4.4.0
VirtueMart 4.0.12 10777

Hello, I have created a new order status. All is fine but I can't figure out how or where to edit the email subject.

At the moment the email arrive with this subject: COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_L

Someone can give me a tip?

Thank you in advance.
Title: Re: How to edit an order status email object
Post by: Jumbo! on November 28, 2023, 06:43:18 AM
Use Language Override (https://docs.joomla.org/J3.x:Language_Overrides_in_Joomla) in Joomla to add translations for your custom language strings.

In Joomla 4, you can find it at System → Manage → Language Overrides.
Title: Re: How to edit an order status email object
Post by: visitmontaione on November 28, 2023, 07:18:06 AM
Thank you Jumbo.

I've created a language override for COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_L but I can't see any change.

I continue to receive the email with subject "COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_L"

Where do I wrong? Thanks for help.
Title: Re: How to edit an order status email object
Post by: visitmontaione on November 28, 2023, 07:24:26 AM
[SOLVED]

It was an override Admin side and not Site side.
Title: Re: How to edit an order status email object
Post by: Jumbo! on November 28, 2023, 07:31:37 AM
It would be best to create the override for both the Site and Admin.
Title: Re: How to edit an order status email object [SOLVED]
Post by: visitmontaione on November 28, 2023, 08:11:08 AM
Quote from: Jumbo! on November 28, 2023, 07:31:37 AM
It would be best to create the override for both the Site and Admin.

Thanks  :)