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

featured products help

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-15-2006, 05:34 AM
 
lootsale lootsale is offline
 

Member
  
Join Date: Sep 2006
Posts: 24
 

Default featured products help

hi guys,

you may have noticed that the featured products can only be selected from the admin panel. the problem is that you have to manually select the items from admin panel and it doesnt appear if the products goes out of stock or you dont assign any product to featured products section.

Now the questions i have in mind are:

1: The selection tool of admin panel: how can change it sql query so it would show only those cats and products in stock to select item for featured products? it is showing all items and you dont know unless the product is in or out of stock until you view on the website. A slight change in query such as WHERE category=>1 product AND quantity =>1, could sort this problem out but HOW?

2: lets say we want to add another function in such as if we dont assign an item for featured products in keyboards category then it should dynamically show 6 items itself from keyboards category. i can understand that would be different on front page which we can assign on daily basis but when it comes to 100 categories and 6x100=600 items to assign for the store, well i dont call it feasable. any solution from you guys so featured products are automatically assign 6 items from featured category if we dont assign any product from admin panel. it would save a lot of time and pages would feel packed with products.

kind Regards,
__________________
iddiboy..
lootsale.co.uk..
x-cart 4.1.3..
Reply With Quote
  #2  
Old 10-15-2006, 05:46 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: featured products help

There are some nice random product modules in the Custom Mods forum, although I'm not sure if any of them work for 4.1. As for adding featured products, just use 'disable products which are out of stock' and they won't show as choices.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 10-18-2006, 12:44 PM
 
lootsale lootsale is offline
 

Member
  
Join Date: Sep 2006
Posts: 24
 

Default Re: featured products help

thatz rite. i can disable products from admin and it wouldnt show up on website.. but you may have noticed the popup selection box for featured products in admin doesnt hide products out stock.. i assume it has to be done from some query to add such as select *...... WHERE avail=>1. that would simply show products in stock with more than or equal to 1 quantity..

hope you understand.. any idea?
__________________
iddiboy..
lootsale.co.uk..
x-cart 4.1.3..
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 03:03 AM.

   

 
X-Cart forums © 2001-2020