AbanteCart Community

Shopping Cart Operations => Built-in Features => Topic started by: MessEleven on August 20, 2023, 05:03:12 PM

Title: Order Status Emails
Post by: MessEleven 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?
Title: Re: Order Status Emails
Post by: Basara 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
Title: Re: Order Status Emails
Post by: MessEleven 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.
Title: Re: Order Status Emails
Post by: mikko on November 24, 2023, 03:57:08 PM
I have the same issue so not just you.
Title: Re: Order Status Emails
Post by: Basara 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?
Title: Re: Order Status Emails
Post by: Basara 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.
Title: Re: Order Status Emails
Post by: mikko 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.