VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: mdart on September 21, 2012, 05:50:40 AM

Title: how do I change the subject line on emails sent
Post by: mdart on September 21, 2012, 05:50:40 AM
how do I change the subject line on emails sent  from COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_
Title: Re: how do I change the subject line on emails sent
Post by: bytelord on September 21, 2012, 08:00:39 AM
Hello,

Go to /language/your language/xx_xx.com_virtuemart.ini where xx-XX is your language (en-GB for english)

Translate the lines you want (refers to  more line COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_xxxx)

Better way is to use language overrides, look here: http://forum.virtuemart.net/index.php?topic=106483.msg355751#msg355751

Regards
Title: Re: how do I change the subject line on emails sent
Post by: betterlead on February 11, 2015, 23:07:37 PM
I still have this problem and,,, what I understand, the constant shows up in the subject line, not the value and the constant can't be changed or in any way translated or shouldn't even be published.
Sure, this has been solved by somebody by now?
Title: Re: how do I change the subject line on emails sent
Post by: betterlead on February 11, 2015, 23:14:22 PM
Just would like to add, this might be essential, that this subject only displays when order is payed with Paypal.
Title: Re: how do I change the subject line on emails sent
Post by: betterlead on February 12, 2015, 16:26:02 PM
Is it simply so, I need to create the constant in the override ( COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_W ) for the payment method "W" (In my case Paypal) and then just copy the value from the other constants for the subject?

Constant: COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_W
String: [%3$s], Skickade beställning från %1$s, totalt %2$s --- In Swedish: "Sent order from"

Cheers
Title: Re: how do I change the subject line on emails sent
Post by: jimleeder123 on February 12, 2015, 16:57:09 PM
Theres a plugin - http://www.interamind.com/index.php?option=com_content&view=article&id=76&Itemid=84 - but you have to pay for it.
Title: Re: how do I change the subject line on emails sent
Post by: betterlead on February 12, 2015, 18:20:10 PM
You know what..? Haha! When I clicked the link, I suddenly remembered - I bought this extension in june 2013. Absolutely crazy...  ;D
many thanks for the reminder.
Mama mia...
Title: Re: how do I change the subject line on emails sent
Post by: betterlead on February 12, 2015, 18:55:25 PM
But I have to know the name of the file, to find it on my computer... Do you happen to know?
Title: Re: how do I change the subject line on emails sent
Post by: jimleeder123 on February 13, 2015, 10:47:28 AM
In the extension you can change the subject line and body, if thats what you want?
Title: Re: how do I change the subject line on emails sent
Post by: betterlead on February 13, 2015, 12:44:30 PM
Yes, but after updating mu Joomla and Virtuemart, I didn't re-install this extension and now I am having big trouble fining the downloaded installation file. (xxx.zip) It should be somewhere on my HDD, but I can't find it. Do you happen to know the file name or the folder? I can't download it from Interamind again, since I bought the extension almost two years ago.
Title: Re: how do I change the subject line on emails sent
Post by: jimleeder123 on February 13, 2015, 12:50:57 PM
No I haven't bought it yet as I'm waiting for my comapny and client to decide on it. I'll let you know when we've got it.

It might have "Interamind" in the file name since thats the company.
Title: Re: how do I change the subject line on emails sent
Post by: betterlead on February 13, 2015, 13:00:43 PM
Thanks. I've searched for "interamind" without any luck. I have also posted a support ticket to them. Hopefully I will get an answer after the weekend.