1

Hello I would like to make changes in my Magento template product listing page right now it displays the image only and i want to write the text after the image.

I tried to edit in view.php file but its not working for me.

Here i am attaching the picture what exactly i want. enter image description here

PЯINCƎ
  • 11,669
  • 3
  • 25
  • 80
Akash
  • 55
  • 6

1 Answers1

1

In app/design/frontend/{Package}/{your-theme}/template/catalog/product/view.phtml you find: <?php echo $this->getChildHtml('addto') ?> and the heart image is located here.

So to customise it you go to app/design/frontend/{Package}/{your-theme}/template/catalog/product/view/addto.phtmlthen add your text as somthing like this <?php echo $this->__('your text here');?> . so not directly in view.phtml

PЯINCƎ
  • 11,669
  • 3
  • 25
  • 80
  • Hello Thank you for your response but i already did this thing.

    You can find it here below

    __('Add to Wishlist') ?>

    Still its not showing.

    – Akash Mar 12 '17 at 20:20
  • Please, provide the path of the file and the code. – PЯINCƎ Mar 12 '17 at 23:02
  • The Path of the file is app/design/frontend/{Package}/{your-theme}/template/catalog/product/view/addto.phtml The Code is :- getProduct(); ?> helper('wishlist')->getAddUrl($_product); ?> – Akash Mar 12 '17 at 23:07