Customize print invoice

  • Posts: 20
  • Thank you received: 1
  • Hikashop Business Hikashop Essential
4 weeks 2 days 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: 21796
  • Thank you received: 3407
  • MODERATOR
4 weeks 1 day 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: 20
  • Thank you received: 1
  • Hikashop Business Hikashop Essential
4 weeks 1 day 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: 21796
  • Thank you received: 3407
  • MODERATOR
4 weeks 10 hours 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: 20
  • Thank you received: 1
  • Hikashop Business Hikashop Essential
3 weeks 6 days 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: 60592
  • Thank you received: 8546
  • MODERATOR
3 weeks 5 days 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: 20
  • Thank you received: 1
  • Hikashop Business Hikashop Essential
3 weeks 5 days 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.086 seconds
Powered by Kunena Forum