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)
-   -   Replacing "Featured Products" with "Recommend (https://forum.x-cart.com/showthread.php?t=14503)

chamberinternet 08-01-2006 11:32 PM

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

TL408 09-18-2006 11:40 PM

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

TL408 09-23-2006 09:39 PM

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

stevekem 04-30-2007 12:24 AM

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?

dub713 06-25-2007 06:20 PM

Re: Replacing "Featured Products" with "Recommend
 
working in 4.1.7! great little mod.

dub713 07-11-2007 10:41 PM

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


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

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