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

#   Invoice format not same in front and back end

##

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

Less More

- Posts: 33
- Thank you received: 2
-
-

6 years 5 months ago [\#320458](#320458) by [softdune](/forum/user/58135-softdune "View softdune's Profile")  *[Invoice format not same in front and back end](/forum/35-orders-management/900110-invoice-format-not-same-in-front-and-back-end#320458 "-- url of the page with the problem -- :   www.softdune.com  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.3.18 -- Browser(s) name and version -- : Chrome  I did some customization in the back orders (added text and logo's) using invoice.php  From the front end the users can print the invoice through My Orders/Actions/Print Invoice  Is there a way that this front end invoice is the same as when created from the back end?")* was created by *[softdune](/forum/user/58135-softdune "View softdune's Profile")*

-- url of the page with the problem -- : [ www.softdune.com](http://www.softdune.com)
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.18
-- PHP version -- : 7.3.18
-- Browser(s) name and version -- : Chrome

I did some customization in the back orders (added text and logo's) using invoice.php

From the front end the users can print the invoice through My Orders/Actions/Print Invoice

Is there a way that this front end invoice is the same as when created from the back end?

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

Less More

- Posts: 86583
- Thank you received: 14324
-
-

6 years 5 months ago [\#320461](#320461) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Invoice format not same in front and back end](/forum/35-orders-management/900110-invoice-format-not-same-in-front-and-back-end#320461 "-- url of the page with the problem -- :   www.softdune.com  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.3.18 -- Browser(s) name and version -- : Chrome  I did some customization in the back orders (added text and logo's) using invoice.php  From the front end the users can print the invoice through My Orders/Actions/Print Invoice  Is there a way that this front end invoice is the same as when created from the back end?")*

Hi,

Yes, you need to do the same customization in the order / show.php view file for your frontend template.
Note that the customization might vary since on your frontend, you have the CSS of your template to take into account when you do CSS customization.
Otherwise, if you use the PDF invoice plugin, both frontend and backend will use the same base for the PDF. Note however, that it bases itself on again another view, which would have to be customized again if you were to use it.

The following user(s) said Thank You: [OnslaughtUK](/forum/user/59959-onslaughtuk "View OnslaughtUK's Profile")

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

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

Less More

- Posts: 33
- Thank you received: 2
-
-

6 years 5 months ago [\#320474](#320474) by [softdune](/forum/user/58135-softdune "View softdune's Profile")  Replied by *[softdune](/forum/user/58135-softdune "View softdune's Profile")* on topic *[Invoice format not same in front and back end](/forum/35-orders-management/900110-invoice-format-not-same-in-front-and-back-end#320474 "-- url of the page with the problem -- :   www.softdune.com  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.3.18 -- Browser(s) name and version -- : Chrome  I did some customization in the back orders (added text and logo's) using invoice.php  From the front end the users can print the invoice through My Orders/Actions/Print Invoice  Is there a way that this front end invoice is the same as when created from the back end?")*

I'm considering taking the PDF Invoice plugin.

If I understand you correctly this is not taking the invoice.php as basis to create the invoice output.
If so, what is the used base?

just a thought: why is the OOTB not using all the same base to create the invoices. It would be much easier to maintain.

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

Less More

- Posts: 86583
- Thank you received: 14324
-
-

6 years 5 months ago [\#320483](#320483) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Invoice format not same in front and back end](/forum/35-orders-management/900110-invoice-format-not-same-in-front-and-back-end#320483 "-- url of the page with the problem -- :   www.softdune.com  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.3.18 -- Browser(s) name and version -- : Chrome  I did some customization in the back orders (added text and logo's) using invoice.php  From the front end the users can print the invoice through My Orders/Actions/Print Invoice  Is there a way that this front end invoice is the same as when created from the back end?")*

Hi,

Yes, it's using its own invoice.php. You'll find it in the folder plugins/hikashop/attachinvoice/attachinvoice/ after you install the plugin so you'll be able to customize it there.

I don't know what you mean by OOTB.
The reason it uses two different files for the invoice is because we're allowing you to have a template override and thus the invoice layout is a normal view file. In that case, the way the MVC system of Joomla works, you can't use a backend view file on the frontend and vice-versa. So we had to have to different view files.

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

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

Less More

- Posts: 33
- Thank you received: 2
-
-

6 years 5 months ago [\#321063](#321063) by [softdune](/forum/user/58135-softdune "View softdune's Profile")  Replied by *[softdune](/forum/user/58135-softdune "View softdune's Profile")* on topic *[Invoice format not same in front and back end](/forum/35-orders-management/900110-invoice-format-not-same-in-front-and-back-end#321063 "-- url of the page with the problem -- :   www.softdune.com  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.3.18 -- Browser(s) name and version -- : Chrome  I did some customization in the back orders (added text and logo's) using invoice.php  From the front end the users can print the invoice through My Orders/Actions/Print Invoice  Is there a way that this front end invoice is the same as when created from the back end?")*

Just an additional question on this before I customize the plugin invoice.php file in plugins/hikashop/attachinvoice/attachinvoice/

Do I do this directly in the above (with FTP) or is there a possibility to do the customization from within Hikashop through display/views ?

ps: sry about the OOTB abreviation. It stands for Out-Of-The-Box (= how the software is delivered standard)

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

Less More

- Posts: 86583
- Thank you received: 14324
-
-

6 years 5 months ago [\#321093](#321093) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Invoice format not same in front and back end](/forum/35-orders-management/900110-invoice-format-not-same-in-front-and-back-end#321093 "-- url of the page with the problem -- :   www.softdune.com  -- HikaShop version -- : 4.3.0 -- Joomla version -- : 3.9.18 -- PHP version -- : 7.3.18 -- Browser(s) name and version -- : Chrome  I did some customization in the back orders (added text and logo's) using invoice.php  From the front end the users can print the invoice through My Orders/Actions/Print Invoice  Is there a way that this front end invoice is the same as when created from the back end?")*

Hi,

You can do it through Display&gt;Views so yes you can do it via FTP.

PS: thanks for the explanation. My mother tongue is not English, so I'm not well versed in such abbreviations.

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

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