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

Random Featured Products using Recommended Products

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #21  
Old 11-02-2007, 07:03 PM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default Re: Random Featured Products using Recommended Products

I think that I would need to do a whole new mod. This is just made to select products at random and intended to replace the Featured Products.

I may write a true Random Products mod that is category specific and still follows all the normal membership rules, but would be able to be displayed anywhere on the site.
Reply With Quote
  #22  
Old 11-02-2007, 07:11 PM
  SystemSkins's Avatar 
SystemSkins SystemSkins is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 350
 

Default Re: Random Featured Products using Recommended Products

That would be cool
__________________
Doug Rock
X-cart Gold 4.1.9
_____________________________________
Altered Cart: 1-Page checkout
Firetank: Feed Manager
Website CM: CDSEO PRO
Website CM: Product A-Z Map
Website CM: Review Approval
Website CM: Site Map Pro
Qualiteam: Sales & Stats (free version)
Reply With Quote
  #23  
Old 11-03-2007, 02:16 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

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

Default Re: Random Featured Products using Recommended Products

Try this mod:

http://www.cartmods.com/product.php?productid=110&cat=1&page=1 but it costs $90. Works on 4.1.x too.

I've installed it on a clients site a while ago, seems to works pretty well.

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
  #24  
Old 11-03-2007, 11:03 AM
 
hhiker hhiker is offline
 

eXpert
  
Join Date: May 2007
Posts: 231
 

Default Re: Random Featured Products using Recommended Products

Sorry I was not able to get back here to respond. We are in the middle of a busy season at the stores.

Quote:
I just wanted to let everyone know that I have made a FREE mod to do this. It is available on our website.

Thank you for taking what I did & putting it on your website. I appreciate the way you asked before taking the work of another. Hopefully since you have already done this, you will keep it free until such time as you write your own mod. Just because someone does something and has other more pressing things to do than respond to something they wrote & posted for FREE use of others, does not give you any right to take their work.

I have ordered it to see how you have it put together.
__________________
-
-
Versions: 4.1.10 and 4.3.0 (see post for which cart)

"Until man duplicates a blade of grass, nature can laugh at his so-called scientific knowledge." - Thomas Edison

"Never doubt that a small group of thoughtful, committed citizens can change the world; indeed, it is the only thing that ever has." - Margaret Mead (1901-197 quoted in John M. RIchardson, ed. Making it Happen, 1982

"Water is the best of all things." - Pindar (c. 522 BC - c. 438 BC), Olympian Odes
Reply With Quote
  #25  
Old 11-03-2007, 12:03 PM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default Re: Random Featured Products using Recommended Products

It was not my intention to take anyones work or try to pass something else off as my own. If you read the bottom of the post you will see that it is free because it is using X-Cart's code for random products. I have no intention of ever charging for this.

I did not intend to offend you - I just wanted to give this to someone in a complete package that they could turn on or turn off.

Since you did download it, you will see that I took the search function that was being used and moved it to it's own new function since there were a few fields added. This keeps from intruding on the existing func files but adds needed data that is not normally in the random products array. It was simple to do since X-Cart automatically checks for a function file for any Module that is enabled within Admin.

You will also see that I took the liberty of adding language variables and the facility to enable or disable the Module as well as a configuration entry to set the number of random products.

If I have offended you I am sorry. If you feel that I copied your work, it is not your work - it is Qualiteam's work - plus it is not the same approach that you used. The only two similarities are that it is using X-Cart's recommends.php code and that what you posted here is free as well as what I posted on our site is free.

Quote:
Originally Posted by hhiker
Sorry I was not able to get back here to respond. We are in the middle of a busy season at the stores.



Thank you for taking what I did & putting it on your website. I appreciate the way you asked before taking the work of another. Hopefully since you have already done this, you will keep it free until such time as you write your own mod. Just because someone does something and has other more pressing things to do than respond to something they wrote & posted for FREE use of others, does not give you any right to take their work.

I have ordered it to see how you have it put together.
Reply With Quote
  #26  
Old 06-29-2008, 11:16 PM
 
EN4U EN4U is offline
 

eXpert
  
Join Date: Feb 2008
Location: AZ
Posts: 379
 

Default Re: Random Featured Products using Recommended Products

Hmm, Ive been looking for something that would pull at random my stores products and display on front page.

yet, telifirma has gone absent. Anyone have this mod they could send to me...

Thanks...
__________________
Regards, Dan
X-Cart Gold Version 4.1.10

1 - One page checkout
2 - Image Generator
3 - CSDEO Pro
4 - Shop By Price
5 - Next - Previous
6 - On Sale
7 - Shop By Price

8 - Froogle & Google Base Feed
9 - Buy Together
10 - Customer Loyalty Points
11 - Customer Reward Points
Customer Reward Points Referral Add-on
12 - Product Reviews
13 - Other Custom Modifications
----------------------
http://www.townsqjewelry.com/
http://www.eroticnights4u.com/ <---- Adult Oriented - Toys
Reply With Quote
  #27  
Old 06-30-2008, 08:48 AM
 
EN4U EN4U is offline
 

eXpert
  
Join Date: Feb 2008
Location: AZ
Posts: 379
 

Default Re: Random Featured Products using Recommended Products

I received the free download link from Stephen as I truly wanted this to work..... When i applied the SQL patch, it said there was some error, then returned me back to the patch screen.

Anyways, I was wondering, since there was an error, should I revert back to the SQL backup i made prior, or just let it be? Nothing has seemed to change, except i see the option now in admin.

Will this pose any problems. Its the first time i personaly messed with any patches and am a bit concerned...

thanks...
__________________
Regards, Dan
X-Cart Gold Version 4.1.10

1 - One page checkout
2 - Image Generator
3 - CSDEO Pro
4 - Shop By Price
5 - Next - Previous
6 - On Sale
7 - Shop By Price

8 - Froogle & Google Base Feed
9 - Buy Together
10 - Customer Loyalty Points
11 - Customer Reward Points
Customer Reward Points Referral Add-on
12 - Product Reviews
13 - Other Custom Modifications
----------------------
http://www.townsqjewelry.com/
http://www.eroticnights4u.com/ <---- Adult Oriented - Toys
Reply With Quote
  #28  
Old 07-17-2008, 01:28 PM
 
kidroush kidroush is offline
 

Advanced Member
  
Join Date: Apr 2008
Posts: 80
 

Default Re: Random Featured Products using Recommended Products

Is there anyway to have it not randomized?

I just want the Featured Products with a limit of 6 and multiple pages. The problem is when someone clicks onto the next page it randomly selects them again and a customer may never see all of the items if you have more than one page of them. It may display the same six from the first page again on the second page, just in another order.
__________________
Lance
X-Cart Gold Version 4.6.1
Reply With Quote
  #29  
Old 08-27-2008, 03:46 AM
 
benz benz is offline
 

Senior Member
  
Join Date: Oct 2007
Posts: 111
 

Default Re: Random Featured Products using Recommended Products

To go back to the very original post, if you just want to show featured products in a random way you can modify featured_products.php to shuffle the array before assigning it to smarty.

Near the end of featured_products.php just add the line:
PHP Code:
shuffle($products); 
immediately before the line:
PHP Code:
$smarty->assign("f_products",$products); 
__________________
Version 4.1.8
Version 4.1.11
Reply With Quote
  #30  
Old 01-14-2009, 12:22 AM
  fmoses's Avatar 
fmoses fmoses is offline
Banned
 

Senior Member
  
Join Date: Apr 2008
Posts: 155
 

Default Re: Random Featured Products using Recommended Products

I was wondering if anyone had Telafirma's Random product mod. Tried getting off his site, http://www.telafirma.com/store/product.php?productid=16141&cat=252&page=1 but he doesn't seem to be around anymore? Is there a complete code that i can use otherwise to accomplish this? I was getting a bit confused lookin at all of the changes and the addition of steps throughout. Thank you.
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 12:24 AM.

   

 
X-Cart forums © 2001-2020