Author Topic: how do I change the subject line on emails sent  (Read 2986 times)

mdart

  • Beginner
  • *
  • Posts: 12
how do I change the subject line on emails sent
« on: September 21, 2012, 05:50:40 am »
how do I change the subject line on emails sent  from COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_

bytelord

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: how do I change the subject line on emails sent
« Reply #1 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
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

  • Jr. Member
  • **
  • Posts: 167
    • LIVING STUDIO
  • VirtueMart Version: 3.2.12
Re: how do I change the subject line on emails sent
« Reply #2 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?
Live site runs on Joomla 3.8.13 & VM 3.2.12

PHP: 7.0.22

betterlead

  • Jr. Member
  • **
  • Posts: 167
    • LIVING STUDIO
  • VirtueMart Version: 3.2.12
Re: how do I change the subject line on emails sent
« Reply #3 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.
Live site runs on Joomla 3.8.13 & VM 3.2.12

PHP: 7.0.22

betterlead

  • Jr. Member
  • **
  • Posts: 167
    • LIVING STUDIO
  • VirtueMart Version: 3.2.12
Re: how do I change the subject line on emails sent
« Reply #4 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
Live site runs on Joomla 3.8.13 & VM 3.2.12

PHP: 7.0.22

jimleeder123

  • Jr. Member
  • **
  • Posts: 207
    • My Website
  • VirtueMart Version: 3.0.12
Re: how do I change the subject line on emails sent
« Reply #5 on: February 12, 2015, 16:57:09 pm »
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

  • Jr. Member
  • **
  • Posts: 167
    • LIVING STUDIO
  • VirtueMart Version: 3.2.12
Re: how do I change the subject line on emails sent
« Reply #6 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...
Live site runs on Joomla 3.8.13 & VM 3.2.12

PHP: 7.0.22

betterlead

  • Jr. Member
  • **
  • Posts: 167
    • LIVING STUDIO
  • VirtueMart Version: 3.2.12
Re: how do I change the subject line on emails sent
« Reply #7 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?
Live site runs on Joomla 3.8.13 & VM 3.2.12

PHP: 7.0.22

jimleeder123

  • Jr. Member
  • **
  • Posts: 207
    • My Website
  • VirtueMart Version: 3.0.12
Re: how do I change the subject line on emails sent
« Reply #8 on: February 13, 2015, 10:47:28 am »
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

  • Jr. Member
  • **
  • Posts: 167
    • LIVING STUDIO
  • VirtueMart Version: 3.2.12
Re: how do I change the subject line on emails sent
« Reply #9 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.
Live site runs on Joomla 3.8.13 & VM 3.2.12

PHP: 7.0.22

jimleeder123

  • Jr. Member
  • **
  • Posts: 207
    • My Website
  • VirtueMart Version: 3.0.12
Re: how do I change the subject line on emails sent
« Reply #10 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.
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

  • Jr. Member
  • **
  • Posts: 167
    • LIVING STUDIO
  • VirtueMart Version: 3.2.12
Re: how do I change the subject line on emails sent
« Reply #11 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.
Live site runs on Joomla 3.8.13 & VM 3.2.12

PHP: 7.0.22