News:

Support the VirtueMart project and become a member

Main Menu

how do I change the subject line on emails sent

Started by mdart, September 21, 2012, 05:50:40 AM

Previous topic - Next topic

mdart

how do I change the subject line on emails sent  from COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_

bytelord

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
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

betterlead

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?
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

betterlead

Just would like to add, this might be essential, that this subject only displays when order is payed with Paypal.
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

betterlead

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
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

jimleeder123

Web Developer and blogger

Joomla 3.4.8  (2.5 on some)
VM 3.0.12
PHP 5.6 (5.4 on websites with Joomla 2.5)

http://jimleeder.co.uk

betterlead

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...
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

betterlead

#7
But I have to know the name of the file, to find it on my computer... Do you happen to know?
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

jimleeder123

In the extension you can change the subject line and body, if thats what you want?
Web Developer and blogger

Joomla 3.4.8  (2.5 on some)
VM 3.0.12
PHP 5.6 (5.4 on websites with Joomla 2.5)

http://jimleeder.co.uk

betterlead

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.
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

jimleeder123

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.
Web Developer and blogger

Joomla 3.4.8  (2.5 on some)
VM 3.0.12
PHP 5.6 (5.4 on websites with Joomla 2.5)

http://jimleeder.co.uk

betterlead

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.
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26