Dema7 Posted January 23 Share Posted January 23 When downloading a Delivery Slip, the payment method is shown only if the Stripe module is used. If the payment is done with either PayPal, Cash on Delivery or via bank transfer, the payment method is empty: "No Payment". I tried to edit the file in pdf/delivery-slip.payment-tab.tpl with no success... As in this post: Thank you very much in advance! Davide Link to comment Share on other sites More sharing options...
Dema7 Posted February 8 Author Share Posted February 8 Hi, thank you, I have no files in theme folder. The only file named "delivery-slip.payment-tab.tpl" is in root/pdf folder. The tpl contains this code (I have checked the last version of Prestashop and the code is the same): <table id="payment-tab" width="100%" cellpadding="4" cellspacing="0"> <tr> <td class="payment center small grey bold" width="44%">{l s='Payment Method' d='Shop.Pdf' pdf='true'}</td> <td class="payment left white" width="56%"> <table width="100%" border="0"> {foreach from=$order_invoice->getOrderPaymentCollection() item=payment} <tr> <td class="right small">{$payment->payment_method}</td> <td class="right small">{displayPrice currency=$payment->id_currency price=$payment->amount}</td> </tr> {foreachelse} <tr> <td>{l s='No payment' d='Shop.Pdf' pdf='true'}</td> </tr> {/foreach} </table> </td> </tr> </table> Thank you very much! Davide Link to comment Share on other sites More sharing options...
Dema7 Posted February 8 Author Share Posted February 8 Solved! This was the solution: 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