Email message TAGS

  • Frédéric Bianchi
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
4 years 4 months ago #129342 by Frédéric Bianchi
Email message TAGS was created by Frédéric Bianchi
Hello,
i want to personnalise the email message after subscription. I have make some test and it work well, but when i have a discount, i cant find the right tag.

I have put this :
Price : [AMOUNT]
Discount amount : [DISCOUNT_AMOUNT]
Total : I dont know the tag...

I have try [TOTAL_AMOUNT], [SUB_TOTAL], [ITEM_SUB_TOTAL], [ITEM_AMOUNT], none of them work.

It is OK for amount and discount amount, but not for the total after reduction.
And if it is also possible to have the coupon code tags ?

All of this is in the email message, not in the pdf invoice (i dont know if difference).

Regards,
Frédéric

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #129346 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Email message TAGS
Hi

Please use [GROSS_AMOUNT] tag, it should provide what you need

Tuan

Please Log in or Create an account to join the conversation.

  • Frédéric Bianchi
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
4 years 4 months ago #129349 by Frédéric Bianchi
Replied by Frédéric Bianchi on topic Email message TAGS
Yes, it work, tanks.
Is there a way to have the payment status in this email ?
Because if i put [INVOICE_STATUS] it work only in the pdf, but not in the email.

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #129363 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Email message TAGS
Hello

I just added code to support it. You can access to My Downloads menu item, download latest package, update to your site and use [PAYMENT_STATUS] tag to show payment status

The value is controlled by the following language items in case you want to change it:

OSM_PAYMENT_PENDING="Pending"
OSM_PAYMENT_PAID="Paid"
OSM_PAYMENT_CANCELLED="Cancelled"

Tuan

Please Log in or Create an account to join the conversation.

  • Frédéric Bianchi
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
4 years 4 months ago #129365 by Frédéric Bianchi
Replied by Frédéric Bianchi on topic Email message TAGS
Great !
Thank you,
Frédéric

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #129370 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Email message TAGS
You're welcome :)

Please Log in or Create an account to join the conversation.

  • Frédéric Bianchi
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
4 years 4 months ago - 4 years 4 months ago #129377 by Frédéric Bianchi
Replied by Frédéric Bianchi on topic Email message TAGS
Hello,
i have added the TAGS for payment, make the traduction, but it dosent work.
I have the sting in the email OSM_PAYMENT_PAID but not the traduction...
The traduction is : Payé
Last edit: 4 years 4 months ago by Frédéric Bianchi.

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #129380 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Email message TAGS
Sorry, I forgot to add JText to the code and it causes the issue

Please download the latest package, update to your site, then check it again. The error should be gone

Tuan

Please Log in or Create an account to join the conversation.

  • Frédéric Bianchi
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
4 years 4 months ago #129384 by Frédéric Bianchi
Replied by Frédéric Bianchi on topic Email message TAGS
Yes, it work now, thank you :)

Please Log in or Create an account to join the conversation.

More
4 years 4 months ago #129387 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Email message TAGS
Great. Thanks for confirming

Tuan

Please Log in or Create an account to join the conversation.