Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PassWord protect a category


igloo

Recommended Posts

Hello

is there a way to PassWord protect a category among the top categories

accessible from the left hand nav?

or any other means to restrict access to a given category

it does not require to be rock solid any simple solution (if any !) should do

 

thank you

 

regards

Link to comment
Share on other sites

the categories exist in the database only, they're not like directories you can protect with an .htaccess file :(

 

So the only is to actually code it in the php scripts.

There isn't a "simple" solution I can think of.

 

I think the idea would be to have the restricted categories in a table in the database and code the check in something like application_top.php.

The check would see if that specific (logged in) customer would be allowed access etc.

 

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

HEllo Matice

maybe another direction

create the categeory to be protected

copy its address

make it invisible in the nav

and offer a simple html page with the link that can be protected?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...