Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Complete Product List for Members Only


dafoc

Recommended Posts

We want to make our complete catalog open to our customers only, because we don't want our competitors to see all our products. Therefore, this would be how it works ... there would be a limited number of products (esp. older products) shown on the list, and people have to log in in order to see the complete list. We also need to have something in place in the admin to approve membership when they sign up. Is is possible? Are there any contributions out there yet?

 

Thanks,

David

Link to comment
Share on other sites

  • 8 months later...
We want to make our complete catalog open to our customers only, because we don't want our competitors to see all our products. Therefore, this would be how it works ... there would be a limited number of products (esp. older products) shown on the list, and people have to log in in order to see the complete list. We also need to have something in place in the admin to approve membership when they sign up. Is is possible? Are there any contributions out there yet?

 

Thanks,

David

 

I am searching for the same thing. I don't need this part, really (it wouldn't hurt:

there would be a limited number of products (esp. older products) shown on the list, and people have to log in in order to see the complete list.

 

But i do need to approve all users and then make them login each time before even browsing.

 

Thanks

Link to comment
Share on other sites

customer side:

 

1) add a new field to the customers table called "approved" as a char(1)

2) add a check to login.php to see if it is set true before logging in

 

Admin side:

 

1) copy customers.php to approvecust.php

2) change the sql to only select those that have non-approved status

3) steal the code for turning the products on/off and use the "lights" and the ability to switch them on/off from the page without having to edit the entire record

4) keep the ability to edit the record, and add the approved flag to the edit screen

5) modify customers.php to allow you to edit the new field

6) add the acces to approvecust.php to the left hand side navigation under customers

 

That should just about do it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...