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

#   include an article at the end of the invoice

##

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

Less More

- Posts: 83
- Thank you received: 10
-
-

14 years 3 months ago [\#59207](#59207) by [jrod](/forum/user/8164-jrod "View jrod's Profile")  *[include an article at the end of the invoice](/forum/4-how-to/59207-include-an-article-at-the-end-of-the-invoice#59207 "I have an article called &quot;Rental Agreement&quot; its article id is 72.  How can I include the rental agreement at the end of the invoice.  What to write at the end of the order/invoice.php file?")* was created by *[jrod](/forum/user/8164-jrod "View jrod's Profile")*

I have an article called "Rental Agreement" its article id is 72.

How can I include the rental agreement at the end of the invoice.

What to write at the end of the order/invoice.php file?

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

14 years 3 months ago [\#59256](#59256) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: include an article at the end of the invoice](/forum/4-how-to/59207-include-an-article-at-the-end-of-the-invoice#59256 "I have an article called &quot;Rental Agreement&quot; its article id is 72.  How can I include the rental agreement at the end of the invoice.  What to write at the end of the order/invoice.php file?")*

You should use that plugin:
[ www.nonumber.nl/extensions/articlesanywhere](http://www.nonumber.nl/extensions/articlesanywhere)
That way you can just add a simple tag at the end of the view file and it will work automatically.

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

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

Less More

- Posts: 83
- Thank you received: 10
-
-

14 years 2 months ago -  14 years 2 months ago [\#66691](#66691) by [jrod](/forum/user/8164-jrod "View jrod's Profile")  Replied by *[jrod](/forum/user/8164-jrod "View jrod's Profile")* on topic *[Re: include an article at the end of the invoice](/forum/4-how-to/59207-include-an-article-at-the-end-of-the-invoice#66691 "I have an article called &quot;Rental Agreement&quot; its article id is 72.  How can I include the rental agreement at the end of the invoice.  What to write at the end of the order/invoice.php file?")*

When I add the article at the end:

[ ![custom&#95;invoice&#95;articleatend&#95;2012-09-21.png](/forum/attachment/5889) ](/forum/attachment/5889 "...2012-09-21.png")

Then it shows this:

[ ![custom&#95;invoice&#95;articleatend2.png](/forum/attachment/5888) ](/forum/attachment/5888 "...icleatend2.png")

and not the desired article.

Articles anywhere works on the site elsewhere.

- [ ![custom&#95;invoice&#95;articleatend.png](/forum/attachment/5887) ](/forum/attachment/5887 "...ticleatend.png") [ ](/forum/attachment/5887?download=1 "...ticleatend.png")
- [ ![custom&#95;invoice&#95;articleatend2.png](/forum/attachment/5888) ](/forum/attachment/5888 "...icleatend2.png") [ ](/forum/attachment/5888?download=1 "...icleatend2.png")
- [ ![custom&#95;invoice&#95;articleatend&#95;2012-09-21.png](/forum/attachment/5889) ](/forum/attachment/5889 "...2012-09-21.png") [ ](/forum/attachment/5889?download=1 "...2012-09-21.png")

Last edit: 14 years 2 months ago by [jrod](/forum/user/8164-jrod "View jrod's Profile").

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

14 years 2 months ago [\#66927](#66927) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: include an article at the end of the invoice](/forum/4-how-to/59207-include-an-article-at-the-end-of-the-invoice#66927 "I have an article called &quot;Rental Agreement&quot; its article id is 72.  How can I include the rental agreement at the end of the invoice.  What to write at the end of the order/invoice.php file?")*

Looking online, it sounds like Articles Anywhere only works on the frontend:
[ old.nonumber.nl/component/kunena/5-artic...nistrator-pages?ml=1](http://old.nonumber.nl/component/kunena/5-articles-anywhere/23364-process-of-administrator-pages?ml=1)

In that case there is no easy method.
The simplest is the to copy the HTML of your article and add it where you had added the article anywhere tags.
Otherwise, you would have to add some custom joomla code:
[ forum.joomla.org/viewtopic.php?t=525350](http://forum.joomla.org/viewtopic.php?t=525350)
Just replace 'title' by 'fulltext'

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

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

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

Less More

- Posts: 83
- Thank you received: 10
-
-

14 years 1 month ago [\#67052](#67052) by [jrod](/forum/user/8164-jrod "View jrod's Profile")  Replied by *[jrod](/forum/user/8164-jrod "View jrod's Profile")* on topic *[Re: include an article at the end of the invoice](/forum/4-how-to/59207-include-an-article-at-the-end-of-the-invoice#67052 "I have an article called &quot;Rental Agreement&quot; its article id is 72.  How can I include the rental agreement at the end of the invoice.  What to write at the end of the order/invoice.php file?")*

This worked perfectly.
I added

{code}
&lt;?php
$article =&amp; JTable::getInstance("content");
$article-&gt;load(87);
echo $article-&gt;get("introtext");
?&gt;
{/code}

to the bottom of the invoice, and now the "Terms and Conditions" are included in the invoice.
the Terms and Conditions are located in an article, so the client can easily amended them and update them.

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

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