Invoice Layout ~ Country

More
1 year 3 weeks ago - 1 year 3 weeks ago #162393 by Andy
Invoice Layout ~ Country was created by Andy
Under Configuration/Layout, how do we add the country to the invoice billing/shipping address formats (surprised it's not included by default)?
Tried adding [SHIPPING_COUNTRY] and [PAYMENT_COUNTRY], but it just printed exactly that on the pdf invoice (not the actual country).
I can't see country in the list of supported tags (image attached), in the online documentation.

Also, in System/Messages, Invoice Layout, there's [Payment_Address] and [Shipping_Address] tags, but can't see how to include the country in these addresses.

Any help, please.



 
Attachments:
Last edit: 1 year 3 weeks ago by Andy.

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

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
1 year 3 weeks ago #162396 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Invoice Layout ~ Country
Dear Andy,

Thank you for submitting the question here. Please go to EShop -> System -> Configuration -> Layout tab:

1. At Shipping Address Format, add tag [SHIPPING_COUNTRY] there
2. At Payment Address Format, add tag [PAYMENT_COUNTRY] there

Then test the invoice again.

I hope this is useful.

Sincerely, Giang

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

More
1 year 3 weeks ago #162436 by Andy
Replied by Andy on topic Invoice Layout ~ Country
Dear Giang,

Thanks for your reply.
I already tried what you suggested, but it doesn't work.
Please see the attached image (checkout order confirmation). The pdf invoice shows the same.

It displays [PAYMENT_COUNTRY] and [SHIPPING_COUNTRY].
These tags are not being recognized/converted to the countries.

Clicking on 'Code' in the Layout editor for Payment and Shipping address formats shows this:

<p>[SHIPPING_FIRSTNAME] [SHIPPING_LASTNAME]<br />[SHIPPING_ADDRESS_1],<br />[SHIPPING_ADDRESS_2]<br />[SHIPPING_CITY], [SHIPPING_POSTCODE]<br />[SHIPPING_ZONE_NAME]<br />[SHIPPING_COUNTRY]<br /><br />[SHIPPING_EMAIL]<br />[SHIPPING_TELEPHONE]<br />[SHIPPING_FAX]</p>

<p>[PAYMENT_FIRSTNAME] [PAYMENT_LASTNAME]<br />[PAYMENT_ADDRESS_1],<br />[PAYMENT_ADDRESS_2]<br />[PAYMENT_CITY], [PAYMENT_POSTCODE]<br />[PAYMENT_ZONE_NAME]<br />[PAYMENT_COUNTRY]</p>
<p>[PAYMENT_EMAIL]<br />[PAYMENT_TELEPHONE]<br />[PAYMENT_FAX]</p>
Attachments:

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

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
1 year 3 weeks ago #162452 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Invoice Layout ~ Country
Hello Andy,

I am sorry, my mistake. They should be [PAYMENT_COUNTRY_NAME] and [SHIPPING_COUNTRY_NAME]

Please try again and let me know if it works.

Sincerely, Giang

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

More
1 year 3 weeks ago #162457 by Andy
Replied by Andy on topic Invoice Layout ~ Country
Yes, that worked.
Thank you.

Is there a full list available for supported tags?
Some tags are shown in the documentation (on the right of the image):

eshopdocs.joomservices.com/getting-start...layout-configuration

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

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
1 year 3 weeks ago #162465 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Invoice Layout ~ Country
Hello Andy,

it is almost full. If you need any more fields to be displayed there, just tell me so I will check and give you the tag if it is possible.

Sincerely, Giang

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

Moderators: Giang Dinh Truong