Author Topic: Custom order status (Email subject issue)  (Read 200 times)

EvanGR

  • Jr. Member
  • **
  • Posts: 144
Custom order status (Email subject issue)
« on: October 18, 2018, 12:16:34 pm »
Hello,

I have created a custom order status, which sends an e-mail to the shopper.

The subject of that e-mail is: COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_N

I would like to fix that, and like with other e-mails, include order number and a custom message in the subject.

Thoughts?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8433
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
Re: Custom order status (Email subject issue)
« Reply #1 on: October 18, 2018, 12:46:35 pm »
just make the over ride in Joomla lang over rides like u would do for any missing lang constant

do it in the admin overides and chk for both
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

EvanGR

  • Jr. Member
  • **
  • Posts: 144
Re: Custom order status (Email subject issue)
« Reply #2 on: October 18, 2018, 12:54:14 pm »
How would I include the variables though? Order number etc...

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27043
  • Always on vacation
    • Jenkin Hill Internet
Re: Custom order status (Email subject issue)
« Reply #3 on: October 18, 2018, 13:28:04 pm »
For examples  look at the text values for the existing strings. eg
COM_VIRTUEMART_MAIL_SUBJ_SHOPPER_C
[%3$s], Confirmed order at %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
Testing VM 3.4.0.9941 on Joomla 3.8.12