Author Topic: Order Status Emails  (Read 8371 times)

Offline MessEleven

  • Jr. Member
  • **
  • Posts: 61
  • Karma: +11/-0
    • View Profile
Order Status Emails
« on: August 20, 2023, 05:03:12 PM »
We have no problem changing the Order Status after a customer makes a purchase, but the actual status we have selected doesn't show up on the notifying email. We haven't changed any test ID's. When testing, everything shows up fine in the email, including added notes, but no updated status. Any thoughts?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5964
  • Karma: +284/-2
    • View Profile
Re: Order Status Emails
« Reply #1 on: August 21, 2023, 05:05:59 AM »
Hello.
Try to compare the files with the source, maybe something was modified https://github.com/abantecart/abantecart-src

Offline MessEleven

  • Jr. Member
  • **
  • Posts: 61
  • Karma: +11/-0
    • View Profile
Re: Order Status Emails
« Reply #2 on: August 24, 2023, 06:07:03 PM »
Still no luck. Order status is unchanged, and php shows all options are the same as what AbanteCart offers (both in "order_statuses" and "order_status_id".) The placeholder "order_status_name" simply doesn't work. I've tried {{ order_status_name }} in all the right places, and even tried it in the Subject line. No luck.

Offline mikko

  • Newbie
  • *
  • Posts: 10
  • Karma: +1/-0
    • View Profile
Re: Order Status Emails
« Reply #3 on: November 24, 2023, 03:57:08 PM »
I have the same issue so not just you.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5964
  • Karma: +284/-2
    • View Profile
Re: Order Status Emails
« Reply #4 on: November 27, 2023, 01:39:31 AM »
I have the same issue so not just you.
Hello. What is your AbanteCart version and the order statuses you changed from-to?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5964
  • Karma: +284/-2
    • View Profile
Re: Order Status Emails
« Reply #5 on: November 27, 2023, 05:56:35 AM »
Make sure you have the admin_order_status_notify email template
Do not use order_status_name but an order_status
with Allowed Placeholders: store_name, order_id, order_date_added, order_status, invoice, comment
Html Body:
Code: [Select]
Order:  {{ order_id }} <br/>
Date added: {{ order_date_added }} <br/>
Order status: {{ order_status }} <br/>
Invoice: {{ invoice }}<br/>
<br/>

Comment:<br/>
{{{ comment }}}<br/>

<br/>

Please reply to this email if you have any questions.

Offline mikko

  • Newbie
  • *
  • Posts: 10
  • Karma: +1/-0
    • View Profile
Re: Order Status Emails
« Reply #6 on: November 28, 2023, 02:18:36 PM »
Thanks!

Changed it did not work but then I figured that I needed to add those also to" Allowed Placeholders:" field. Now it works.

 

Powered by SMFPacks Social Login Mod