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)
-   -   Recently Viewed Mod (https://forum.x-cart.com/showthread.php?t=36753)

toolexperts 02-12-2008 07:04 AM

Re: Recently Viewed Mod
 
I can see the mod there, but it doesn't show any of my products :(

216.75.30.97

Metal-X-Man 02-14-2008 08:05 AM

Re: Recently Viewed Mod
 
Really great mod Moondog!

I'm having a problem with my thumbnail images show up. I'm getting the default image instead.

Q: Where is this variable generated: "$product.tmbn_url" this in the javascript in the product.tpl

I'm looking for an alternative to get the thumbnail up.

Metal-X

jeanne 02-25-2008 09:11 PM

Re: Recently Viewed Mod
 
For the thumbnail image instead of the larger one use:

prodImage='{include file="product_thumbnail.tpl" productid=$_imageid|default:$product.productid image_x=$product.tmbn_x|default:$config.Appearance .thumbnail_width image_y='100' product=$product.product}';

I also added code to the bottom of products.tpl that shows the categories in the recently viewed list.

<script type="text/javascript">
var p0=('<a href="{$http_location}/home.php?cat={$cat}"><br/><b>{$current_category.category}</b></a><br /><br />');
</script>

Thanks for the code

----

Jeanne
4.1.8
www.jardinediapers.com

wendy.email 02-26-2008 10:01 AM

Re: Recently Viewed Mod
 
Quote:

Originally Posted by Metal-X-Man
Really great mod Moondog!

I'm having a problem with my thumbnail images show up. I'm getting the default image instead.

Q: Where is this variable generated: "$product.tmbn_url" this in the javascript in the product.tpl

I'm looking for an alternative to get the thumbnail up.

Metal-X



me too, any help is appreciated!!

MrSoft 03-01-2008 10:17 AM

Re: Recently Viewed Mod
 
Moondog,

Thanks for the mod. It works great.

Jeanne,

Thanks for the category inclusion.

Do you know how I can show the category image as well?

Cheers,

Colin

813motoring 03-01-2008 06:14 PM

Re: Recently Viewed Mod
 
I just recently put this mod on our x-cart.. i really like the feature.. but I dont know if my computer isnt loading the page all the way or if there is a problem with the code.. but the picture wont show up in the recently viewed box.. you can visit my site at the link below...

www.813motoring.net

813motoring 03-02-2008 04:48 PM

Re: Recently Viewed Mod
 
please someone or moondog help me.. please check out my site.. picture wont show up and im gettin the $ sign.. please help!

MoonDog 03-03-2008 06:34 PM

Re: Recently Viewed Mod
 
Hi 813motoring,

I went to your site and noticed that your using https:// throughout your whole site. I keep getting a 'Securtiy Information' popup box when browsing with IE Explorer. This https:// issue might be causing the problem of your images not showing. Go to this thread http://forum.x-cart.com/showthread.php?t=37614&highlight=secure+image and read carpeperdiem's reply on post #4. Hopefully this might solve your problem.

- MoonDog -

sunset 03-03-2008 07:10 PM

Re: Recently Viewed Mod
 
Thanks heaps for the link to that post moondog...it has fixed a problem that has been bugging me for a long time. Cheers.

813motoring 03-04-2008 04:49 AM

Re: Recently Viewed Mod
 
Quote:

Originally Posted by MoonDog
Hi 813motoring,

I went to your site and noticed that your using https:// throughout your whole site. I keep getting a 'Securtiy Information' popup box when browsing with IE Explorer. This https:// issue might be causing the problem of your images not showing. Go to this thread http://forum.x-cart.com/showthread.php?t=37614&highlight=secure+image and read carpeperdiem's reply on post #4. Hopefully this might solve your problem.

- MoonDog -



thanks moondog.. i will try it out.. i guess there is settings on x-cart for this? would i just change them around to the right ones and hope it works then? I will def. let you know how it works out thanks again


All times are GMT -8. The time now is 04:03 AM.

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