![]() |
Seems no matter what I do, in 3.5.4 wether or not there is a detailed image avaliable the link is always active to "click here for detailed image" and will just popup a blank if no image. I have gone through this post but cant figure out how to have the link disabled if there are no detailed images avaliable. maybe it's just tooooooo late :) but any suggestions will help.
|
Code:
{if $active_modules.Detailed_Product_Images ne "" && $images}{/if}{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product}{if $active_modules.Detailed_Product_Images ne "" && $images}{/if} Use this code instead, I've added an additiona condition && $images. This should do the trick. :wink: |
Thanks Boomer, works perfectly!
|
Does This still work?
Hi boomer,
Does this still work? I am using Version 3.4.14 Thanks, Brian |
Yup, I suppose I should put this up on cart-lab.com under freebies. :?
|
404 File Not Found
Hi Boomer,
I have read all the comments but I still can't get the picture to show up. I get the window but a 404 message. I have detailed images in modules activated. File is under xcart/customer/ Is this ok? Thanks for the help. Code:
{* $Id: product.tpl,v 1.70.2.6 2003/11/03 14:38:06 mclap Exp $ *} |
Code:
window.open('../customer/product_detailed_images.php?productid='+product_id,"detailedproduct","width="+w+",height="+h+",resizable,scrollbars=yes"); Update this part of the code, I've added ../ to the path to product_detailed_images.php so it will also work on HTML catalog generations. If not try hard setting the absolute path of the php file. |
Super!!!
Excellent worked like a charm.
Thank you very much! |
Very Cool Popup Mod - Take a Look!!!!
Hey guys -
Take a look at the following URL - http://www.angelacarol.com/customer/product.php?productid=547 I have tried to get this to work and I got the images to show up, but I can not get them to link to the specific image. Can someone help me with this? Thanks so much, David Young |
Nevermind, I got it...
Guys -
Nevermind. I got it to work. Thanks, David Young |
All times are GMT -8. The time now is 12:33 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.