Juan Luis Ferret Posted April 27, 2019 Share Posted April 27, 2019 Hola que tal comunidad Les quiero consultar sobre las imagenes en las facturas en PDF cuando se generan. El problema es que no aparecen las imagenes, ni el logo de la tienda no la imagen del producto. Estuve revisando y pude solucionar el problema de la imagen del lodo del siguiente modo: En HTMLTemplate.php reemplazar if (Configuration::get('PS_LOGO_INVOICE', null, null, $id_shop) != false && file_exists(_PS_IMG_DIR_.Configuration::get('PS_LOGO_INVOICE', null, null, $id_shop))) { $logo = _PS_IMG_DIR_.Configuration::get('PS_LOGO_INVOICE', null, null, $id_shop); } elseif (Configuration::get('PS_LOGO', null, null, $id_shop) != false && file_exists(_PS_IMG_DIR_.Configuration::get('PS_LOGO', null, null, $id_shop))) { $logo = _PS_IMG_DIR_.Configuration::get('PS_LOGO', null, null, $id_shop); } por if (Configuration::get('PS_LOGO_INVOICE', null, null, $id_shop) != false && file_exists(_PS_IMG_DIR_ . Configuration::get('PS_LOGO_INVOICE', null, null, $id_shop))) { $logo = __PS_BASE_URI__ . 'img/' . Configuration::get('PS_LOGO_INVOICE', null, null, $id_shop); } elseif (Configuration::get('PS_LOGO', null, null, $id_shop) != false && file_exists(_PS_IMG_DIR_ . Configuration::get('PS_LOGO', null, null, $id_shop))) { $logo = __PS_BASE_URI__ . 'img/' . Configuration::get('PS_LOGO', null, null, $id_shop); } Pero el problema de la imagen del producto aun no lo puedo solucionar. Gracias por sus comentarios Slds JF Link to comment Share on other sites More sharing options...
EXGtickets Posted February 7 Share Posted February 7 Saludos Pudiste resolver el problema? me esta pasando lo mismo 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