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

#   How to add custom team to email invoice and order?

##

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

Less More

- Posts: 29
- Thank you received: 0
-
-

12 years 3 months ago [\#164324](#164324) by [angelfila](/forum/user/12461-angelfila "View angelfila's Profile")  *[How to add custom team to email invoice and order?](/forum/4-how-to/869746-how-to-add-custom-team-to-email-invoice-and-order#164324 "-- url of the page with the problem -- : N/A &#91;Currently in local development&#93; -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome Version 35.0.1916.153 m  I have created to custom field: &quot;subject&quot; and &quot;publisher&quot;. How do i add these custom field to the email invoices and view order?")* was created by *[angelfila](/forum/user/12461-angelfila "View angelfila's Profile")*

-- url of the page with the problem -- : N/A [Currently in local development]
-- HikaShop version -- : 2.3.1
-- Joomla version -- : 3.3.1
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : Chrome Version 35.0.1916.153 m

I have created to custom field: "subject" and "publisher".
How do i add these custom field to the email invoices and view order?

- [ ![h8c4d3be.PNG](/forum/attachment/18495) ](/forum/attachment/18495 "h8c4d3be.PNG") [ ](/forum/attachment/18495?download=1 "h8c4d3be.PNG")

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 3 months ago [\#164335](#164335) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[How to add custom team to email invoice and order?](/forum/4-how-to/869746-how-to-add-custom-team-to-email-invoice-and-order#164335 "-- url of the page with the problem -- : N/A &#91;Currently in local development&#93; -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome Version 35.0.1916.153 m  I have created to custom field: &quot;subject&quot; and &quot;publisher&quot;. How do i add these custom field to the email invoices and view order?")*

Hello,
For your invoices, you'll have to edit the code of the "invoice" file of the "order" view of your front-end template via "Hikashop-&gt;Display-&gt;Views".
For your emails, you'll have to edit the code of your emails via "Hikashop-&gt;System-&gt;Emails".

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

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

Less More

- Posts: 29
- Thank you received: 0
-
-

12 years 3 months ago [\#164395](#164395) by [angelfila](/forum/user/12461-angelfila "View angelfila's Profile")  Replied by *[angelfila](/forum/user/12461-angelfila "View angelfila's Profile")* on topic *[How to add custom team to email invoice and order?](/forum/4-how-to/869746-how-to-add-custom-team-to-email-invoice-and-order#164395 "-- url of the page with the problem -- : N/A &#91;Currently in local development&#93; -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome Version 35.0.1916.153 m  I have created to custom field: &quot;subject&quot; and &quot;publisher&quot;. How do i add these custom field to the email invoices and view order?")*

What code do i add? Please do guide me?

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 3 months ago [\#164469](#164469) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[How to add custom team to email invoice and order?](/forum/4-how-to/869746-how-to-add-custom-team-to-email-invoice-and-order#164469 "-- url of the page with the problem -- : N/A &#91;Currently in local development&#93; -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome Version 35.0.1916.153 m  I have created to custom field: &quot;subject&quot; and &quot;publisher&quot;. How do i add these custom field to the email invoices and view order?")*

Hello,

For your email, you'll probably find the solution through that thread : [ www.hikashop.com/forum/orders-management...ry-email.html#134103](http://www.hikashop.com/forum/orders-management/863886-add-custom-fields-to-order-summary-email.html#134103)

> In the email you can add the following tag:
>
> Code:
>
> {LINEVAR:product.CUSTOM_FIELD_NAME}
>
>
>
> after this line: Code:
>
> {LINEVAR:PRODUCT_NAME}&lt;!--{IF:ORDER_PRODUCT_CODE}--&gt; {LINEVAR:PRODUCT_CODE}&lt;!--{ENDIF:ORDER_PRODUCT_CODE}--&gt;

For your invoices some development skills will be require to do that.

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

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

Less More

- Posts: 29
- Thank you received: 0
-
-

12 years 3 months ago [\#165909](#165909) by [angelfila](/forum/user/12461-angelfila "View angelfila's Profile")  Replied by *[angelfila](/forum/user/12461-angelfila "View angelfila's Profile")* on topic *[How to add custom team to email invoice and order?](/forum/4-how-to/869746-how-to-add-custom-team-to-email-invoice-and-order#165909 "-- url of the page with the problem -- : N/A &#91;Currently in local development&#93; -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome Version 35.0.1916.153 m  I have created to custom field: &quot;subject&quot; and &quot;publisher&quot;. How do i add these custom field to the email invoices and view order?")*

How do I add custom field: "subject" and "publisher to frontend, HikaMarket&gt;order&gt;show

I have added the following but nothing showing up.
&lt;td&gt;
&lt;php echo $this-&gt;row-&gt;subject; ?&gt;
&lt;/td&gt;

- [ ![image1.jpg](/forum/attachment/18763) ](/forum/attachment/18763 "image1.jpg") [ ](/forum/attachment/18763?download=1 "image1.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2OTc0Ni1ob3ctdG8tYWRkLWN1c3RvbS10ZWFtLXRvLWVtYWlsLWludm9pY2UtYW5kLW9yZGVyP3RtcGw9bWFya2Rvd24=) 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: 86320
- Thank you received: 14278
-
-

12 years 3 months ago [\#166012](#166012) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to add custom team to email invoice and order?](/forum/4-how-to/869746-how-to-add-custom-team-to-email-invoice-and-order#166012 "-- url of the page with the problem -- : N/A &#91;Currently in local development&#93; -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome Version 35.0.1916.153 m  I have created to custom field: &quot;subject&quot; and &quot;publisher&quot;. How do i add these custom field to the email invoices and view order?")*

Hi,

You need to edit the file show_products of HikaMarket via the menu Display&gt;Views and add such code: Code:

$class = hikashop_get('class.product'); $data = $class-&gt;get($product-&gt;product_id); echo $data-&gt;subjet;

for example, before the line:
echo $product-&gt;order_product_code;

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

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

Less More

- Posts: 29
- Thank you received: 0
-
-

12 years 3 months ago [\#166069](#166069) by [angelfila](/forum/user/12461-angelfila "View angelfila's Profile")  Replied by *[angelfila](/forum/user/12461-angelfila "View angelfila's Profile")* on topic *[How to add custom team to email invoice and order?](/forum/4-how-to/869746-how-to-add-custom-team-to-email-invoice-and-order#166069 "-- url of the page with the problem -- : N/A &#91;Currently in local development&#93; -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome Version 35.0.1916.153 m  I have created to custom field: &quot;subject&quot; and &quot;publisher&quot;. How do i add these custom field to the email invoices and view order?")*

Thank you. It is working now.

Currently I am having another issue on the same page. When Iclick on Email, the component alignment is off.
How do I correct the alignment?

- [ ![image1&#95;2014-08-01.jpg](/forum/attachment/18785) ](/forum/attachment/18785 "...2014-08-01.jpg") [ ](/forum/attachment/18785?download=1 "...2014-08-01.jpg")
- [ ![image2.jpg](/forum/attachment/18786) ](/forum/attachment/18786 "image2.jpg") [ ](/forum/attachment/18786?download=1 "image2.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg2OTc0Ni1ob3ctdG8tYWRkLWN1c3RvbS10ZWFtLXRvLWVtYWlsLWludm9pY2UtYW5kLW9yZGVyP3RtcGw9bWFya2Rvd24=) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

12 years 3 months ago [\#166101](#166101) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to add custom team to email invoice and order?](/forum/4-how-to/869746-how-to-add-custom-team-to-email-invoice-and-order#166101 "-- url of the page with the problem -- : N/A &#91;Currently in local development&#93; -- HikaShop version -- : 2.3.1 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome Version 35.0.1916.153 m  I have created to custom field: &quot;subject&quot; and &quot;publisher&quot;. How do i add these custom field to the email invoices and view order?")*

Hi,

It means that your front-end template is not compatible with the Bootstrap modal system.
In your HikaShop configuration, please change the option "Popup mode" to "mootools".
[ www.hikashop.com/support/support/documen...-config.html#display](https://www.hikashop.com/support/support/documentation/54-hikashop-config.html#display)

Regards,

---

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

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

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

[](#top)
