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

Thumbnails in Upselling Table

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 06-07-2007, 08:56 AM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Thumbnails in Upselling Table

I got this idea from the way the best sellers works when it is in the main section not in a side menu.

The original template for upselling lists the product with the product ID#. We do not use that number and in most cases this means nothing to the customer. So I decided to take out the ID# and replace it with a small thumbnail. Here is an example:
http://www.kennedyhardware.com/menu.JPG

So here is the changes to the /mycart/skin1/modules/Upselling_Products/related_products.tpl
Code:
{* $Id: related_products.tpl,v 1.15 2005/12/07 14:07:32 max Exp $ *} {if $product_links ne ""} {capture name=dialog} <table cellspacing="5"> {section name=cat_num loop=$product_links} <tr class="ItemsList"> <td width="1%">{include file="product_thumbnail.tpl" productid=$product_links[cat_num].productid image_x=25 product=$product_links[cat_num].productid}</td> <td width="99%"><a href="product.php?productid={ $product_links[cat_num].productid }"{if $config.Upselling_Products.upselling_new_window eq 'Y'} target="_blank"{/if} class="ItemsList">{$product_links[cat_num].product}</a></td> </tr> {/section} </table> {/capture} {include file="dialog.tpl" title=$lng.lbl_related_products content=$smarty.capture.dialog extra='width="100%"'} {/if}

I am trying to do the same for recommends.tpl but for some reason I cannot get it to work. If someone want to help out I can post the template I have so far.
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
  #2  
Old 06-07-2007, 10:58 AM
 
balinor balinor is offline
 

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

Default Re: Thumbnails in Upselling Table

Did these not work for you?

http://forum.x-cart.com/showthread.php?t=10773

http://forum.x-cart.com/viewtopic.php?t=10230
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 06-07-2007, 12:18 PM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Re: Thumbnails in Upselling Table

First you have to see them! <sheepish grin>
Did some playing around and got it all to work the way I would like.

Somebody made mention of adding the price but I could never find how this was done. Since you seem to have all of the good posts commited to memory, could you direct me to something that would give me an idea on how to add price to the recommends and related items.

Thanks a bundle Balinor
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
  #4  
Old 06-07-2007, 12:49 PM
 
balinor balinor is offline
 

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

Default Re: Thumbnails in Upselling Table

Heh...don't have them committed to memory, have them committed to a very large bookmark folder

I don't recall how I ended up getting the price to work, let me see if I can track down the store we implemented that on.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 06-07-2007, 07:01 PM
  hoosierglass's Avatar 
hoosierglass hoosierglass is offline
 

X-Adept
  
Join Date: Aug 2006
Location: Zionsville, IN
Posts: 974
 

Default Re: Thumbnails in Upselling Table

Well I have found that sometimes the upsell does not work and I have yet to understand why. I thought it might have been the bi-directional but I cleared the products and reset them and they just don't show up on detailed view of a product. It does however show up fine in the exupsell as the item is added to the cart.
__________________
X-Cart Gold 4.7.7
Custom Work from www.luminointernet.com
www.indy-pen-dance.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


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 09:13 PM.

   

 
X-Cart forums © 2001-2020