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

#   Editing of both Invoice and Shipping Invoice

##

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

Less More

- Posts: 15
- Thank you received: 0
-
-

9 years 9 months ago [\#258395](#258395) by [ChasChuck](/forum/user/43003-chaschuck "View ChasChuck's Profile")  *[Editing of both Invoice and Shipping Invoice](/forum/35-orders-management/888075-editing-of-both-invoice-and-shipping-invoice#258395 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.5.30 -- Browser(s) name and version -- : chrome  Hello  I want to add the customers email address to both the front end and back end invoices.  Also, I don't want to show either the customers telephone number or their email address on the shipping invoice only.  Editing the address&#95;template affects both the look of the invoice and the shipping invoice. How do I edit the shipping invoice only? Am I missing something here?  Thanks for your help in advance.")* was created by *[ChasChuck](/forum/user/43003-chaschuck "View ChasChuck's Profile")*

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.4
-- PHP version -- : 5.5.30
-- Browser(s) name and version -- : chrome

Hello

I want to add the customers email address to both the front end and back end invoices.

Also, I don't want to show either the customers telephone number or their email address on the shipping invoice only.

Editing the address_template affects both the look of the invoice and the shipping invoice. How do I edit the shipping invoice only? Am I missing something here?

Thanks for your help in advance.

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

9 years 9 months ago [\#258411](#258411) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Editing of both Invoice and Shipping Invoice](/forum/35-orders-management/888075-editing-of-both-invoice-and-shipping-invoice#258411 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.5.30 -- Browser(s) name and version -- : chrome  Hello  I want to add the customers email address to both the front end and back end invoices.  Also, I don't want to show either the customers telephone number or their email address on the shipping invoice only.  Editing the address&#95;template affects both the look of the invoice and the shipping invoice. How do I edit the shipping invoice only? Am I missing something here?  Thanks for your help in advance.")*

Hi,

In the invoice template, you will find that code Code:

if($this-&gt;invoice_type=='full'){ echo JText::_('INVOICE'); }else{ echo JText::_('SHIPPING_INVOICE'); }

It allow you to separate code of the invoice from the shipping invoice.

Regards,

---

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

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

9 years 9 months ago [\#258444](#258444) by [ChasChuck](/forum/user/43003-chaschuck "View ChasChuck's Profile")  Replied by *[ChasChuck](/forum/user/43003-chaschuck "View ChasChuck's Profile")* on topic *[Editing of both Invoice and Shipping Invoice](/forum/35-orders-management/888075-editing-of-both-invoice-and-shipping-invoice#258444 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.5.30 -- Browser(s) name and version -- : chrome  Hello  I want to add the customers email address to both the front end and back end invoices.  Also, I don't want to show either the customers telephone number or their email address on the shipping invoice only.  Editing the address&#95;template affects both the look of the invoice and the shipping invoice. How do I edit the shipping invoice only? Am I missing something here?  Thanks for your help in advance.")*

Hi Jerome

Thanks for the reply.

I've found the invoice template code in my backend, but I've no idea what editing is needed to separate out the two invoices, and to edit them to show customer email and telephone number on invoice only, but not on shipping invoice.

I'm new to this side of Hikashop and have only just begun to explore these elements. A more detailed explanation would be greatly appreciated if you have the time.

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4ODA3NS1lZGl0aW5nLW9mLWJvdGgtaW52b2ljZS1hbmQtc2hpcHBpbmctaW52b2ljZT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86283
- Thank you received: 14262
-
-

9 years 9 months ago -  9 years 9 months ago [\#258459](#258459) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Editing of both Invoice and Shipping Invoice](/forum/35-orders-management/888075-editing-of-both-invoice-and-shipping-invoice#258459 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.5.30 -- Browser(s) name and version -- : chrome  Hello  I want to add the customers email address to both the front end and back end invoices.  Also, I don't want to show either the customers telephone number or their email address on the shipping invoice only.  Editing the address&#95;template affects both the look of the invoice and the shipping invoice. How do I edit the shipping invoice only? Am I missing something here?  Thanks for your help in advance.")*

Hi,

You can add such code: Code:

&lt;?php if($this-&gt;invoice_type=='full'){ echo $this-&gt;element-&gt;billing_address-&gt;address_telephone; echo $this-&gt;element-&gt;customer-&gt;user_email; } ?&gt;

Please understand that customization is not part of user support. We can give hints but if you need someone to customize the display, please contact a PHP developer who will be able to do that for you.

Last edit: 9 years 9 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

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

Less More

- Posts: 23
- Thank you received: 0
-
-

6 years 7 months ago [\#316095](#316095) by [dmccrearyhika](/forum/user/32373-dmccrearyhika "View dmccrearyhika's Profile")  Replied by *[dmccrearyhika](/forum/user/32373-dmccrearyhika "View dmccrearyhika's Profile")* on topic *[Editing of both Invoice and Shipping Invoice](/forum/35-orders-management/888075-editing-of-both-invoice-and-shipping-invoice#316095 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.5.30 -- Browser(s) name and version -- : chrome  Hello  I want to add the customers email address to both the front end and back end invoices.  Also, I don't want to show either the customers telephone number or their email address on the shipping invoice only.  Editing the address&#95;template affects both the look of the invoice and the shipping invoice. How do I edit the shipping invoice only? Am I missing something here?  Thanks for your help in advance.")*

I need to add custom text copy to the PDF invoice attachment. Sample attached. I tried to edit Display &gt; Views &gt; hikamarket - invoice but can't get my copy to show up in the PDF.

Where to edit this? And Shipping Invoice????

This is what I want to appear below the line t hat says
Your membership account will be billed for the purchase.

RETURNS/EXCHANGES
If you would like to return or exchange any item(s) from your order, please send to the below address with your name, member number and a brief explanation if this is for return or exchange. All returns/exchanges must occur within 30 days of receipt.

Margaret Timpson
Club Merchandise Manager
New York Yacht Club
37 West 44th Street
New York, NY 10036
212-201-4330

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4ODA3NS1lZGl0aW5nLW9mLWJvdGgtaW52b2ljZS1hbmQtc2hpcHBpbmctaW52b2ljZT90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86283
- Thank you received: 14262
-
-

6 years 7 months ago [\#316097](#316097) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Editing of both Invoice and Shipping Invoice](/forum/35-orders-management/888075-editing-of-both-invoice-and-shipping-invoice#316097 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.4 -- PHP version -- : 5.5.30 -- Browser(s) name and version -- : chrome  Hello  I want to add the customers email address to both the front end and back end invoices.  Also, I don't want to show either the customers telephone number or their email address on the shipping invoice only.  Editing the address&#95;template affects both the look of the invoice and the shipping invoice. How do I edit the shipping invoice only? Am I missing something here?  Thanks for your help in advance.")*

Hi,

The PDF invoice cannot be edited via the interface in the backend. You need to edit the file plugins/attachinvoice/attachinvoice/invoice.php, or its override file media/com_hikashop/plugins/invoice.php

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

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

[](#top)
