Click to enlarge

General Support for technical Issues relating to AlegroCart
Post Reply
Delpfine
Posts: 142
Joined: Fri Feb 08, 2013 3:47 pm
Location: Austin, TX

Click to enlarge

Post by Delpfine » Tue Feb 12, 2013 7:54 am

What do I need to do to remove "Click to enlarge" on the product photos on the category page and the product details page?

Thanks.

User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Click to enlarge

Post by Brent » Tue Feb 12, 2013 8:31 am

look for this line in whichever image display you will be using.

Code: Select all

<div class="enlarge"><a id="<?php echo $this_controller.$product['product_id']; ?>" href="<?php echo $product['popup']; ?>" class="thickbox"><?php echo $text_enlarge; ?></a></div>
That is what creates the button.
The files are product_image_fancybox.tpl or whichever one you are using based on your admin settings.

Delpfine
Posts: 142
Joined: Fri Feb 08, 2013 3:47 pm
Location: Austin, TX

Re: Click to enlarge

Post by Delpfine » Tue Feb 12, 2013 10:06 am

That did it for the category page, but not the product detail page. Where would I find it for the product detail page?

Thanks!

User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Click to enlarge

Post by Brent » Tue Feb 12, 2013 10:35 am

product_image.tpl line 4

Code: Select all

  <div class="enlarge"><?php echo $text_enlarge; ?></div></a>

Delpfine
Posts: 142
Joined: Fri Feb 08, 2013 3:47 pm
Location: Austin, TX

Re: Click to enlarge

Post by Delpfine » Tue Feb 12, 2013 11:31 am

Thanks, Brent!

Post Reply