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

#   Change content of invoice

##

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

Less More

- Posts: 35
- Thank you received: 0
-
-

13 years 6 months ago [\#98737](#98737) by [LoonyTune](/forum/user/13745-loonytune "View LoonyTune's Profile")  *[Change content of invoice](/forum/4-how-to/80296-change-content-of-invoice#98737 "Hi all  I have done a quick search but cannot find the right answer to my question (or I didn't understand it!! :( )  I have the free edition of the excellent Hikashop.  What I would like to do is have the ability to alter the text within the invoice to add a greeting or latest news/offers. Plus, how would I go about adding the order number to the invoice as my customers will only have an invoice number once they've paid and the invoice does not include the order number  Thanks in advance for your help  Cheers  LT")* was created by *[LoonyTune](/forum/user/13745-loonytune "View LoonyTune's Profile")*

Hi all

I have done a quick search but cannot find the right answer to my question (or I didn't understand it!! ![:(](/media/kunena/emoticons/5.png ":(") )

I have the free edition of the excellent Hikashop.

What I would like to do is have the ability to alter the text within the invoice to add a greeting or latest news/offers. Plus, how would I go about adding the order number to the invoice as my customers will only have an invoice number once they've paid and the invoice does not include the order number

Thanks in advance for your help

Cheers

LT

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 6 months ago [\#98771](#98771) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Change content of invoice](/forum/4-how-to/80296-change-content-of-invoice#98771 "Hi all  I have done a quick search but cannot find the right answer to my question (or I didn't understand it!! :( )  I have the free edition of the excellent Hikashop.  What I would like to do is have the ability to alter the text within the invoice to add a greeting or latest news/offers. Plus, how would I go about adding the order number to the invoice as my customers will only have an invoice number once they've paid and the invoice does not include the order number  Thanks in advance for your help  Cheers  LT")*

Hi,

To change the text of the invoice, you can edit the view "order / show".
In this view, you should be able to see that it's used for the order and for the invoice, only some variables are in only one.

So you can use the order number to put it in the invoice part.

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

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

Less More

- Posts: 35
- Thank you received: 0
-
-

13 years 6 months ago -  13 years 6 months ago [\#98942](#98942) by [LoonyTune](/forum/user/13745-loonytune "View LoonyTune's Profile")  Replied by *[LoonyTune](/forum/user/13745-loonytune "View LoonyTune's Profile")* on topic *[Change content of invoice](/forum/4-how-to/80296-change-content-of-invoice#98942 "Hi all  I have done a quick search but cannot find the right answer to my question (or I didn't understand it!! :( )  I have the free edition of the excellent Hikashop.  What I would like to do is have the ability to alter the text within the invoice to add a greeting or latest news/offers. Plus, how would I go about adding the order number to the invoice as my customers will only have an invoice number once they've paid and the invoice does not include the order number  Thanks in advance for your help  Cheers  LT")*

Hi Xavier, yet again!!

Thanks for the reply. I have found the file you refer to. I'm not good with php, however, I notice a line at the top of the page that refers to the invoice and order number. However, it has an else statement so my understanding is that as it stands, it will show either, not both.

Would you be kind enough to advise how I would go about changing this to show both by default please
Code:

&lt;div class="header hikashop_header_title"&gt; &lt;h1&gt; &lt;?php if($this-&gt;invoice_type=='order'){ echo JText::_('HIKASHOP_ORDER').':'.$this-&gt;element-&gt;order_number; }else{ echo JText::_('INVOICE').':'.$this-&gt;element-&gt;order_invoice_number; } ?&gt; &lt;/h1&gt; &lt;/div&gt;

and
Code:

&lt;div id="hikashop_order_right_part" class="hikashop_order_right_part"&gt; &lt;?php echo JText::_('DATE').': '.hikashop_getDate($this-&gt;element-&gt;order_created,'%d %B %Y ');?&gt;&lt;br/&gt; &lt;?php if($this-&gt;invoice_type=='order'){ echo JText::_('HIKASHOP_ORDER'); echo ': '.@$this-&gt;element-&gt;order_number; }else{ echo JText::_(strtoupper($this-&gt;invoice_type)); echo ': '.@$this-&gt;element-&gt;order_invoice_number; } ?&gt; &lt;/div&gt;

Thanks again Xavier

Last edit: 13 years 6 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 6 months ago -  13 years 6 months ago [\#99109](#99109) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Change content of invoice](/forum/4-how-to/80296-change-content-of-invoice#99109 "Hi all  I have done a quick search but cannot find the right answer to my question (or I didn't understand it!! :( )  I have the free edition of the excellent Hikashop.  What I would like to do is have the ability to alter the text within the invoice to add a greeting or latest news/offers. Plus, how would I go about adding the order number to the invoice as my customers will only have an invoice number once they've paid and the invoice does not include the order number  Thanks in advance for your help  Cheers  LT")*

Hi,

To always have both, you have to remove the if / else statement like: Code:

&lt;div class="header hikashop_header_title"&gt; &lt;h1&gt; &lt;?php echo JText::_('HIKASHOP_ORDER').':'.@$this-&gt;element-&gt;order_number; echo JText::_('INVOICE').':'.@$this-&gt;element-&gt;order_invoice_number; ?&gt; &lt;/h1&gt; &lt;/div&gt;

And Code:

&lt;div id="hikashop_order_right_part" class="hikashop_order_right_part"&gt; &lt;?php echo JText::_('DATE').': '.hikashop_getDate($this-&gt;element-&gt;order_created,'%d %B %Y ');?&gt;&lt;br/&gt; &lt;?php if(isset($this-&gt;element-&gt;order_number){ echo JText::_('HIKASHOP_ORDER'); echo ': '.@$this-&gt;element-&gt;order_number; }elseif(isset($this-&gt;element-&gt;order_invoice_number)){ echo JText::_(strtoupper($this-&gt;invoice_type)); echo ': '.@$this-&gt;element-&gt;order_invoice_number; } ?&gt; &lt;/div

Last edit: 13 years 6 months ago by [Xavier](/forum/user/4105-xavier "View Xavier's Profile").

The following user(s) said Thank You: [LoonyTune](/forum/user/13745-loonytune "View LoonyTune's Profile")

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

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

Less More

- Posts: 35
- Thank you received: 0
-
-

13 years 6 months ago [\#99276](#99276) by [LoonyTune](/forum/user/13745-loonytune "View LoonyTune's Profile")  Replied by *[LoonyTune](/forum/user/13745-loonytune "View LoonyTune's Profile")* on topic *[Change content of invoice](/forum/4-how-to/80296-change-content-of-invoice#99276 "Hi all  I have done a quick search but cannot find the right answer to my question (or I didn't understand it!! :( )  I have the free edition of the excellent Hikashop.  What I would like to do is have the ability to alter the text within the invoice to add a greeting or latest news/offers. Plus, how would I go about adding the order number to the invoice as my customers will only have an invoice number once they've paid and the invoice does not include the order number  Thanks in advance for your help  Cheers  LT")*

Thanks again Xavier

Edited the lines as per above in my templates, but when I added a new order, the invoice still only gave me the invoice number.

I don't have to edit the other templates as well do I?

Thanks for all your support over the months, it has been invaluable

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 6 months ago [\#99366](#99366) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Change content of invoice](/forum/4-how-to/80296-change-content-of-invoice#99366 "Hi all  I have done a quick search but cannot find the right answer to my question (or I didn't understand it!! :( )  I have the free edition of the excellent Hikashop.  What I would like to do is have the ability to alter the text within the invoice to add a greeting or latest news/offers. Plus, how would I go about adding the order number to the invoice as my customers will only have an invoice number once they've paid and the invoice does not include the order number  Thanks in advance for your help  Cheers  LT")*

Hi,

You probably have to edit too the view "order / invoice" to add the order number.
And be sure that you are editing in the good template.

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

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

Less More

- Posts: 35
- Thank you received: 0
-
-

13 years 6 months ago [\#99473](#99473) by [LoonyTune](/forum/user/13745-loonytune "View LoonyTune's Profile")  Replied by *[LoonyTune](/forum/user/13745-loonytune "View LoonyTune's Profile")* on topic *[Change content of invoice](/forum/4-how-to/80296-change-content-of-invoice#99473 "Hi all  I have done a quick search but cannot find the right answer to my question (or I didn't understand it!! :( )  I have the free edition of the excellent Hikashop.  What I would like to do is have the ability to alter the text within the invoice to add a greeting or latest news/offers. Plus, how would I go about adding the order number to the invoice as my customers will only have an invoice number once they've paid and the invoice does not include the order number  Thanks in advance for your help  Cheers  LT")*

Hi Xavier.

Thanks for the reply again

The only invoice files I have are for the back end in the pre-installed templates, not the ones I'm working from.

Cheers

LT

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzgwMjk2LWNoYW5nZS1jb250ZW50LW9mLWludm9pY2U/dG1wbD1tYXJrZG93bg==) 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: 86315
- Thank you received: 14276
-
-

13 years 6 months ago [\#99615](#99615) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Change content of invoice](/forum/4-how-to/80296-change-content-of-invoice#99615 "Hi all  I have done a quick search but cannot find the right answer to my question (or I didn't understand it!! :( )  I have the free edition of the excellent Hikashop.  What I would like to do is have the ability to alter the text within the invoice to add a greeting or latest news/offers. Plus, how would I go about adding the order number to the invoice as my customers will only have an invoice number once they've paid and the invoice does not include the order number  Thanks in advance for your help  Cheers  LT")*

It's "order/show" for the frontend template.

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

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

Less More

- Posts: 35
- Thank you received: 0
-
-

13 years 6 months ago [\#99853](#99853) by [LoonyTune](/forum/user/13745-loonytune "View LoonyTune's Profile")  Replied by *[LoonyTune](/forum/user/13745-loonytune "View LoonyTune's Profile")* on topic *[Change content of invoice](/forum/4-how-to/80296-change-content-of-invoice#99853 "Hi all  I have done a quick search but cannot find the right answer to my question (or I didn't understand it!! :( )  I have the free edition of the excellent Hikashop.  What I would like to do is have the ability to alter the text within the invoice to add a greeting or latest news/offers. Plus, how would I go about adding the order number to the invoice as my customers will only have an invoice number once they've paid and the invoice does not include the order number  Thanks in advance for your help  Cheers  LT")*

Cheers nioclas.

That was the file I changed originally, but when I go to view/print an invoice, the order number is not displayed. I copied and pasted the code from above, but this hasn't changed the output

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 6 months ago [\#99927](#99927) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Change content of invoice](/forum/4-how-to/80296-change-content-of-invoice#99927 "Hi all  I have done a quick search but cannot find the right answer to my question (or I didn't understand it!! :( )  I have the free edition of the excellent Hikashop.  What I would like to do is have the ability to alter the text within the invoice to add a greeting or latest news/offers. Plus, how would I go about adding the order number to the invoice as my customers will only have an invoice number once they've paid and the invoice does not include the order number  Thanks in advance for your help  Cheers  LT")*

Hi,

You have to cut/paste the code: Code:

&lt;div class="header hikashop_header_title"&gt; &lt;h1&gt; &lt;?php echo JText::_('HIKASHOP_ORDER').':'.@$this-&gt;element-&gt;order_number; echo JText::_('INVOICE').':'.@$this-&gt;element-&gt;order_invoice_number; ?&gt; &lt;/h1&gt; &lt;/div&gt;

Before: Code:

&lt;?php if($this-&gt;invoice_type=='order'){?&gt;

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

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

Less More

- Posts: 35
- Thank you received: 0
-
-

13 years 6 months ago [\#100092](#100092) by [LoonyTune](/forum/user/13745-loonytune "View LoonyTune's Profile")  Replied by *[LoonyTune](/forum/user/13745-loonytune "View LoonyTune's Profile")* on topic *[Change content of invoice](/forum/4-how-to/80296-change-content-of-invoice#100092 "Hi all  I have done a quick search but cannot find the right answer to my question (or I didn't understand it!! :( )  I have the free edition of the excellent Hikashop.  What I would like to do is have the ability to alter the text within the invoice to add a greeting or latest news/offers. Plus, how would I go about adding the order number to the invoice as my customers will only have an invoice number once they've paid and the invoice does not include the order number  Thanks in advance for your help  Cheers  LT")*

I don't know what I'm doing wrong here, but still only invoice number showing in the invoice.

In my frontend template, I have added/edited the following code:

&lt;div id="hikashop_order_main"&gt;
&lt;fieldset&gt;&lt;div class="header hikashop_header_title"&gt;
&lt;h1&gt;
&lt;?php
echo JText::_('HIKASHOP_ORDER').':'.@$this-&gt;element-&gt;order_number;
echo JText::_('INVOICE').':'.@$this-&gt;element-&gt;order_invoice_number;
?&gt;
&lt;/h1&gt;
&lt;/div&gt;
&lt;?php if($this-&gt;invoice_type=='order'){?&gt;

and:

&lt;div id="hikashop_order_right_part" class="hikashop_order_right_part"&gt;

&lt;?php echo JText::_('DATE').': '.hikashop_getDate($this-&gt;element-&gt;order_created,'%d %B %Y ');?&gt;&lt;br/&gt;
&lt;?php if(isset($this-&gt;element-&gt;order_number){
echo JText::_('HIKASHOP_ORDER');
echo ': '.@$this-&gt;element-&gt;order_number;
}elseif(isset($this-&gt;element-&gt;order_invoice_number)){
echo JText::_(strtoupper($this-&gt;invoice_type));
echo ': '.@$this-&gt;element-&gt;order_invoice_number;
}
?&gt; &lt;/div&gt;

to no avail.

Xavier/Nicolas, thanks heaps for the time you've spent with this. Any ideas where I'm going wrong?

Template is A4Joomla-twighlight free, Joomla version is 2.5.9

Cheers

LT

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 6 months ago -  13 years 6 months ago [\#100236](#100236) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Change content of invoice](/forum/4-how-to/80296-change-content-of-invoice#100236 "Hi all  I have done a quick search but cannot find the right answer to my question (or I didn't understand it!! :( )  I have the free edition of the excellent Hikashop.  What I would like to do is have the ability to alter the text within the invoice to add a greeting or latest news/offers. Plus, how would I go about adding the order number to the invoice as my customers will only have an invoice number once they've paid and the invoice does not include the order number  Thanks in advance for your help  Cheers  LT")*

Oups my mistake, what you were editing is the page title not the number in the invoir, thanks to edit the code: Code:

&lt;?php echo JText::_('DATE').': '.hikashop_getDate($this-&gt;element-&gt;order_created,'%d %B %Y ');?&gt;&lt;br/&gt; &lt;?php if($this-&gt;invoice_type=='order'){ echo JText::_('HIKASHOP_ORDER'); echo ': '.@$this-&gt;element-&gt;order_number; }else{ echo JText::_(strtoupper($this-&gt;invoice_type)); echo ': '.@$this-&gt;element-&gt;order_invoice_number; } ?&gt;

To: Code:

&lt;?php echo JText::_('DATE').': '.hikashop_getDate($this-&gt;element-&gt;order_created,'%d %B %Y ');?&gt;&lt;br/&gt; &lt;?php if($this-&gt;invoice_type=='order'){ echo JText::_('HIKASHOP_ORDER'); echo ': '.@$this-&gt;element-&gt;order_number; }else{ echo JText::_('HIKASHOP_ORDER'); echo ': '.@$this-&gt;element-&gt;order_number; echo '&lt;br/&gt;'; echo JText::_('INVOICE'); echo ': '.@$this-&gt;element-&gt;order_invoice_number; } ?&gt;

Last edit: 13 years 6 months ago by [Xavier](/forum/user/4105-xavier "View Xavier's Profile").

The following user(s) said Thank You: [LoonyTune](/forum/user/13745-loonytune "View LoonyTune's Profile")

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

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

Less More

- Posts: 35
- Thank you received: 0
-
-

13 years 6 months ago [\#100423](#100423) by [LoonyTune](/forum/user/13745-loonytune "View LoonyTune's Profile")  Replied by *[LoonyTune](/forum/user/13745-loonytune "View LoonyTune's Profile")* on topic *[Change content of invoice](/forum/4-how-to/80296-change-content-of-invoice#100423 "Hi all  I have done a quick search but cannot find the right answer to my question (or I didn't understand it!! :( )  I have the free edition of the excellent Hikashop.  What I would like to do is have the ability to alter the text within the invoice to add a greeting or latest news/offers. Plus, how would I go about adding the order number to the invoice as my customers will only have an invoice number once they've paid and the invoice does not include the order number  Thanks in advance for your help  Cheers  LT")*

Hi Xavier

When the order is created, the order number is the invoice number. However, when the order is shipped, the invoice number is different and the order number is not on the invoice.

I would like the order number to be rather the invoice number as well, or, the order number to appear on the invoice.

Although you have helped a lot, this last edit hasn't worked.

Thanks for all your time

LT

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 6 months ago [\#100731](#100731) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Change content of invoice](/forum/4-how-to/80296-change-content-of-invoice#100731 "Hi all  I have done a quick search but cannot find the right answer to my question (or I didn't understand it!! :( )  I have the free edition of the excellent Hikashop.  What I would like to do is have the ability to alter the text within the invoice to add a greeting or latest news/offers. Plus, how would I go about adding the order number to the invoice as my customers will only have an invoice number once they've paid and the invoice does not include the order number  Thanks in advance for your help  Cheers  LT")*

Hi,

The code given should do the job, it display the order number on the invoice.
In case of order display, only the order number is present, and if invoice, the both numbers are present.

You can try to edit a little the code to have what you need, it require some php knowledge.
Try to make this modification in the view "order / invoice" (backend template) too.

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

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

[](#top)
