Gerardo Martinez G Posted December 20, 2022 Share Posted December 20, 2022 Tratando de hacer override de pdfgenerator, lo he puesto en el folder correcto, override/classes/pdf/PDFGenerator.php he seguido segun prestashop las indicaciones y no toma el valor para cambiar el tamaño de la pagina Gracias <?php class PDFGenerator extends PDFGeneratorCore { public function __construct($use_cache = false, $orientation = 'P') { parent::__construct($orientation, 'mm', 'LETTER', true, 'UTF-8', $use_cache, false); $this->setRTL(Context::getContext()->language->is_rtl); } } Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now