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

#   Include customer ZIP code in admin order subjuct line

##

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

Less More

- Posts: 12
- Thank you received: 0
-
-

9 years 2 months ago [\#277439](#277439) by [insightdesign](/forum/user/51442-insightdesign "View insightdesign's Profile")  *[Include customer ZIP code in admin order subjuct line](/forum/35-orders-management/891779-include-customer-zip-code-in-admin-order-subjuct-line#277439 "I've been looking through other posts about including different items in the email subject line. Some say to change the &quot;order.php&quot; some say to edit the preload. I am needing to adjust the subject...")* was created by *[insightdesign](/forum/user/51442-insightdesign "View insightdesign's Profile")*

I've been looking through other posts about including different items in the email subject line. Some say to change the "order.php" some say to edit the preload. I am needing to adjust the subject line to include the ZIP code of the order in the subject line. Belwo are the similar posts I've found.
-Thanks

[ www.hikashop.com/forum/4-how-to/880779-s...ification-email.html](https://www.hikashop.com/forum/4-how-to/880779-show-username-in-subject-admin-notification-email.html)

[ www.hikashop.com/support/forum/orders-ma...-to-email-title.html](https://www.hikashop.com/support/forum/orders-management/879766-add-custom-field-to-email-title.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5MTc3OS1pbmNsdWRlLWN1c3RvbWVyLXppcC1jb2RlLWluLWFkbWluLW9yZGVyLXN1Ymp1Y3QtbGluZT90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

9 years 2 months ago [\#277458](#277458) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Include customer ZIP code in admin order subjuct line](/forum/35-orders-management/891779-include-customer-zip-code-in-admin-order-subjuct-line#277458 "I've been looking through other posts about including different items in the email subject line. Some say to change the &quot;order.php&quot; some say to edit the preload. I am needing to adjust the subject...")*

Hi,

Since a few releases ago, HikaShop now supports tags in Email subjects.
So you can edit the email subject either in the menu System&gt;Emails or as a translation override:
[ www.hikashop.com/download/languages.html#modify](https://www.hikashop.com/download/languages.html#modify)
Add the tag {billing_address.address_post_code} to it and that should do it.
No need for code modification for that anymore.

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

9 years 2 months ago [\#277698](#277698) by [insightdesign](/forum/user/51442-insightdesign "View insightdesign's Profile")  Replied by *[insightdesign](/forum/user/51442-insightdesign "View insightdesign's Profile")* on topic *[Include customer ZIP code in admin order subjuct line](/forum/35-orders-management/891779-include-customer-zip-code-in-admin-order-subjuct-line#277698 "I've been looking through other posts about including different items in the email subject line. Some say to change the &quot;order.php&quot; some say to edit the preload. I am needing to adjust the subject...")*

Hello,
Thank You, Yes, That Seemed to work. Is there documentation outlining the available TAGS? Where should I look for reference?
-Thanks

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

9 years 2 months ago [\#277700](#277700) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Include customer ZIP code in admin order subjuct line](/forum/35-orders-management/891779-include-customer-zip-code-in-admin-order-subjuct-line#277700 "I've been looking through other posts about including different items in the email subject line. Some say to change the &quot;order.php&quot; some say to edit the preload. I am needing to adjust the subject...")*

Hello,

The tags depends of the content of the "preload" part of the email.
And specially that part : Code:

$vars = array( 'LIVE_SITE' =&gt; HIKASHOP_LIVE, 'URL' =&gt; $order_url, 'ORDER_PRODUCT_CODE' =&gt; (bool)$config-&gt;get('show_code', false), 'order' =&gt; $data-&gt;cart, 'user' =&gt; $customer, 'billing_address' =&gt; @$data-&gt;cart-&gt;billing_address, 'shipping_address' =&gt; @$data-&gt;cart-&gt;shipping_address,

order gives you an access to the order objet, user the hikashop user object, etc.
You can see the database schema here : [ www.hikashop.com/support/documentation/6...ocumentation.html#db](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#db)
And afterwards, each type can be extended via the custom fields (which cannot be in the DB schema since it's dynamic).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

9 years 1 month ago [\#278813](#278813) by [insightdesign](/forum/user/51442-insightdesign "View insightdesign's Profile")  Replied by *[insightdesign](/forum/user/51442-insightdesign "View insightdesign's Profile")* on topic *[Include customer ZIP code in admin order subjuct line](/forum/35-orders-management/891779-include-customer-zip-code-in-admin-order-subjuct-line#278813 "I've been looking through other posts about including different items in the email subject line. Some say to change the &quot;order.php&quot; some say to edit the preload. I am needing to adjust the subject...")*

Hello again
i tried "{order_payment_method}" and it isn't returning anything? Am I missing something?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5MTc3OS1pbmNsdWRlLWN1c3RvbWVyLXppcC1jb2RlLWluLWFkbWluLW9yZGVyLXN1Ymp1Y3QtbGluZT90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

9 years 1 month ago [\#278842](#278842) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Include customer ZIP code in admin order subjuct line](/forum/35-orders-management/891779-include-customer-zip-code-in-admin-order-subjuct-line#278842 "I've been looking through other posts about including different items in the email subject line. Some say to change the &quot;order.php&quot; some say to edit the preload. I am needing to adjust the subject...")*

Hi,

Yes. It should be {cart.order_payment_method}

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

9 years 1 month ago [\#278888](#278888) by [insightdesign](/forum/user/51442-insightdesign "View insightdesign's Profile")  Replied by *[insightdesign](/forum/user/51442-insightdesign "View insightdesign's Profile")* on topic *[Include customer ZIP code in admin order subjuct line](/forum/35-orders-management/891779-include-customer-zip-code-in-admin-order-subjuct-line#278888 "I've been looking through other posts about including different items in the email subject line. Some say to change the &quot;order.php&quot; some say to edit the preload. I am needing to adjust the subject...")*

Hello,
I'm sorry, I should have mentioned that I already tried that as well, tried it again just in case, it just comes back blank.
I've tried:

{order_payment_method}
{order.order_payment_method}
{cart.order_payment_method}

none of them work

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

9 years 1 month ago [\#278935](#278935) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Include customer ZIP code in admin order subjuct line](/forum/35-orders-management/891779-include-customer-zip-code-in-admin-order-subjuct-line#278935 "I've been looking through other posts about including different items in the email subject line. Some say to change the &quot;order.php&quot; some say to edit the preload. I am needing to adjust the subject...")*

Hello,

We talked with Nicolas and regarding the fact that you want to place the content in the subject and not in the email content ; my message regarding the "vars" in the preload is not relevant.
In order to answer you precisely, we will need to have precise details about your website like your HikaShop version number.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

9 years 1 month ago [\#278966](#278966) by [insightdesign](/forum/user/51442-insightdesign "View insightdesign's Profile")  Replied by *[insightdesign](/forum/user/51442-insightdesign "View insightdesign's Profile")* on topic *[Include customer ZIP code in admin order subjuct line](/forum/35-orders-management/891779-include-customer-zip-code-in-admin-order-subjuct-line#278966 "I've been looking through other posts about including different items in the email subject line. Some say to change the &quot;order.php&quot; some say to edit the preload. I am needing to adjust the subject...")*

Hello,
Thank you for the quick reply,
Joomla Version: 3.8
Hikashop Business Version: 3.2.0

Just to reiterate (Tags Used in the Subject line):
- The first suggestion for the Postal Code worked using
{billing_address.address_post_code}

- The second suggestion using the below did not work
{order_payment_method}
{order.order_payment_method}
{cart.order_payment_method}

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5MTc3OS1pbmNsdWRlLWN1c3RvbWVyLXppcC1jb2RlLWluLWFkbWluLW9yZGVyLXN1Ymp1Y3QtbGluZT90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

9 years 1 month ago [\#279055](#279055) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Include customer ZIP code in admin order subjuct line](/forum/35-orders-management/891779-include-customer-zip-code-in-admin-order-subjuct-line#279055 "I've been looking through other posts about including different items in the email subject line. Some say to change the &quot;order.php&quot; some say to edit the preload. I am needing to adjust the subject...")*

Hi,

Normally, the {order_payment_method} tag should work and {cart.order_payment_method} should too. I've added a patch so that it works better.
Please download the install package again on our website and install it on yours and that will add the patch. Then, please try again with both tags.

The following user(s) said Thank You: [insightdesign](/forum/user/51442-insightdesign "View insightdesign's Profile")

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

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

Less More

- Posts: 12
- Thank you received: 0
-
-

9 years 1 month ago [\#279196](#279196) by [insightdesign](/forum/user/51442-insightdesign "View insightdesign's Profile")  Replied by *[insightdesign](/forum/user/51442-insightdesign "View insightdesign's Profile")* on topic *[Include customer ZIP code in admin order subjuct line](/forum/35-orders-management/891779-include-customer-zip-code-in-admin-order-subjuct-line#279196 "I've been looking through other posts about including different items in the email subject line. Some say to change the &quot;order.php&quot; some say to edit the preload. I am needing to adjust the subject...")*

Hello,
Thank you for the quick response. I applied the update, and tried both methods, the {order_payment_method} works great, although the {cart.order_payment_method} does not.
-Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5MTc3OS1pbmNsdWRlLWN1c3RvbWVyLXppcC1jb2RlLWluLWFkbWluLW9yZGVyLXN1Ymp1Y3QtbGluZT90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

9 years 1 month ago [\#279208](#279208) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Include customer ZIP code in admin order subjuct line](/forum/35-orders-management/891779-include-customer-zip-code-in-admin-order-subjuct-line#279208 "I've been looking through other posts about including different items in the email subject line. Some say to change the &quot;order.php&quot; some say to edit the preload. I am needing to adjust the subject...")*

Hi,

Thanks for the feedback.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5MTc3OS1pbmNsdWRlLWN1c3RvbWVyLXppcC1jb2RlLWluLWFkbWluLW9yZGVyLXN1Ymp1Y3QtbGluZT90bXBsPW1hcmtkb3du) 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.083 seconds

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