VirtueMart Forum

VirtueMart 2 + 3 => Administration & Configuration => Topic started by: nicodya on March 06, 2018, 15:23:19 pm

Title: Change Subject Mail
Post by: nicodya on March 06, 2018, 15:23:19 pm
I can't find "COM_VIRTUEMART_MAIL_SUBJ_SHOPPER" in my files... because I want to rename this string that appear in subject mail...  :-\

This is the website: www.vitocavone.it (http://www.vitocavone.it)

Thanks  :)
Title: Re: Change Subject Mail
Post by: jenkinhill on March 06, 2018, 15:51:41 pm
These are in the language files, front and backend as the following, depending on the order status:

COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_C="[%3$s], Confirmed order at %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_P="[%3$s], Order is pending at %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_R="[%3$s], Refunded order by %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_S="[%3$s], Shipped order from %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_U="[%3$s], Order received by %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_X="[%3$s], Cancelled order by %1$s, total %2$s"
Title: Re: Change Subject Mail
Post by: nicodya on March 06, 2018, 15:56:43 pm
These are in the language files, front and backend as the following, depending on the order status:

COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_C="[%3$s], Confirmed order at %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_P="[%3$s], Order is pending at %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_R="[%3$s], Refunded order by %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_S="[%3$s], Shipped order from %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_U="[%3$s], Order received by %1$s, total %2$s"
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_X="[%3$s], Cancelled order by %1$s, total %2$s"

I created new status:
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_1
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_2
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_3
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_4
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_5
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_6

but I can't find it in language.ini  :(
Title: Re: Change Subject Mail
Post by: jenkinhill on March 06, 2018, 17:17:53 pm
You will have to create those in a language override file.  https://docs.joomla.org/J3.x:Language_Overrides_in_Joomla