mike776 Posted October 16, 2002 Share Posted October 16, 2002 :?: Hello All, On my site I got some special product. I don't want those products to show on the main screen. Is it possible to make those product to be wisible only if someone click on that category? For example: this is my page www.artofchocolate.com/catalog and the category name is : :oops: Provocative So I don't want this Provocative products to show on the main screen. Please help Thanks Mike Link to comment Share on other sites More sharing options...
mattice Posted October 17, 2002 Share Posted October 17, 2002 First of all you should seriously consider sizing down your images, your site is terribly slow (I'm on adsl here) To prevent the 'provocatives' from showing you could add another field to table products; 'xrated' (default = 0) For any xrated product you set xrated to 1 Then in your sql query you add 'and xrated = 0; Or you could do a subquery to see if the category it is coming from is 'provocative'. I'd prefer the first method because it allows you to make more provocative categories in the future... Hooray, more chocolate genitals ;) 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...
Ajeh Posted October 17, 2002 Share Posted October 17, 2002 Two things you can do is hide them if not logged in, the if logged in hide them based on customer age or a don't show me this stuff field. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.