Author Topic: Status Email Change  (Read 256 times)

Jack Stiles

  • Beginner
  • *
  • Posts: 46
  • A beginner
Status Email Change
« on: September 16, 2019, 17:24:59 pm »
Hey guys,

I didnt need any help for quite some time so it probably means the virtuemart is in its top state atm  ;D

Anyway - there is one thing now. I am on latest Joomla 3.9.something and latest VM 3.6. What I need is pretty simple. When you change order status it usually updates the invoice thats sent in the notification email. What I would need is to add one more thing to a certain state email and a few lines of text but I cant find what file to override... Will you help? I only need to know which file is controling status change emails...

Thank you!

Jack Stiles

  • Beginner
  • *
  • Posts: 46
  • A beginner
Re: Status Email Change
« Reply #1 on: September 17, 2019, 21:50:17 pm »
Nobody?  :) This must be something easy... just a file override... I just dont know which one  ::)

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9143
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Status Email Change
« Reply #2 on: September 17, 2019, 22:53:30 pm »
just detect the status in the (over ridden)   components\com_virtuemart\views\invoice\tmpl\mail_html_shopper.php or \components\com_virtuemart\views\invoice\tmpl\invoice_order.php
(unclear if u mean invoice or email) and depending on the status add the text
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

Jack Stiles

  • Beginner
  • *
  • Posts: 46
  • A beginner
Re: Status Email Change
« Reply #3 on: September 19, 2019, 11:03:00 am »
Hey GJC thanks a lot! I must say I consider the email system in VM to be quite a weak link but.... well it is what it is ;-) Although it would be nice to simply have an editor where you could just edit whats in emails and what do they look like  ::) :D

Anyway - thanks a lot!

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27543
  • Always on vacation
    • Jenkin Hill Internet
Re: Status Email Change
« Reply #4 on: September 19, 2019, 11:10:50 am »
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.6.3.10163 on Joomla 3.9.12 PHP 7.0.33