[Skip to main content](#vessel-content)

#   Customising Email Message Based on Shipping Zone

##

- **[Intellitech2017](/forum/user/52020-intellitech2017 "View Intellitech2017's Profile")**
- [![Intellitech2017's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/52020-intellitech2017 "View Intellitech2017's Profile") Topic Author
- [ Offline](/forum/user/52020-intellitech2017)

Less More

- Posts: 4
- Thank you received: 0
-
-

8 years 11 months ago [\#283048](#283048) by [Intellitech2017](/forum/user/52020-intellitech2017 "View Intellitech2017's Profile")  *[Customising Email Message Based on Shipping Zone](/forum/33-customers/892890-customising-email-message-based-on-shipping-zone#283048 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.6.32 -- Browser(s) name and version -- : Chrome, Firefox  Would it be possible to customise a message in the order creation or order confirmation email base on Country selection criteria?  Example: If Country &quot;Singapore&quot; selected, the default email notifications will be triggered. But if countries other than SG selected, can there be an additional line printed in the default notification?  I suppose it should be using an 'if... else' condition in the customisation. But which part and variable should be used to program customise this?")* was created by *[Intellitech2017](/forum/user/52020-intellitech2017 "View Intellitech2017's Profile")*

-- HikaShop version -- : 3.2.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.6.32
-- Browser(s) name and version -- : Chrome, Firefox

Would it be possible to customise a message in the order creation or order confirmation email base on Country selection criteria?

Example: If Country "Singapore" selected, the default email notifications will be triggered.
But if countries other than SG selected, can there be an additional line printed in the default notification?

I suppose it should be using an 'if... else' condition in the customisation. But which part and variable should be used to program customise this?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTI4OTAtY3VzdG9taXNpbmctZW1haWwtbWVzc2FnZS1iYXNlZC1vbi1zaGlwcGluZy16b25lP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86556
- Thank you received: 14304
-
-

8 years 11 months ago [\#283052](#283052) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Customising Email Message Based on Shipping Zone](/forum/33-customers/892890-customising-email-message-based-on-shipping-zone#283052 "-- HikaShop version -- : 3.2.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.6.32 -- Browser(s) name and version -- : Chrome, Firefox  Would it be possible to customise a message in the order creation or order confirmation email base on Country selection criteria?  Example: If Country &quot;Singapore&quot; selected, the default email notifications will be triggered. But if countries other than SG selected, can there be an additional line printed in the default notification?  I suppose it should be using an 'if... else' condition in the customisation. But which part and variable should be used to program customise this?")*

Hi,

You can add such code in the HTML version of the email via the menu System&gt;Emails: Code:

&lt;?php if($data-&gt;cart-&gt;billing_address-&gt;address_country == 'XXX'){ echo 'my custom text for country XXX'; } ?&gt;

where XXX is either the name of the country zone.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84OTI4OTAtY3VzdG9taXNpbmctZW1haWwtbWVzc2FnZS1iYXNlZC1vbi1zaGlwcGluZy16b25lP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.066 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
