Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Recently Viewed Mod

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #61  
Old 02-12-2008, 07:04 AM
 
toolexperts toolexperts is offline
 

eXpert
  
Join Date: Feb 2008
Location: Knoxville, TN
Posts: 289
 

Default Re: Recently Viewed Mod

I can see the mod there, but it doesn't show any of my products

216.75.30.97
__________________
Tool Experts
X-Cart DB Version: 4.1.12 GOLD
Reply With Quote
  #62  
Old 02-14-2008, 08:05 AM
 
Metal-X-Man Metal-X-Man is offline
 

eXpert
  
Join Date: Mar 2003
Location: Columbus, Ohio
Posts: 204
 

Smile 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
__________________
X-Cart Gold
ver. 4.1.3

http://www.musicianslibrary.com
Reply With Quote
  #63  
Old 02-25-2008, 09:11 PM
 
jeanne jeanne is offline
 

Advanced Member
  
Join Date: Aug 2004
Posts: 85
 

Default 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
Reply With Quote
  #64  
Old 02-26-2008, 10:01 AM
 
wendy.email wendy.email is offline
 

Advanced Member
  
Join Date: Jun 2005
Location: Canada
Posts: 90
 

Wink 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!!
__________________
Version 4.1.11
Reply With Quote
  #65  
Old 03-01-2008, 10:17 AM
 
MrSoft MrSoft is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 75
 

Default 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
__________________
X-Cart Gold V4.1.9
Reply With Quote
  #66  
Old 03-01-2008, 06:14 PM
 
813motoring 813motoring is offline
 

Newbie
  
Join Date: Mar 2008
Location: florida
Posts: 4
 

Default 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
__________________
www.813motoring.net
Reply With Quote
  #67  
Old 03-02-2008, 04:48 PM
 
813motoring 813motoring is offline
 

Newbie
  
Join Date: Mar 2008
Location: florida
Posts: 4
 

Default 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!
__________________
www.813motoring.net
Reply With Quote
  #68  
Old 03-03-2008, 06:34 PM
 
MoonDog MoonDog is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 93
 

Default 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 -
__________________
X-CART Gold v4.1.8
Reply With Quote
  #69  
Old 03-03-2008, 07:10 PM
 
sunset sunset is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 94
 

Default 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.
__________________
Sunset
X-Cart Gold v4.1.8
Reply With Quote
  #70  
Old 03-04-2008, 04:49 AM
 
813motoring 813motoring is offline
 

Newbie
  
Join Date: Mar 2008
Location: florida
Posts: 4
 

Default 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
__________________
www.813motoring.net
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:04 PM.

   

 
X-Cart forums © 2001-2020