View Single Post
  #92  
Old 05-21-2008, 01:06 AM
 
chealyte chealyte is offline
 

Member
  
Join Date: Jun 2005
Posts: 22
 

Default Re: Recently Viewed Mod

This part some how it is still use " products image " to show in list. How to make it use " Thumbnail " picture ?? some how many i try it still pink to product images and resize it .. which seem this quick fix wont work well it will slow down the loading time .. cuz of lage images.

Example : .. the image show in recently viewed follow by this kind of url " http://tinybeeonline.com/images/P/SCAN0018.jpg " .. i think it should show as " http://tinybeeonline.com/images/T/SCAN0018.jpg " .. i am not sure what to change to make this happen i try a lot of way still not work .. i change the type="P" to type="T" still not work ..

Code:
<script type="text/javascript"> prodImage='{include file="product_thumbnail.tpl" productid=$product.productid image_x=80 image_y=0 product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail" type="P"}'; prodName='<{$product.product}>'; var p0=('<br/><a href="'+document.URL+'">'+prodImage+'<br/>{$product.product}</a><br/>${$product.taxed_price}<br/>'); </script>

Reguarding my post .. i just edite to add some info to it ..

I think i figure out why it does not show " Thumbnail " because the script that wrote cookies is on products.tpl .. i think it should be move to products list ( such as recomand products , products list when we click on catagories , related products .. ) those are show Thumbnail and we can get link from it post in cookies and display it out .. i am not sure how to this .. also we should do some check .. see if the products we view now already add to recent view cookies or not if not add new one else do not add ..
__________________
http://tinybeeonline.com

X-Cart Gold V 4.1.9
Reply With Quote