X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Upselling Products module modification (https://forum.x-cart.com/showthread.php?t=4444)

Thedae2k 01-04-2006 02:09 AM

Wow...great mod guys! Works great in 4.0.17

bardolino 02-23-2006 12:48 PM

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!

fearnothing 03-10-2006 01:22 PM

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.

brgreene 04-21-2006 09:20 AM

Upselling MOD 4.0.18
 
Can someone post the complete .tpl and .php code for this mod that works on 4.0.18?

instink 09-12-2006 08:50 AM

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!

carlisleglass 09-12-2006 11:48 PM

Re: Upselling Products module modification
 
Has anyone got this working in v4.1.3 ??

leon 09-13-2006 06:48 AM

Re: Upselling Products module modification
 
I am interested as well for v4.1.3. Wonder where the developer is ?

brucew 09-17-2006 01:42 PM

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

brucew 09-17-2006 02:22 PM

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.

KCAutosound 09-18-2006 07:42 PM

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.


All times are GMT -8. The time now is 03:09 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.