2

I use magento 1.8.1.0. How can I remove

Credit Card Number: **** **** **** 1234

this part from order confirmation email?

  • which payment gateway,you have using? – Amit Bera Apr 7 '15 at 12:47
  • Stripe. I use an extension by TemplateTag, Better to ask the developer? magentocommerce.com/magento-connect/stripe-3.html – rtk0407 Apr 7 '15 at 13:52
  • hi go to your module Block folder,There define are defiene template mean .phtml file – Amit Bera Apr 7 '15 at 13:56
  • I don't see .phtml file in Block folder of the extension. – rtk0407 Apr 7 '15 at 14:05
  • please check at Model folder,there may some php file where .phtml is written – Amit Bera Apr 7 '15 at 14:05
2

Found a solution. Go to detault.phtml under app/design/frontend/default/yourtheme/template/payment/info

and remove

<?php if ($_specificInfo = $this->getSpecificInformation()):?>
<table>
    <tbody>
    <?php foreach ($_specificInfo as $_label => $_value):?>
        <tr>
            <th><?php echo $this->escapeHtml($_label)?>:</th>
        </tr>
        <tr>
            <td><?php echo nl2br(implode($this->getValueAsArray($_value, true), "\n"))?></td>
        </tr>
    <?php endforeach; ?>
    </tbody>
</table>
<?php endif;?>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.