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

#   Price column width in PDF invoice

##

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

Less More

- Posts: 5
- Thank you received: 0
-
-

3 years 1 week ago [\#356966](#356966) by [Bert@](/forum/user/79392-bert "View Bert@'s Profile")  *[Price column width in PDF invoice](/forum/35-orders-management/907342-price-column-width-in-pdf-invoice#356966 "-- HikaShop version -- : 5.0.1 -- Joomla version -- : 4.4.0 -- PHP version -- : 8.2 -- Browser(s) name and version -- : Firefox 120.0 -- Error-message(debug-mod must be tuned on) -- : No errror message  &#93;I started using HikaShop for the first time. Installed the latest version (ESSENTIAL) on a Joomla! 4.4.0. There is a problem with the width of the price column in the PDF invoice. The € sign is above the price (see image).  I am searching for a solution for a couple of hours without any luck. Can someone give me a suggestion in which file I have to change code?  Any help is appreciated! Bert")* was created by *[Bert@](/forum/user/79392-bert "View Bert@'s Profile")*

-- HikaShop version -- : 5.0.1
-- Joomla version -- : 4.4.0
-- PHP version -- : 8.2
-- Browser(s) name and version -- : Firefox 120.0
-- Error-message(debug-mod must be tuned on) -- : No errror message

]I started using HikaShop for the first time. Installed the latest version (ESSENTIAL) on a Joomla! 4.4.0.
There is a problem with the width of the price column in the PDF invoice. The € sign is above the price (see image).

I am searching for a solution for a couple of hours without any luck.
Can someone give me a suggestion in which file I have to change code?

Any help is appreciated!
Bert

[ ![hikashop-pdf-invoice.png](/forum/attachment/58270) ](/forum/attachment/58270 "...df-invoice.png")

- [ ![hikashop-pdf-invoice.png](/forum/attachment/58270) ](/forum/attachment/58270 "...df-invoice.png") [ ](/forum/attachment/58270?download=1 "...df-invoice.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNzM0Mi1wcmljZS1jb2x1bW4td2lkdGgtaW4tcGRmLWludm9pY2U/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: 86593
- Thank you received: 14334
-
-

3 years 1 week ago [\#356967](#356967) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Price column width in PDF invoice](/forum/35-orders-management/907342-price-column-width-in-pdf-invoice#356967 "-- HikaShop version -- : 5.0.1 -- Joomla version -- : 4.4.0 -- PHP version -- : 8.2 -- Browser(s) name and version -- : Firefox 120.0 -- Error-message(debug-mod must be tuned on) -- : No errror message  &#93;I started using HikaShop for the first time. Installed the latest version (ESSENTIAL) on a Joomla! 4.4.0. There is a problem with the width of the price column in the PDF invoice. The € sign is above the price (see image).  I am searching for a solution for a couple of hours without any luck. Can someone give me a suggestion in which file I have to change code?  Any help is appreciated! Bert")*

Hi,

One easy solution you could try is to change your currency format settings via the System&gt;Currencies menu. You could either remove the space between the symbol and the price, or change it to Code:

&amp;nbsp;

which is a HTML code space.

Now, you could also set the width of the column, in the invoice template file. In the files of the folder plugins/hikashop/attachinvoice/attachinvoice/ you can find a line like this: Code:

&lt;th style="width:100px" class="price"&gt;

which defines the width of the total price column on your screenshot.
So you could copy the file to media/com_hikashop/plugins/ via FTP and modify your copy so that it becomes an override of the default invoice template file. Then, you can modify your template and you're done.

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

3 years 1 week ago [\#356979](#356979) by [Bert@](/forum/user/79392-bert "View Bert@'s Profile")  Replied by *[Bert@](/forum/user/79392-bert "View Bert@'s Profile")* on topic *[Price column width in PDF invoice](/forum/35-orders-management/907342-price-column-width-in-pdf-invoice#356979 "-- HikaShop version -- : 5.0.1 -- Joomla version -- : 4.4.0 -- PHP version -- : 8.2 -- Browser(s) name and version -- : Firefox 120.0 -- Error-message(debug-mod must be tuned on) -- : No errror message  &#93;I started using HikaShop for the first time. Installed the latest version (ESSENTIAL) on a Joomla! 4.4.0. There is a problem with the width of the price column in the PDF invoice. The € sign is above the price (see image).  I am searching for a solution for a couple of hours without any luck. Can someone give me a suggestion in which file I have to change code?  Any help is appreciated! Bert")*

Hello,

If I remove the space the column is fine but the correct way is with the space.
To accomplish this I have to make the width of the column bigger.

I can not find the template invoice file.

In the **plugins/hikashop/** folder is no folder or file with the name: attachinvoice.
same for the folder **media/com\_hikashop/** there in no plugins folder.

Can you give me a suggestion where this **invoice template file** could be located?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNzM0Mi1wcmljZS1jb2x1bW4td2lkdGgtaW4tcGRmLWludm9pY2U/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: 86593
- Thank you received: 14334
-
-

3 years 1 week ago [\#356983](#356983) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Price column width in PDF invoice](/forum/35-orders-management/907342-price-column-width-in-pdf-invoice#356983 "-- HikaShop version -- : 5.0.1 -- Joomla version -- : 4.4.0 -- PHP version -- : 8.2 -- Browser(s) name and version -- : Firefox 120.0 -- Error-message(debug-mod must be tuned on) -- : No errror message  &#93;I started using HikaShop for the first time. Installed the latest version (ESSENTIAL) on a Joomla! 4.4.0. There is a problem with the width of the price column in the PDF invoice. The € sign is above the price (see image).  I am searching for a solution for a couple of hours without any luck. Can someone give me a suggestion in which file I have to change code?  Any help is appreciated! Bert")*

Hi,

It's not possible you don't have the attachinvoice folder there if you're using the PDF invoice plugin:
[ www.hikashop.com/marketplace/product/18-plugin-pdf.html](https://www.hikashop.com/marketplace/product/18-plugin-pdf.html)
So please double check.

Or maybe you're actually not using this plugin ? But in that case the invoice generated by HikaShop is not a PDF. it's an HTML page. In that case, you can use some simple CSS to tweak the look.
Here is a documentation on how to add custom CSS to HikaShop:
[ www.hikashop.com/support/documentation/1...ize-the-display.html](https://www.hikashop.com/support/documentation/153-customize-the-display.html)
With the developer tools of your browser, you should be able to find the class/id to use to customize this column to your needs.
You could also create a view override to change the HTML. This documentation also covers this, but I think it's better to add custom CSS than view overrides as it will be easier to maintain for you in the future.

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

3 years 6 days ago [\#357035](#357035) by [Bert@](/forum/user/79392-bert "View Bert@'s Profile")  Replied by *[Bert@](/forum/user/79392-bert "View Bert@'s Profile")* on topic *[Price column width in PDF invoice](/forum/35-orders-management/907342-price-column-width-in-pdf-invoice#357035 "-- HikaShop version -- : 5.0.1 -- Joomla version -- : 4.4.0 -- PHP version -- : 8.2 -- Browser(s) name and version -- : Firefox 120.0 -- Error-message(debug-mod must be tuned on) -- : No errror message  &#93;I started using HikaShop for the first time. Installed the latest version (ESSENTIAL) on a Joomla! 4.4.0. There is a problem with the width of the price column in the PDF invoice. The € sign is above the price (see image).  I am searching for a solution for a couple of hours without any luck. Can someone give me a suggestion in which file I have to change code?  Any help is appreciated! Bert")*

I realize now that I do not have a PDF plugin.
The invoice Popup is HTML. In the HTML the column is to small and I was using the PDF printer on my computer.

I have to find the CSS file and find out which code I have to change.
Is it correct that if I know which line I have to change that I can write the new code in backand_custom.css?

Bert

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

3 years 6 days ago [\#357038](#357038) by [Bert@](/forum/user/79392-bert "View Bert@'s Profile")  Replied by *[Bert@](/forum/user/79392-bert "View Bert@'s Profile")* on topic *[Price column width in PDF invoice](/forum/35-orders-management/907342-price-column-width-in-pdf-invoice#357038 "-- HikaShop version -- : 5.0.1 -- Joomla version -- : 4.4.0 -- PHP version -- : 8.2 -- Browser(s) name and version -- : Firefox 120.0 -- Error-message(debug-mod must be tuned on) -- : No errror message  &#93;I started using HikaShop for the first time. Installed the latest version (ESSENTIAL) on a Joomla! 4.4.0. There is a problem with the width of the price column in the PDF invoice. The € sign is above the price (see image).  I am searching for a solution for a couple of hours without any luck. Can someone give me a suggestion in which file I have to change code?  Any help is appreciated! Bert")*

I got it fixed.
In the folder administrator-components-com_hikashop-views-order-tmpl made a change in invoice.php

Added:
&lt;style&gt;
table.adminlist.table.table-striped td {
min-width: 80px; // Or more as value for your command;
}
&lt;/style&gt;

Thanks for the patience and support.

Bert

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNzM0Mi1wcmljZS1jb2x1bW4td2lkdGgtaW4tcGRmLWludm9pY2U/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: 86593
- Thank you received: 14334
-
-

3 years 6 days ago [\#357044](#357044) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Price column width in PDF invoice](/forum/35-orders-management/907342-price-column-width-in-pdf-invoice#357044 "-- HikaShop version -- : 5.0.1 -- Joomla version -- : 4.4.0 -- PHP version -- : 8.2 -- Browser(s) name and version -- : Firefox 120.0 -- Error-message(debug-mod must be tuned on) -- : No errror message  &#93;I started using HikaShop for the first time. Installed the latest version (ESSENTIAL) on a Joomla! 4.4.0. There is a problem with the width of the price column in the PDF invoice. The € sign is above the price (see image).  I am searching for a solution for a couple of hours without any luck. Can someone give me a suggestion in which file I have to change code?  Any help is appreciated! Bert")*

Hi,

I would rather recommend you add CSS like this:
[ www.youtube.com/watch?v=ccwzg\_F76tk](https://www.youtube.com/watch?v=ccwzg_F76tk)
That way, you keep using the default backend CSS and the default view of HikaShop so that when we add CSS or we change the invoice view in the HikaShop backend, you get the modifications.

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

3 years 5 days ago [\#357060](#357060) by [Bert@](/forum/user/79392-bert "View Bert@'s Profile")  Replied by *[Bert@](/forum/user/79392-bert "View Bert@'s Profile")* on topic *[Price column width in PDF invoice](/forum/35-orders-management/907342-price-column-width-in-pdf-invoice#357060 "-- HikaShop version -- : 5.0.1 -- Joomla version -- : 4.4.0 -- PHP version -- : 8.2 -- Browser(s) name and version -- : Firefox 120.0 -- Error-message(debug-mod must be tuned on) -- : No errror message  &#93;I started using HikaShop for the first time. Installed the latest version (ESSENTIAL) on a Joomla! 4.4.0. There is a problem with the width of the price column in the PDF invoice. The € sign is above the price (see image).  I am searching for a solution for a couple of hours without any luck. Can someone give me a suggestion in which file I have to change code?  Any help is appreciated! Bert")*

Yes I understand what you say. I should not modify the core files because I can loose changes if the shop is getting updates.
I will watch the instructions, If I can not figure it out I will get back to you.

Thanks,
Bert

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNzM0Mi1wcmljZS1jb2x1bW4td2lkdGgtaW4tcGRmLWludm9pY2U/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: 86593
- Thank you received: 14334
-
-

3 years 5 days ago -  3 years 5 days ago [\#357072](#357072) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Price column width in PDF invoice](/forum/35-orders-management/907342-price-column-width-in-pdf-invoice#357072 "-- HikaShop version -- : 5.0.1 -- Joomla version -- : 4.4.0 -- PHP version -- : 8.2 -- Browser(s) name and version -- : Firefox 120.0 -- Error-message(debug-mod must be tuned on) -- : No errror message  &#93;I started using HikaShop for the first time. Installed the latest version (ESSENTIAL) on a Joomla! 4.4.0. There is a problem with the width of the price column in the PDF invoice. The € sign is above the price (see image).  I am searching for a solution for a couple of hours without any luck. Can someone give me a suggestion in which file I have to change code?  Any help is appreciated! Bert")*

Hi,

You won't loose your changes with HikaShop updates since you made it as an override. However, even an override is not the best because it means that you'll keep using your override and not the default view of HikaShop. So in the future, when we change the code in the view (to add extra features, or fix bugs with future versions of Joomla or PHP) you won't get these changes in your override.

If you add your CSS as I recommend, you get the best result as you won't have to worry about missing out on code changes in the view.

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

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

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