News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

disable header and footer in productdetail-pdf

Started by eicherlist, March 21, 2014, 08:27:54 AM

Previous topic - Next topic

eicherlist

How to disable the header and footer in productdetail-pdf?

I enabled the in Configuration/Shopfront the option "Show PDF-Icon" (2. Option from top)



VM-Version: 2.0.26d
Joomla Version: 2.5.19
PHP 5.3.3-7+squeeze13

Thanks for any hints
Regards eicherlist

[attachment cleanup by admin]

K&K media production

Only with core hack. It is the same like the other thing with image in header.

go to components/com_virtuemart/helpers/vmpdf.php

around line 57 you find

$pdf->AddPage();

add this two lines above

$pdf->SetPrintHeader(false);
$pdf->SetPrintFooter(false);