如何修改Opencart首页最左下方的PayPal和信用卡标志

在Opencart首页最左下方有PayPal和VISA/MASTER信用卡标志,如果要修改可用以下方法:

使用文本编辑软件编辑 catalog\view\theme\default\template\common\footer.tpl 文件

<div id=”footer”>
  <div><a onclick=”window.open(‘https://www.paypal.com/uk/mrb/pal=W9TBB5DTD6QJW’);”><img src=”catalog/view/theme/default/image/payment.png” alt=”" /></a></div>
  <!–
OpenCart is open source software and you are free to remove the Powered By OpenCart if you want, but its generally accepted practise to make a small donatation.
Please donate via PayPal to donate@opencart.com
//–>
  <div><?php echo $text_powered_by; ?></div>
  <!–
OpenCart is open source software and you are free to remove the Powered By OpenCart if you want, but its generally accepted practise to make a small donatation.
Please donate via PayPal to donate@opencart.com
//–>
</div>
</div>
<?php echo $google_analytics; ?>
</body></html>

如果需要去掉整个PayPal和VISA/MASTER信用卡标志, 可将第2行全部删除掉;
如果需要更换图示, 可以替换掉img src的图片文档的路径以及文件名即可。

    分享到:

Leave a Reply