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

Auto populate featured products table

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #21  
Old 05-22-2011, 05:58 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Auto populate featured products table

It works just fiine. Tested it on multilevel categories on all 4.4.x and no issues. And actually in your example you should see featured products for Male and Company but not for Brand as Brand doesn't have subcategories
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #22  
Old 05-22-2011, 08:31 AM
 
Makey2u Makey2u is offline
 

Member
  
Join Date: Dec 2010
Posts: 20
 

Default Re: Auto populate featured products table

sometimes i do sometimes it only gives 1 product to be featured, while i set it to 4 for sub catagories and 4 front.

Could be something that i glitched up i guess....
but when it enables one product to show, i get an email with that SQL Error...

the odd thing is i cant disabled the featured items that are being "duplicated" because i dont know which ones they are, is there a way to access the database and disabled all of them manually under a specific table?
__________________
4.4.x
Testing store.
On windows
www.fashionwithin.com
Reply With Quote
  #23  
Old 05-22-2011, 09:03 AM
 
Makey2u Makey2u is offline
 

Member
  
Join Date: Dec 2010
Posts: 20
 

Default Re: Auto populate featured products table

quick question, which PHP are you using php 5? and is it Mod_sup?
__________________
4.4.x
Testing store.
On windows
www.fashionwithin.com
Reply With Quote
  #24  
Old 05-22-2011, 08:15 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Auto populate featured products table

5 yes
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #25  
Old 05-16-2012, 11:51 PM
 
xtech xtech is offline
 

X-Adept
  
Join Date: Jun 2010
Posts: 605
 

Default Re: Auto populate featured products table


No more free Now...
__________________
X-cart Platinum
4.6.1
Reboot template
Reply With Quote
  #26  
Old 06-06-2012, 12:10 AM
 
Phoenix Tech Phoenix Tech is offline
 

Advanced Member
  
Join Date: Apr 2009
Location: Portugal
Posts: 53
 

Default Re: Auto populate featured products table

how do we set it, so that it only selects products that are in stock ??
__________________
X-cart 4.5.x
Reply With Quote
  #27  
Old 06-06-2012, 07:36 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Auto populate featured products table

You can add to the query " AND $sql_tbl[products].avail > 0"
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #28  
Old 12-24-2012, 05:43 PM
 
donavichi donavichi is offline
 

X-Adept
  
Join Date: Apr 2004
Location: United Kingdom
Posts: 697
 

Default Re: Auto populate featured products table

Still works without a hitch in 4.5! Great mod, thanks.
__________________
Best regards,

Donavichi.
- - -

Website Copywriting || Web Design || FAQs || Home & Garden Blog
Reply With Quote

The following user thanks donavichi for this useful post:
cflsystems (12-25-2012)
  #29  
Old 06-25-2013, 07:22 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: Auto populate featured products table

This module is now 4.6.x ready
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #30  
Old 07-24-2013, 09:14 AM
  RichieRich's Avatar 
RichieRich RichieRich is offline
 

X-Adept
  
Join Date: Sep 2004
Location: London, England
Posts: 750
 

Default Re: Auto populate featured products table

is there a way this can populate the featured products every x days?
__________________
Richard


Ultimate 5.4 testing
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 01:03 PM.

   

 
X-Cart forums © 2001-2020