Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

password protect a category


perfectj

Recommended Posts

i need to password protect a category - special prices for certain customer groups. i know there is a contrib for this "hide products from customer groups" but i need a simpler way of doing it, so i just want a login field for for the wholesale category.

 

any ideas?

Link to comment
Share on other sites

You want one login for all whoesalers or they have different login.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

You want one login for all whoesalers or they have different login.

 

Satish

 

i have it set up already so all customers have a different login and i have Seperate Pricing Per Customer set up so i can divide my customers into groups.

 

what i want is only the wholesale customer group to be able to see the wholesale category.

 

possible?

Link to comment
Share on other sites

Yes it is possible.

 

in application_top.php place a code that chek if cpath == wholesale category id.

 

If so it cheks for customer group if wholesale it allows the code to move further else redirect to either Home page or forbidden page.

 

Similarly in html output apply logic so that wholesale category link is not placed in href when a non wholesale group customer logs in.

 

Satish.

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

Yes it is possible.

 

in application_top.php place a code that chek if cpath == wholesale category id.

 

If so it cheks for customer group if wholesale it allows the code to move further else redirect to either Home page or forbidden page.

 

Similarly in html output apply logic so that wholesale category link is not placed in href when a non wholesale group customer logs in.

 

Satish.

 

thanks - i'll give it a go

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...