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

Replacing "Featured Products" with "Recommend

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #31  
Old 08-01-2006, 11:32 PM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,470
 

Default

Quote:
Originally Posted by mffowler
Can anyone get it to be category specific to the current cat. vs. random? The nice thing about this is you can use it for multiple instances. Like a "You Might Also Like..." and a sorta auto-generated cross-selling mod IF it was category specific.
- Mike

I'm after this feature too ...
Check this post out:
http://forum.x-cart.com/viewtopic.php?t=16081#16081

I'm currently playing with it in v4.1.2

CartMods.com are selling a mod that does this:
http://www.cartmods.com/product.php?productid=110

Sam @ CartMods has confirmed to me that it's compatible with 4.1.x too.

Regards

Shafiq :sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote
  #32  
Old 09-18-2006, 11:40 PM
 
TL408 TL408 is offline
 

X-Adept
  
Join Date: Jan 2005
Posts: 549
 

Default Re: Replacing "Featured Products" with "Recommend

Has anyone try this mod with a store that has several thousand of products? My concern is that it would have a negative performance impact going though long list with thousands of items trying to randomize it......Just a thought.

-Tuan
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9
Reply With Quote
  #33  
Old 09-23-2006, 09:39 PM
 
TL408 TL408 is offline
 

X-Adept
  
Join Date: Jan 2005
Posts: 549
 

Default Re: Replacing "Featured Products" with "Recommend

Awesome. I've have tried this mod as of X-cart release 4.1.3 and it work just as described. Now, if someone can point me to the right direction on how to revise the "Recommended Product" codes so that all thumbnails are referenced directly via filesystem instead of "image.php" file. Otherwise the frontpage would take forever to load all these randomized product images.
http://forum.x-cart.com/forumdisplay.php?f=18

Thanks guys.
-Tuan
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9
Reply With Quote
  #34  
Old 04-30-2007, 12:24 AM
 
stevekem stevekem is offline
 

Senior Member
  
Join Date: Dec 2006
Posts: 111
 

Default Re: Replacing "Featured Products" with "Recommend

I tried this mod on 4.1.3, but when the following lines are added below to show pricing, I get a "Fatal error: Call to undefined function: func_get_product_taxes() in /home/path/to/random.php on line 8" error:

if (is_array($randoms) && count($randoms) > 0) {
foreach ($randoms as $k=>$v) {
$randoms[$k]["taxes"] = func_get_product_taxes($randoms[$k], $login);
}
}

Anyone know why this is happening?
__________________
X-Cart Gold v4.4.1
Reply With Quote
  #35  
Old 06-25-2007, 06:20 PM
 
dub713 dub713 is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 56
 

Default Re: Replacing "Featured Products" with "Recommend

working in 4.1.7! great little mod.
__________________
X-Cart version 4.1.7 - PHP 5.2. - MySQL server 5.0.41-community-nt - MySQL client 5.0.22 - Web server Apache/2.2.4 (Win32) - PHP/5.2.2
Reply With Quote
  #36  
Old 07-11-2007, 10:41 PM
 
dub713 dub713 is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 56
 

Default Re: Replacing "Featured Products" with "Recommend

anyone have the answer to this...


i'm using this for 4 different random products on the main page... the problem is, duplicates. we've seen 2 of the same before, but i actually just saw 4 (yes, all four) random products, as the same item. if i could figure it out, i'd code it, but i can't. anyone have a solution to this??

thanks,
j
__________________
X-Cart version 4.1.7 - PHP 5.2. - MySQL server 5.0.41-community-nt - MySQL client 5.0.22 - Web server Apache/2.2.4 (Win32) - PHP/5.2.2
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 06:19 PM.

   

 
X-Cart forums © 2001-2020