You are here:  » Clickable Image on PP

Support Forum



Clickable Image on PP

Submitted by Capricorn on Sat, 2013-01-19 10:10 in

Hi David,

How to make the image on the product page clickable

I am using this version: V-12-10B

Also.

When is the new 2013 version of the script is going to be ready to download?

Submitted by support on Sat, 2013-01-19 11:17

Hi Capricorn,

In html/product.php look for the code at line 7 that displays the main image:

<img width='180' src='<?php print $mainProduct["image_url"]; ?>' alt='<?php print htmlentities($mainProduct["name"],ENT_QUOTES,$config_charset); ?>' />

...and REPLACE with:

<a href='<?php print tapestry_buyURL($mainProduct); ?>'><img border='0' width='180' src='<?php print $mainProduct["image_url"]; ?>' alt='<?php print htmlentities($mainProduct["name"],ENT_QUOTES,$config_charset); ?>' /></a>

I'm concentrating on the 13/01A distribution this coming week, should be available by the end of the month!

Cheers,
David.
--
PriceTapestry.com