mirustics Posted August 7, 2013 Share Posted August 7, 2013 I would like to change the look of my Invoice Footer. Currently it looks like this: Michigan Rustics - 10292 US HWY 10 P. O. Box 726 - Evart, Michigan 49637 - United States For more assistance, contact Support: 855-578-7842 or [email protected] Thank you for your business! I would like to break up these lines and remove the country, like this: Michigan Rustics 10292 US HWY 10 P. O. Box 726 Evart, Michigan 49637 For more assistance, contact Support: 855-578-7842 or [email protected] Thank you for your business! Is this possible? If so, how do I go about it. Thank you! Link to comment Share on other sites More sharing options...
vekia Posted August 7, 2013 Share Posted August 7, 2013 you can go to the pdf/footer.tpl and change and <br /> html tags there, where you want Link to comment Share on other sites More sharing options...
leeloo Posted August 9, 2013 Share Posted August 9, 2013 (edited) Yes br is correct, and If you want to fine tune the space between two lines, in a style use : padding-bottom: 10px; (put your custom value) Edited August 9, 2013 by leeloo (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 9, 2013 Share Posted August 9, 2013 @mirustics let us know if solutions here works for you as you expect Link to comment Share on other sites More sharing options...
mirustics Posted August 9, 2013 Author Share Posted August 9, 2013 Changing <br /> does not work. Also (An electronic version of this invoice is available in your account. To access it, log in to our website using your e-mail address and password (which you created when placing your first order).) do not show up on the invoice. Here it the part of the footer code I am trying to edit: {l s='An electronic version of this invoice is available in your account. To access it, log in to our website using your e-mail address and password (which you created when placing your first order).' pdf='true'} <br /> {/if} {$shop_address|escape:'htmlall':'UTF-8'} {if isset($shop_details)} - {$shop_details|escape:'htmlall':'UTF-8'}<br /> {else} <br /> {/if} {if !empty($shop_phone) OR !empty($shop_fax)} {l s='For more assistance, contact Support:' pdf='true'} {if !empty($shop_phone)} {$shop_phone|escape:'htmlall':'UTF-8'} or [email protected] {/if} Link to comment Share on other sites More sharing options...
eleazar Posted August 12, 2013 Share Posted August 12, 2013 I don't think the advices above would really solve the prob, because you have to regenerate the {shop_address}, which is not possible in the footer.tpl where the address is just assigned. I'd suggest an override for function getFooter() in /classes/pdf/HTMLTemplate.php, where the footer is 'composed'. Link to comment Share on other sites More sharing options...
Courage2000 Posted April 9, 2020 Share Posted April 9, 2020 This is still an enigma in 2020, with Prestashop 1.7.6.4 I cannot get the Shop info formated on the invoice. 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