X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Detailed Image(s) Popup 2.1 [3.4.x-4.0.x] (https://forum.x-cart.com/showthread.php?t=8460)

jbvideo 12-07-2005 01:56 PM

Detailed Images in Regular Browser Window
 
I have seen this question raised a few pages back ... but it was never answered.

Any way to modify the code so that the detailed images open in a regular browser window ?(as opposed to the current pop-up windows).

I never have more than one detailed image per item (I do, but I use text links for all the detailed pics after the main one)

My problem is that I just installed Nortons Internet Security 2006 and it blocks the Detailed Image Pop Up that has always worked for me before. And I know for a fact that a lot of my customers use Nortons ... and I would rather not have to include text somewhere that says "if you want to see this detailed pic, you must configure Nortons by finding the Parental Control options etc etc etc"

so clicking on the thumbnail to open in a regular browser window seems fairly easy .. I just don't know how to do it.

testing version (about to go live with) 4.0.17
currently using 3.5.8

shipmerchant 12-07-2005 02:59 PM

Thats interesting becuase I use nortons all all my computers and this popup works and has worked well all along. I personally have not had any such problems with this great mod.

jbvideo 12-11-2005 12:57 PM

that is odd .. it worked fine for me until I installed Nortons 2006 version last week.

hyratech 12-11-2005 02:09 PM

I have 4.0.17 i was going to try to install this mod to see if it works for me..
But..

I dont' have detail images...

I ONLY have thumbnails...

I just modify my cart.tpl and everywhere ese to show the image=x

so my thumnail in the product.tpl is actually pretty big...

so If i chagne that to image=150

and install this MOD. will it be looking for the detail image that it dont' exit?
if so can i modify this MOD to popup the thumnail image in it's original size instead?

Thanx..

stephany 12-16-2005 06:37 AM

Boomer, thanks for the mod ...
In step 4 ..i couldn't find this line in my product.tpl

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}
but I added the code snippet that you had there anyway.

After I uploaded my new files to my server.... my xcart does nothing ... isn't it supposed to make the detailed image clickable ?? I want my detailed images to be clickable so users can view larger images ... I hope this is the right mod ....

Please help ... what do I need to do to make my detailed images to be clickable to open a new window to view larger images ??

Sorry, i'm so new to xcart ....

B00MER 12-16-2005 06:40 AM

If your using 4.0.14 the code you'll replace in product.tpl looks like:
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"}

Yes this mod makes the thumbnail clickable to detailed image(s).

stephany 01-17-2006 07:25 AM

Quote:

Originally Posted by B00MER
If your using 4.0.14 the code you'll replace in product.tpl looks like:
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"}

Yes this mod makes the thumbnail clickable to detailed image(s).


B00MER,
I can't find that line of code in my skin1/customer/main/product.tpl :cry:

However I found a line of almost similar code in products.tpl


Code:

{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url}

is this it ?? I really really really need this mod, please help!

B00MER 01-17-2006 08:54 AM

Quote:

Originally Posted by stephany
I can't find that line of code in my skin1/customer/main/product.tpl :cry:

is this it ?? I really really really need this mod, please help!


If you can't find this line of code in product.tpl then you must have a modified version as the original code "out-of-box" X-Cart code should have this line of code.

If you'd like me to install this mod for you for a small fee please feel free to submit a custom request at:
http://www.cart-lab.com/images/smiley.gif http://www.cart-lab.com/support/

stephany 01-17-2006 12:22 PM

thanks for the mod! I finally got it to work but there are a few questions that I want to ask you to see if it's possible to work like this ..

I want to have 3 different images in my product (small image, medium image, and large image)

My small image will be my thumbnail -- when someone clicks on thumbnail, it'll show a different page with medium image including price, add to cart, etc., and when someone clicks on the medium image, it'll show a pop-up window to view large image ...

Is it possible ? ... it's kinda hard to explain but I hope I don't confuse you

Thanks again for your time

B00MER 01-17-2006 01:55 PM

:arrow: http://forum.x-cart.com/viewtopic.php?t=23945 You need this.


All times are GMT -8. The time now is 07:13 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.