PasiniOnline Posted March 30, 2015 Share Posted March 30, 2015 Hi, My client has a multistore with around 7 shops. When they click on a specific store and then print the invoice the shop logo comes up fine on the PDF. When they haven't specified an exact store, and have left it on 'all stores' then the logo is replaced with a red 'X' because it cannot call the correct logo. Even though it is simple to specify a store and then print the invoice, they want it to be able to print invoices with the correct store logo without specifying the store. Is there anyway I can adapt the invoice template to call the correct logo for the correct shop when it is set to 'all stores'. Using Prestashop 1.5.6.1 on Apache. Thanks. Link to comment Share on other sites More sharing options...
PasiniOnline Posted March 30, 2015 Author Share Posted March 30, 2015 I should probably also state that this is the line of code that calls the logo: <img src="{if $conf.logo_invoice}{$conf.logo_invoice}{else}{$conf.logo}{/if}" /></div> Link to comment Share on other sites More sharing options...
tuk66 Posted April 1, 2015 Share Posted April 1, 2015 It is possible to generate all invoices at once, for all shops, and get the right logo with the M4 PDF Extensions module. This module has fully multistore and multilanguage compatible templates - every invoice has a different logo as well as language, according to settings, when more invoices are created at once. Link to comment Share on other sites More sharing options...
Recommended Posts