Customize print invoice

  • Posts: 34
  • Thank you received: 2
  • Hikashop Business
6 years 3 months ago #284985

-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.3
-- PHP version -- : 7

My client wants to print the invoice without header and footer notice. And the adress font has to be bigger.
Can this be customized?
Thanks for answers
Thomas

Please Log in or Create an account to join the conversation.

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
6 years 3 months ago #284987

Hello,

Yes, like every views in HikaShop.
www.hikashop.com/support/documentation/1...-display.html#layout

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 34
  • Thank you received: 2
  • Hikashop Business
6 years 3 months ago #285003

Thanks.
But I can´t see how to remove the header and footer on the printed page. Header and footer are not visible inh the "Invoice" popup, and there is nothing in invoice.php related to that.
Regards
Thomas

Please Log in or Create an account to join the conversation.

  • Posts: 25994
  • Thank you received: 4004
  • MODERATOR
6 years 3 months ago #285004

Hello,

Please be sure that your header and footer and not the elements added by the browser itself.
Like the page title, the date & time, the URL.
These are related to the browser and print settings of your browser.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 34
  • Thank you received: 2
  • Hikashop Business
6 years 3 months ago #285062

Thanks a lot Jerome, that explains it!
The overall font size is set by the browser aswell? The prints come with font size 8pt, wcich is very small of course.
Best regards
Thomas

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13035
  • MODERATOR
6 years 3 months ago #285070

Hi,

It depends :)
The scaling of the browser print system will adjust the font size based on how the page is printed on the paper.
There are also CSS commands to control the font size specifically for printing:
stackoverflow.com/questions/16715586/ie-print-font-size-smaller
But sometimes the CSS doesn't work, based on the browser being used.
So hard to give a precise answer as to what to do with the information you provided.
Try with other browsers first, try in incognito mode, etc.

Please Log in or Create an account to join the conversation.

  • Posts: 34
  • Thank you received: 2
  • Hikashop Business
6 years 2 months ago #285104

Thanks Nicolas,
The background of all this is that my client wants to use the invoice printout as an adress on the parcels (in transparent stickers provided by swiss post)
This is basically a good idea, saves a lot of work. But the transparent part of the sticker is on the right hand side, meaning only the invoice can be used - and the fontsize is below 10pt - not accepted by swiss post :-(
I changed all 3 adresses to <h3> and thats ok now. All the rest is a bit hard on the eyes.
Thank you again
Thomas

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum