kgb2f Posted December 16, 2002 Share Posted December 16, 2002 Can someone enlighten me as to exactly what this feature is? It only seems to occur once in the entire site (default.php) so i cannot see how it might function. What I need to achieve is a site that works with the products of only one manufacturer, even though there are many other products in the database. I can set up only a single manufacturer in that table if needed and will definitely not show the manufacturers' box, but AFAICT that doesn't prevent other products being listed. At first glance it looks as if PRODUCT_LIST_FILTER is to apply a filter, but I cannot see how it can operate. Anyone? Link to comment Share on other sites More sharing options...
mattice Posted December 16, 2002 Share Posted December 16, 2002 It is a product filter based upon categories. Manufacturer: MicrosoftArticle: mouse Category: Mice Manufacturer: Microsoft Article: Windows XP Category: Software Now if you select manufacturer Microsoft from the main menu you will see both the mouse and the Windows XP. Use the drop down filter to show products from Microsoft in either the category Mice or Software. HTH Mattice "Politics is the art of preventing people from taking part in affairs which properly concern them" Link to comment Share on other sites More sharing options...
kgb2f Posted December 16, 2002 Author Share Posted December 16, 2002 I understand that process, but I cannot see what PRODUCT_LIST_FILTER has to do with it. I cannot find where it is defined, even though it appears in default.php and if it's not been defined then it's NOT being used. Do you know where it's defined? Or can you suggest anyway to show ONLY products from 1 (preset) manufacturer? Link to comment Share on other sites More sharing options...
Aodhan Posted December 16, 2002 Share Posted December 16, 2002 I understand that process, but I cannot see what PRODUCT_LIST_FILTER has to do with it. I cannot find where it is defined, even though it appears in default.php and if it's not been defined then it's NOT being used. Do you know where it's defined? Or can you suggest anyway to show ONLY products from 1 (preset) manufacturer? It's one of those that is defined and pulled from the database. Right now it looks like it is either an on or off thing, set from the admin panel. If you want to change it to show only from one manufacturer, take a look at where it is used in default.php (around line 227), and go from there. Aodhan Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.