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

#   Blank Space on Invoice

##

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

Less More

- Posts: 611
- Thank you received: 13
-

4 years 2 months ago [\#344939](#344939) by [mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")  *[Blank Space on Invoice](/forum/35-orders-management/905046-blank-space-on-invoice#344939 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.2.2. -- PHP version -- : 8.0.3 -- Browser(s) name and version -- : chrome  Hi, Using J4 with new update to the invoice plugin. See attached, I have a lot of white space in the product section and its dropping the wording to another line? I cannot find a solution in the invoice.php?  Rgds")* was created by *[mohairbears](/forum/user/916-mohairbears "View mohairbears's Profile")*

-- HikaShop version -- : 4.6.1
-- Joomla version -- : 4.2.2.
-- PHP version -- : 8.0.3
-- Browser(s) name and version -- : chrome

Hi, Using J4 with new update to the invoice plugin. See attached, I have a lot of white space in the product section and its dropping the wording to another line? I cannot find a solution in the invoice.php?

Rgds

- [ ![invoice&#95;error.jpg](/forum/attachment/55563) ](/forum/attachment/55563 "invoice&#95;error.jpg") [ ](/forum/attachment/55563?download=1 "invoice&#95;error.jpg")

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

4 years 2 months ago [\#344941](#344941) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Blank Space on Invoice](/forum/35-orders-management/905046-blank-space-on-invoice#344941 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.2.2. -- PHP version -- : 8.0.3 -- Browser(s) name and version -- : chrome  Hi, Using J4 with new update to the invoice plugin. See attached, I have a lot of white space in the product section and its dropping the wording to another line? I cannot find a solution in the invoice.php?  Rgds")*

Hi,

We do that on purpose so that the text of the product name doesn't run over the other columns.
If you look in the invoice.php file you can see this line: Code:

&lt;?php echo implode('&lt;br/&gt;',$this-&gt;str_split_unicode(strip_tags($product-&gt;order_product_name),50));

which cuts the product name every 50 characters.
That's a conservative value we used because depending on the font used and the characters used, the width of 50 characters would be longer.
So in your case, you can just increase that value from 50 to 70 and it should display fine.

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

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

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