Zen Cart Logo

Automated group member

Locked

Views: 1,825

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
8 Nov 2007, 12:49 PM
#1
mdee avatar

mdee

New Zenner

Join Date:
Aug 2007
Posts:
16
Plugin Contributions:
0

Automated group member

Is there a way or any mods that can set up that when a customer logs in it automatically sends them to a group according to what they enter in registration
ive been reading thru the post and some look like they can do it but they dont or if u do it messes up your cart so dont try it answers

its for wholesalers
im trying to have them register in without me changeing them into wholesalers account alot of customers would be oversees and we want them to be able to shop without waiting for switchover from reg customer to wholesale customer

maybe something like when a cust joins if enters a tax id in the new feild i vreated,he directly becomes a wholesale cust instead of retail customer without wait for me to switch him or her over

tnx

8 Nov 2007, 7:38 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Automated group member

You'd have to build your custom logic for that in the /includes/modules/YOURTEMPLATE/create_account.php

  • verify that they qualify
  • set correct group-discount setting in the customers table
  • set correct group-discount session variable
29 Dec 2007, 3:38 AM
#3
rriehle avatar

rriehle

New Zenner

Join Date:
Aug 2007
Posts:
36
Plugin Contributions:
1

Re: Automated group member

Is there a way or any mods that can set up that when a customer logs in it automatically sends them to a group according to what they enter in registration

I grappled with a similar situation myself. It was not for wholesale accounts, like yours; nonetheless, my solution:

  1. Generate coupon codes that provide discounts equal to that which your discount groups provide. In the admin, set your coupon codes like this:
Uses per Coupon ::  Unlimited
Uses per Customer ::  1
  1. Pass out the coupon codes to customers based on the group that you eventually want them to be in.
  2. Let them shop whenever they like. They will place their first order using the discount code that you gave them.
  3. Switch them into the discount group via the administrative console after they've placed their first order. Now their future orders will continue to get the same discount as their first order.

You have a problem if they try to place a second order before you have manually moved them into proper discount group, but I never ran into that particular problem. I know you mentioned that this was for wholesale customers, and I realize that pricing for wholesale customers can involve complications beyond simple discounts, sales tax considerations among them. However, perhaps the strategy above will be useful for someone, somewhere.

Regards,
Rick