Author Topic: Change Subject Mail  (Read 404 times)

nicodya

  • Beginner
  • *
  • Posts: 4
  • A beginner
  • Skype Name: nicodya
Change Subject Mail
« 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

Thanks  :)

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26976
  • Always on vacation
    • Jenkin Hill Internet
Re: Change Subject Mail
« Reply #1 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"
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM..3.4.0.9935 on Joomla 3.8.12 PHP 7.0.31

nicodya

  • Beginner
  • *
  • Posts: 4
  • A beginner
  • Skype Name: nicodya
Re: Change Subject Mail
« Reply #2 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  :(

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26976
  • Always on vacation
    • Jenkin Hill Internet
Re: Change Subject Mail
« Reply #3 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
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM..3.4.0.9935 on Joomla 3.8.12 PHP 7.0.31