| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Replacing "Featured Products" with "Recommend | ||||
|
|
Thread Tools | Search this Thread |
#31
|
|||||||||
|
|||||||||
Quote:
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 |
|||||||||
#32
|
|||||||
|
|||||||
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 |
|||||||
#33
|
|||||||
|
|||||||
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 |
|||||||
#34
|
|||||||
|
|||||||
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 |
|||||||
#35
|
|||||||
|
|||||||
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 |
|||||||
#36
|
|||||||
|
|||||||
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 |
|||||||
|
|||
X-Cart forums © 2001-2020
|