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

Upselling Products module modification

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #101  
Old 01-04-2006, 02:09 AM
 
Thedae2k Thedae2k is offline
 

eXpert
  
Join Date: Jan 2004
Posts: 288
 

Default

Wow...great mod guys! Works great in 4.0.17
__________________
X-Cart Pro 4.1.9
PHP5.2.5
MySQL 5.0.54
IIS/Apache/NGINX Webservers
Reply With Quote
  #102  
Old 02-23-2006, 12:48 PM
 
bardolino bardolino is offline
 

Advanced Member
  
Join Date: Jun 2005
Posts: 33
 

Default

I got the mod working, but I would like a tiny modification. Besides the [our price] I would like to see the striped through[list price]

I think it should be something like this?
<s>{include file="currency.tpl" value=$product_links[cat_num].list_price}</s>

But than only a striped through zero appears. Can some one help me with this?

Thanks!
__________________
Version 4.0.14
Reply With Quote
  #103  
Old 03-10-2006, 01:22 PM
 
fearnothing fearnothing is offline
 

Senior Member
  
Join Date: Jun 2005
Location: North East England
Posts: 124
 

Default

Thanks to everyone on here for the great mod - I'm only using the thumbnail generation on my Related Products section, but I may bring some more of those extras in having looked at the thread.

One thing that I could really use is to have the Manufacturer name appear on there as well (my CD store uses the manufacturer module as a substitute for 'Artist Name')

I've managed to have it appear on most appropriate sections/pages but not this one

Any help would be most appreciated.
__________________
www.smartchoicemusic.com
Smart Choice Music - Import CD and DVD Specialists
4.6.0
MySQL 5.5.34
PHP 5.4.24
Apache/2.2.26
Multiple homegrown and paid-for mods
Reply With Quote
  #104  
Old 04-21-2006, 09:20 AM
 
brgreene brgreene is offline
 

Advanced Member
  
Join Date: Oct 2002
Posts: 70
 

Default Upselling MOD 4.0.18

Can someone post the complete .tpl and .php code for this mod that works on 4.0.18?
__________________
Brian
X-Cart 4.0.18
Reply With Quote
  #105  
Old 09-12-2006, 08:50 AM
 
instink instink is offline
 

Advanced Member
  
Join Date: Aug 2006
Posts: 44
 

Default Re: Upselling Products module modification

Hi guys, I know this thread is old but I really like the look of this mod (using Shan's code, and xcart 4.0.16), I put it all in exactly as instructed and it looks great but none of the "buy now" buttons work... it seems some people had this problem back when the thread was alive but noone fixed it... any suggestions?

the problem seems to be in this piece of code:

{include file="customer/main/buy_now.tpl" type=small productid=$product_links[cat_num].product}

I wouldn't have a clue how to fix it though... any ideas? thanks!
__________________
X-cart 4.0.16
www.jctech.com.au
Reply With Quote
  #106  
Old 09-12-2006, 11:48 PM
  carlisleglass's Avatar 
carlisleglass carlisleglass is offline
 

eXpert
  
Join Date: Aug 2003
Location: Carlisle, UK
Posts: 316
 

Default Re: Upselling Products module modification

Has anyone got this working in v4.1.3 ??
__________________
Darren Kierman
Carlisle Glass (http://www.carlisleglass.co.uk/)
... running X-Cart Gold 4.4.5 [unix]
Reply With Quote
  #107  
Old 09-13-2006, 06:48 AM
  leon's Avatar 
leon leon is offline
 

X-Wizard
  
Join Date: Mar 2003
Location: Costa Rica
Posts: 1,213
 

Default Re: Upselling Products module modification

I am interested as well for v4.1.3. Wonder where the developer is ?
__________________
It doesn\'t matter what is done... it is how it is done.
=============================
XCart Version: 3.5.3 -> Dmcigars.com
XCart Version: 4.1.3....
Reply With Quote
  #108  
Old 09-17-2006, 01:42 PM
 
brucew brucew is offline
 

Member
  
Join Date: Jan 2006
Posts: 26
 

Default Re: Upselling Products module modification

HELP!!

This mod is amazing. Perfect. The only thing I need is for the icons to link to the prduct details. Right now all it does is give people the option to buy or wishlist. Also displaying the short description would be helpful.

Can anyone help?!

Thanks
__________________
-----------------------------------------------
X-Cart Gold 4.0.17
Reply With Quote
  #109  
Old 09-17-2006, 02:22 PM
 
brucew brucew is offline
 

Member
  
Join Date: Jan 2006
Posts: 26
 

Default Re: Upselling Products module modification

Quote:
Originally Posted by brucew
HELP!!

This mod is amazing. Perfect. The only thing I need is for the icons to link to the prduct details. Right now all it does is give people the option to buy or wishlist. Also displaying the short description would be helpful.

Can anyone help?!

Thanks

...omg.

I actually figured it out on my own. That NEVER HAPPENS! I'm so proud of me.

I got the icons clickable by editing:

Code:
{include file="product_thumbnail.tpl" productid=$product_links[cat_num].productid image_x=66}

with
Code:
<a href="product.php?productid={ $product_links[cat_num].productid }"{if $config.Modules.upselling_new_window eq 'Y'} target="_blank"{/if}> {include file="product_thumbnail.tpl" productid=$product_links[cat_num].productid image_x=66}</a>

I got the product title to link by editing:

Code:
{$product_links[cat_num].product|escape}

with
Code:
<a href="product.php?productid={ $product_links[cat_num].productid }"{if $config.Modules.upselling_new_window eq 'Y'} target="_blank"{/if}> <span class="ProductTitle">{$product_links[cat_num].product|escape}</span></a>

Now, the only tihng that would perfect it (for me at least) would be getting the short description to show.
__________________
-----------------------------------------------
X-Cart Gold 4.0.17
Reply With Quote
  #110  
Old 09-18-2006, 07:42 PM
  KCAutosound's Avatar 
KCAutosound KCAutosound is offline
 

eXpert
  
Join Date: Feb 2005
Posts: 220
 

Default Re: Upselling MOD 4.0.18

Quote:
Originally Posted by brgreene
Can someone post the complete .tpl and .php code for this mod that works on 4.0.18?

Same here.
__________________
X-Cart version 4.7.6 Gold
xcartmods.co.uk - Ultra Template
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 02:38 PM.

   

 
X-Cart forums © 2001-2020