osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Hide Categories & Products V1

This is a discussion on Hide Categories & Products V1 within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Hide Categories & Products For OScommerce2.2 rc1 I searched for a solution for this, solutions I found were either over ...



Find us on Facebook
Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Connect with Facebook Register FAQDonate Members List Calendar Mark Forums Read


Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-27-2008, 09:31 AM
michael_s's Avatar
osCMax Developer


 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 15,761
Thanks: 139
Thanked 609 Times in 521 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Hide Categories & Products V1

Hide Categories & Products

For OScommerce2.2 rc1

I searched for a solution for this, solutions I found were either over complex, or poorly done, so this is my solution.

I believe in keeping things as simple as possible & not re-inventing the wheel.
OSC already has functions to hide any product, so I use that for products.
This adds a new entry in the category table (categories_status) so all thats needed on the client side is to add a filter to sql queries ( and categories_status = 1 ).
This does not allow for per-customer filtering, although I reckon it wouldent be too difficult to add.

Most changes occur in admin/categories.php. These allow you to change the status of any category & the status of all products within a category.

My site is heavily modified, so you may need to alter this contribution to fit your site.

More...
__________________
Michael Sasek
osCMax Developer

*** Do not PM me requesting paid help. The only paid work I do is for AABox Web Hosting customers ***

Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.

osCMax User Manual - osCMax Templates - Advanced Template Tutorial

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Products & Categories Anywhere michael_s New osCommerce Contributions 0 01-05-2008 01:10 PM
How do I HIDE products that are out of stock? ryankan1 osCMax v2 Customization/Mods 1 10-24-2007 02:17 AM
Hide products from customer groups for SPPC michael_s New osCommerce Contributions 0 06-16-2007 09:11 AM
Hide/Suppress Specials and New Products kenlyle osCMax v2 Customization/Mods 1 04-20-2006 09:57 AM
Can I hide / disable categories in OSCMAX? midwestwebsites osCMax v1.7 Discussion 2 03-28-2005 12:31 PM


All times are GMT -8. The time now is 01:52 AM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2009 osCMax
Inactive Reminders By Icora Web Design