spc Posted May 8, 2019 Share Posted May 8, 2019 Hello, in my store we have different payment. caosh on delivery, company, letter Is it possible to add some text in to the invoice that can only be shown in the letter invoice and not the other... I hope someone understand what i mean. Link to comment Share on other sites More sharing options...
tuk66 Posted May 20, 2019 Share Posted May 20, 2019 Try to add this snippet in a invoice template: {foreach from=$order_invoice->getOrderPaymentCollection() item=payment} {if $payment->payment_method == 'letter'} Some text {/if} {/foreach} I assume the letter payment module is in the /modules/letter directory. Link to comment Share on other sites More sharing options...
spc Posted May 22, 2019 Author Share Posted May 22, 2019 hello I find the invoice.tpl and add the code. It doesent work, i use module universalpay. 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