Author Topic: Automatic email according to order status  (Read 924 times)

travelbaba

  • Beginner
  • *
  • Posts: 26
Automatic email according to order status
« on: April 05, 2017, 23:24:41 pm »
Hello, I'm asking to develope a feature in virtue mart 3.

My needs:

I change the order status with an external software directly in database, let's say from C to P and form P to S according if the order in in progress or sent.

I need, I suppose with a cronjob, that every day at 8pm the system check if the status is changed, if yes fire a email with the order status notification.

Until the status is "sent", then it's finished.

Is that possible?

Thanks for quotation.

welrachid

  • Jr. Member
  • **
  • Posts: 174
  • 3rd party plugin developer
  • Skype Name: wel.rachid
  • VirtueMart Version: Always LATEST stable
Re: Automatic email according to order status
« Reply #1 on: April 20, 2017, 00:04:42 am »
Why dont you change the status the "correct" way with all the triggers that should be triggered?
Is there a reason for you to change things directly in the DB?
Best regards,
Wel

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 7596
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.2
Re: Automatic email according to order status
« Reply #2 on: April 20, 2017, 15:19:00 pm »
Quote
I need, I suppose with a cronjob, that every day at 8pm the system check if the status is changed, if yes fire a email with the order status notification.

Until the status is "sent", then it's finished.

Is that possible?

yes-- possible
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