Post by fortuna » Wed Jul 23, 2014 6:52 am

Hi,

I would like to hide the product image URL displayed on the product page when mouse over image.
For example:
website/opencart/image/cache/data/ourcategory/producta-500x500.jpeg

I am sure product.tpl can be modified but don't know the code well enough.

Newbie

Posts

Joined
Thu Sep 26, 2013 10:45 am

Post by imdevlper18 » Wed Jul 23, 2014 2:39 pm

1) open product.tpl

Find this block of statement if you are using default theme:

Code: Select all

 <div class="image"><a href="<?php echo $popup; ?>" title="<?php echo $heading_title; ?>" class="colorbox"><img src="<?php echo $thumb; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>" id="image" /></a></div>
Replace it with

Code: Select all

<div class="image"><img src="<?php echo $thumb; ?>" title="<?php echo $heading_title; ?>" alt="<?php echo $heading_title; ?>" id="image" /></div>

Opencart Extensions | Professional opencart support | Support Ticket | support@cartbinder.com


User avatar
Active Member

Posts

Joined
Sun May 11, 2014 2:04 pm
Who is online

Users browsing this forum: No registered users and 3 guests