This integrate highslide with your product listing images to
pop them up into the fancy highslide boxes dynamically.
Special thanks to Torstien Honsi, the creator of highslide.
step 1:
download and the latest version of highslide.
Please note. Highslide JS is not free for commercial use.
http://vikjavev.no/highslide/download.php
step 2:
copy the highslide folder to your catalog directory
step 3:
open up catalog/index.php
find:
replace with:
step 4:
open catalog/includes/modules/product_listing.php
find:
case 'PRODUCT_LIST_IMAGE':
$lc_align = 'center';
if (isset($HTTP_GET_VARS['manufacturers_id'])) {
$lc_text = '' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '';
} else {
$lc_text = ' ' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . ' ';
}
break;
replace with:
case 'PRODUCT_LIST_IMAGE':
$lc_align = 'center';
if (isset($HTTP_GET_VARS['manufacturers_id'])) {
$lc_text = '' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '';
} else {
$lc_text = '' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . ' ';
}
break;
thats it!
enjoy,
brad
postmaster@phaseonemedia.com
http://phaseonemedia.com
More...




LinkBack URL
About LinkBacks









Bookmarks