View Single Post
  #1  
Old 04-26-2003, 05:57 PM
 
YuriC YuriC is offline
 

Advanced Member
  
Join Date: Mar 2003
Posts: 66
 

Default More Effective "Related/Upsell products" view

Halo,

Recently installed x-cart. One of the few things I'd improve is the Related Products module. The original module only shows you the titles of the products you want to upsell... It is not enough to make a visitor click on them. You need to have a small description of what the product is, even add a thumbnail image of the product.
Also dont forget adding [click here] everywhere where u might need it; something extra to "click" the visitors mind to click that mouse

Anyways.. if one finds it useful (see it live on www.worldhealthproducts.com)
Code:
/skin/modules/upselling_products {* $Id: related_products.tpl,v 1.7 2002/10/22 10:27:05 olga Exp $ *} {* Modified by -=acidleak=- *} {if $product_links ne ""} {capture name=dialog} <table border=0 cellspacing=5> {section name=cat_num loop=$product_links} <tr class="ItemsList"> <td width=1%></td> <td width=99%> <table> <tr><td> <a href="product.php?productid={ $product_links[cat_num].productid }" target=_blank> {include file="product_thumbnail.tpl" productid=$product_links[cat_num].productid image_x=35 product=$product_links[cat_num].productid} </a> </td> <td> <a href="product.php?productid={ $product_links[cat_num].productid }" target=_blank> <font class=ProductTitle>{$product_links[cat_num].product}</font> </a> {$product_links[cat_num].descr|truncate:300:"...":true} <a href="product.php?productid={ $product_links[cat_num].productid }" target=_blank> [{$lng.lbl_see_details}] </a> </td></tr> </table> <!-- {$lng.lbl_our_price}: {include file="currency.tpl" value=$product_links[cat_num].price} { $product_links[cat_num].product|escape} --> </td> </tr> {/section} </table> {/capture} {include file="dialog.tpl" title=$lng.lbl_related_products content=$smarty.capture.dialog extra="width=100%"} {/if}

------
Failure is not an option...
it comes with your microsoft product
Reply With Quote