SUBSCRIPTION_DETAIL tag in email messages

  • Mark
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 3 months ago - 9 years 3 months ago #57478 by Mark
How does this work?

It looks like all the code is behind the scenes, is that right? Or can I change what is presented in the detail?

I think there's a bug in it at the moment. The "State" in the detail is the two letter code not the text.
Last edit: 9 years 3 months ago by Mark.

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

More
9 years 3 months ago #57488 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic SUBSCRIPTION_DETAIL tag in email messages
There is a code behind that tag to get all information of the subscription and wrap it to one tag. You cannot change it unless you know how to edit code.

If you know PHP code and want to know how it is generated, look at the file components\com_osmembership\emailtemplates\email.php .

For the state field, yes, right now, we store state 2 code. If you want to have full state name, we can help modifing the code for you

Tuan

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

  • Mark
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 3 months ago #57500 by Mark
Is it fixed in 1.6.9?

I've already had a customer complain about it... :sick:

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

More
9 years 3 months ago #57521 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic SUBSCRIPTION_DETAIL tag in email messages
Sorry. What issue you are talking about ?

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

  • Mark
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 3 months ago #57526 by Mark
The fact that the State is output in the subscription details as a two letter code not as text.

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

More
9 years 3 months ago #57557 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic SUBSCRIPTION_DETAIL tag in email messages
Yes. We need to have two code state to pass to payment gateway, so we could not store state full name.

You can submit support ticket sending me super admin account of your site so that I can edit the code for you

Tuan

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