I'm new to Magento and trying to edit the success page on 1.9x
All I want is to add payment details for some payment methods. If the customer selects BANK TRANSFER, I want My_Block to be shown on the success page (these are the bank transfer details 'My bank account #00000') I would like to apply the same to maybe other payments.
I've tried many statements, but nothing so far.
<?php if(payment === 'banktransfer'): ?> <p><?php echo $this->__('My_block') ?></p> <?php elseif(payment === 'checkmo'): ?> <p><?php echo $this->__('My_block2');?></p> <?php else(payment === 'purchaseorder'): ?> <p><?php echo $this->__('My_block3') ?></p> <?php endif; ?>
Any ideas on how to achieve this? Thank you for your help