Magento Forum

   
Customize Packing Slips for COD
 
barman_rules
Jr. Member
 
Total Posts:  1
Joined:  2012-10-07
 

I need a section in my packing slips only if the payment method chosen is ‘Cash On Delivery’. Basically something like this -

<?php if(payment=='Cash On Delivery'): ?>
<tr>

<td colspan="2" style="font-weight:bold;font-size:16;border: 2px solid #808080;background-color: #ededed”
valign="top" width="100%">
COD - Amount to collect : Rs.{{var order.getGrandTotal()}}
</td>
</tr>
<?php endif; ?>

Can you suggest the condition I should put in the php if block to make this work.
Thanks in advance,

Gaurav

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top