azmaer Posted June 2, 2020 Share Posted June 2, 2020 Hello, I've got strange issue with 100% width of product list in invoice. In prestashop 1.7 in /pdf/invoice.product-tab.tpl We have: {if isset($layout.before_discount)} <th class="product header small" width="{$layout.unit_price_tax_excl.width}%">{l s='Base price' d='Shop.Pdf' pdf='true'} <br /> {l s='(Tax excl.)' d='Shop.Pdf' pdf='true'}</th> {/if} and: {if isset($layout.before_discount)} <td class="product center"> {if isset($order_detail.unit_price_tax_excl_before_specific_price)} {displayPrice currency=$order->id_currency price=$order_detail.unit_price_tax_excl_before_specific_price} {else} -- {/if} </td> {/if} i've wanted to remove this column so i remove this code but after generting invoice pdf, table is not 100% width. Any ideas why? This column is added when someone order promotion products. 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