| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Enlarge product image popup | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Enlarge product image popup
This is for those who prefer to have a popup window to display an enlarged product image instead of the image thats displayed at the bottom of the product page.
All code is placed in: /skin1/customer/main/product.tpl Step 1: Add this code above the code in step 2: Code:
Step 2: Add the following code immediately after this code: {include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail"}: Code:
ALERT: You'll probably need to adjust the number values for: substr:28:30, in above code to match the length of your particular url. Step 3 (optional): Create an image and name it "enlarge_img.gif" and place in /skin1/images sub directory. If you dont need or want an image then remove: [img]{$ImagesDir}/enlarge_img.gif[/img] from the code in step 2.
__________________
X-Cart Gold 4.2.2 - 3.1.19 |
|||||||
#2
|
|||||||
|
|||||||
Moving to Custom Mods.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|