Question: Abbreviated Product Names On Receipt With Dots

Abbreviated Product Names On Receipt With Dots

Hi , getting this challenge on receipts of late where the name of the product is shorted to like a few letters and ..... instead of the entire product name. I thought it may have had somet

S

Sammy

Asked

Hi , getting this challenge on receipts of late where the name of the product is shorted to like a few letters and … instead of the entire product name. I thought it may have had something to do with the product tax because on the times it was working correctly *NT was showing up on the right hand corner . I have tried changing product tax from disabled to enabled and the reverse to no avail and this needs to be resolved as soon as possible please.

Thank you

  • MS

    Mian Saleem

    Answered

    Hello,

    The receipt view file is themes/default/admin/views/pos/view.php The product name is passed to product_name function that is defined in the pos helper file app/helpers/pos_helper.php to short it as per pos printer. The default string length is 42. If you need to change you can do in helper function or modify the view file as you need.

    Thank you

  • S

    Sammy

    Answered

    Hi thanks for swift response, I changed it to 62 but still seeing … at the end of products abbreviated names on the receipt

  • MS

    Mian Saleem

    Answered

    Have you added any pos printer? Please share the screenshot in the reply.

  • S

    Sammy

    Answered

    Yes, Ok attacked picture

  • MS

    Mian Saleem

    Answered

    That might be causing the issue. Please change the character per line to higher value like 42 or 64 then check again. Thanks

  • Login to Reply