Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Restrict Product purchases to certain customers


Guest

Recommended Posts

I've searched both here and in the contrib section but can't seem to find the right solution. I've found contribs and suggestions on setting up zone restrictions, but that's not what I need. Here's the problem...

 

I've got a client that manufactures and sells homeopathic medications. Most are only available to healthcare providers, but some are available OTC. They want all their medications to be available for view in the cart, but they want to have the "prescription" meds to be unavailable for purchase to the general public. For example, they have a pain reliever that everyone can buy, but they have an enhanced pain-reliever that is available only through your doctor.

 

Is it possible to set up osC so that the enhanced pain-reliever information can be seen by everyone, but it takes a special code to be able to purchase it?

 

Chin

Link to comment
Share on other sites

Hi,

 

I saw earlier a contribution that could do the trick, I think it is based on a preset amount balance of the customer, meaning that if the customer hold you a certain amount of money, He cannot purchase anymore. I am sure there are other contrib that could just restrict customer.

 

If not, just put up a boggey invoice for the specific customer that exeeds the amount set in admin.

 

Let me know!

 

Martin

Link to comment
Share on other sites

Is it possible to set up osC so that the enhanced pain-reliever information can be seen by everyone, but it takes a special code to be able to purchase it?
I don't know if this works in your case, but Separate Pricing Per Customer combined with Hide Price if $0 could do that. For the retail customer the price would be set $0, then the Hide Price if $0 contribution would prevent the retail customer from buying it, but he/she can still see it. Those special customers would have to be a different group. The custom thing would be that when they register and enter a code or something, it would put them in that special group right away. Otherwise you would have to do that manually in the admin section.
Link to comment
Share on other sites

Martin,

 

I appreciate the lead. I did a contrib search for customer accounts (using various keywords), but everything that was returned doesn't fit the bill. All the contribs that were returned work either on a gift certificate base or a pre-paid account setup. For the internet, my clients are looking at the "pay as you go" type customer.

 

My first thought was an "Adult Content" restriction, but that didn't work. It, and I quote, "involves too much of my time to unlock their account so they can purchase." (if my client didn't pay fast and really, really well, I'd tell them to head to another webmaster for that one).

 

Any other suggestions out there?

Link to comment
Share on other sites

Jan,

 

Checking this now...

 

I don't know if this works in your case, but Separate Pricing Per Customer combined with Hide Price if $0 could do that.

 

I'm going to give this a whirl and see if it does the trick. Thanks in advance.

Link to comment
Share on other sites

Hi,

 

I would like to understand the exact aim of what you want to do; meaning

 

1- Must they be able to browse your site at all

2- Is it just to restrict them from buying when limit obtained

3- Is it simply thing that just need to be shown but no purchased...

 

Anyway, give exact details on how you want your site to act regarding purchase, because some contribution would probably do it by slightly modifying it !!! Anyway I leave you with two link that I found on the forum, which one contain the contribution I was talking about.

 

 

http://www.oscommerce.com/community/contri...ch,lock+account

 

 

http://www.oscommerce.com/community/contri...all/search,lock

 

 

Hope it helps!!!

 

CIAO!!! Martin

Link to comment
Share on other sites

Hi,

 

I would like to understand the exact aim of what you want to do; meaning

 

1- Must they be able to browse your site at all

2- Is it just to restrict them from buying when limit obtained

3- Is it simply thing that just need to be shown but no purchased...

Martin,

 

Here's the deal...

 

a. Some products are available to everyone. (Over the Counter aka OTC)

b. Other products are available to ONLY those with special priviledges (ie a doctor, in the USA with a valid DEA number) - (Prescription Only)

c. Everyone needs to see all the information and prices for the all the items.

d. All items need to paid for at the time of purchase, no accounts payable (payments accepted are checks, credit cards, etc. In other words the standard "pay at checkout" procedures).

 

Now here is the real kicker....

My client doesn't want to take time out of their busy schedule to "authorize' or "unlock" an account to allow full access and purchase of a product. (More on this further down)

 

So not only to I need to be able to restrict some people from purchasing, I also need to configure a way to verify that those that are able to purchase anything are indeed legally allowed to purchase everything. On the bright side, I do have a script that will "validate" DEA numbers.

 

I'm thinking I'm going to have to set up 2 carts for these people. One that lists everything in it, but with some items "disabled" for shopping purposes and another that is full SSL with password protection then add a "request full access" form to the "public" cart that my client can then review, confirm the request and then send the necessary information to the "authorized" buyer for access to the "private" cart.

 

The BlockCustomerAccount won't work due to the client desires and the Unallowed Payment won't work because that would prevent purchases that are allowed.

 

Think along the lines of a drug store. You can get Tylenol over the counter, but you have to have a prescription for Darvocet. Anyone who wants information on the Tylenol can get it, anyone who wants information about Darvocet can get it. Everyone can buy the Tylenol but to get the Darvocet, you have to have a prescription. I need to be able to restrict everyone from putting Tylenol AND Darvocet in their cart unless they have that prescription.

 

The Seperate Pricing For Customers appears promising, and the Hide Price if $0 seems to fit the bill to some degree. However, I'm still looking at the "authorization" setup.

 

Like I said, if my client didn't pay so well, I'd be telling them the only way is to do a validate before purchase setup and that stands the chance of losing some OTC purchases. Plus, they are determined to not have to worry about doing anything other than packing items for shipping. And, to be quite honest, the thought of them actually having access to the administration area is very scary. These people know their items, but are completely at a loss when it comes to anything to do with the internet. That's why they hired me.

 

Chin

Link to comment
Share on other sites

  • 2 weeks later...

Martin,

 

The hidden products won't work because of the "public view" requirement, which is actually a bummer because it's perfect for what I'm looking for.

 

I am definitely keeping a copy of the Customer Account Number and the Affiliate allow/disallow one on my computer. Those two look to be very handy in the near future.

 

Right now I've got the Hide Price and the SPPC up and installed. A few more tests and I'll know if that's the right ticket or not. I may have to add that Account Number mod just to give it a great capper.

 

Being pharmaceuticals, I'm wanting to make this as hard as possible for someone to get a drug they aren't supposed to. That and I think my client has the impression that if it doesn't take a ton of clicks to get something, then it's not good enough.

 

Chin

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...