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

More Effective "Related/Upsell products" view
 
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features
 
Thread Tools Search this Thread
  #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
  #2  
Old 04-26-2003, 07:46 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

To be honest, I would love a pop up or new window that has the related products in it, with add to cart buttons.

That would be really cool.



Nice mod btw
Reply With Quote
  #3  
Old 10-28-2004, 01:21 PM
 
gman gman is offline
 

eXpert
  
Join Date: Sep 2002
Posts: 211
 

Default

I just wanted to thank YuriC for this. I knew if I looked long enough (over a week) on this forum someone would have thought of this.

Thanks Yuri!!!
Reply With Quote
  #4  
Old 10-29-2004, 05:44 AM
 
greenpac greenpac is offline
 

Member
  
Join Date: Oct 2004
Posts: 17
 

Default

Thank you! How can I edit this to show products in columns?
__________________
X-Cart Gold
4.0.4 [Linux]
Reply With Quote
  #5  
Old 03-14-2005, 10:22 AM
 
Sonia Sonia is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 72
 

Default

This code doesn't seem to be working for 4.0.12. Is it just me? The description is not showing up...
__________________
Sonia

www.vidaville.com
Xcart Gold 4.0.16
platform - Windows
Reply With Quote
  #6  
Old 03-20-2005, 02:56 PM
 
mffowler mffowler is offline
 

X-Adept
  
Join Date: Mar 2003
Location: Melbourne, Australia
Posts: 811
 

Default

Balinor has a mod in the forum that upsells with images. I integrated it and then put it into the product.tpl, so that it shows up below the product description.

I have to say ... there are mods that actually make you more sales and this is one of them. If you are going to do integrate any mod, you should ask yourself first if it will help your sales.

Our orders continue to grow in size with implementations like "multiple product" ordering on one page. For upselling, don't overdo it and keep it creative- not too many reciprocating upselling products and a lot of products may not benefit by upselling. Reciprocal linking and standardized displays get old, but targeted sales is a customer helper and a lot of us have purchased products hat were upsold on Amazon or other ...

- Mike
__________________
4.1.9
Reply With Quote
  #7  
Old 03-20-2005, 04:52 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Jon's EZ Upsell mod is also a fantastic addition.

And yes, since the above code is from 2002, I would guess it won't work in 4.0.x.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 03-16-2007, 09:02 AM
 
Chris B Chris B is offline
 

eXpert
  
Join Date: Oct 2002
Posts: 226
 

Default Re: More Effective "Related/Upsell products" view

To make the short description show up using YuriC's mod in 4.0.19, do the following:

Go to modules/Upselling_Products/related_products.php change the following code:

$sql_tbl[products].productcode,

to:

$sql_tbl[products].descr, $sql_tbl[products].productcode,

That should be it, then YuriC's code will work... at least with 4.0.19


Chris
__________________
4.0x - 4.5x
Reply With Quote
  #9  
Old 02-06-2008, 06:48 PM
  matthewstroh's Avatar 
matthewstroh matthewstroh is offline
 

Member
  
Join Date: Oct 2007
Location: Portland, OR.
Posts: 16
 

Default Re: More Effective "Related/Upsell products" view

Absolutely awesome. And it works perfectly in 4.1.9 for some reason. Even without Chris B's modification. Great work!
__________________
Matthew Stroh
Version 4.1.9
Reply With Quote
  #10  
Old 02-11-2008, 07:32 PM
  razorblade's Avatar 
razorblade razorblade is offline
 

Advanced Member
  
Join Date: Oct 2005
Posts: 39
 

Default Re: More Effective "Related/Upsell products" view

fantastic!
__________________
/razorblade pro/
v 5.2.21
linux 2.2.29
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Changing and adding new features


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:47 PM.

   

 
X-Cart forums © 2001-2018