Forums / Templates, Stylesheets, Page Layout / How to remove "Click to enlarge image" link on Product Info page?

How to remove "Click to enlarge image" link on Product Info page?

Started by shirster on 26 Jan 2011, 4:36 AM · Views: 3,409

Results 1 to 6 of 6
26 Jan 2011, 4:36 AM
#1
shirster avatar

shirster

Zen Follower

Join Date:
Sep 2005
Location:
Hong Kong
Posts:
301
Plugin Contributions:
0

How to remove "Click to enlarge image" link on Product Info page?

Hi all!

I'm running a 1.3.8a zc. I would like to remove the link to enlarge image on my Product Info page.

To clarify, I don't use additional images, just one product image that doesn't need to be enlarged. And with the link there, people would think there IS an enlarged image and they would click and be all disappointed when the supposedly "enlarged image" is exactly the same as the one shown on the Product Info page.

I played around with the tpl_modules_main_product_image.php file in the template directory but couldn't figure out how to change the codes. Or maybe it's actually something that can be controlled in the admin?

Thanks in advance!

25 Apr 2011, 2:05 AM
#5
cybagirl avatar

cybagirl

Zen Follower

Join Date:
Jul 2009
Posts:
119
Plugin Contributions:
0

Re: How to remove "Click to enlarge image" link on Product Info page?

Are you trying to remove the text that says "larger image" from being displayed under the product image?

If so just comment out Line number 291 that says the following:

define('TEXT_CLICK_TO_ENLARGE', 'larger image');

In your /includes/languages/english.php file.

9 May 2011, 4:54 PM
#6
hockey2112 avatar

hockey2112

Zen Follower

Join Date:
Jun 2010
Posts:
204
Plugin Contributions:
0

Re: How to remove "Click to enlarge image" link on Product Info page?

shirster:

Thanks, but that's for additional images? I want to remove the enlarge link for my default product image.

I also want to disable the "enlarge" behavior for the main image while allowing it to function for a secondary image for my products, globally. How can this be done?