Forums / General Questions / Special "rights" for certain customers

Special "rights" for certain customers

Started by thyme on 9 Dec 2011, 2:03 AM · Views: 534

Results 1 to 5 of 5
9 Dec 2011, 2:03 AM
#1
thyme avatar

thyme

New Zenner

Join Date:
Nov 2011
Posts:
24
Plugin Contributions:
0

Special "rights" for certain customers

Is there a way to set up COD for only certain customers? This is not something we want to advertise but we want to offer this for some of our frequent customers.
(Currently we are using paypal express and some customers are weary of this process.)

v1.3.9h

Thanks

9 Dec 2011, 3:38 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Special "rights" for certain customers

How are you identifying these customers? Just by customers_id or perhaps a Group pricing setting? :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Dec 2011, 2:18 PM
#3
thyme avatar

thyme

New Zenner

Join Date:
Nov 2011
Posts:
24
Plugin Contributions:
0

Re: Special "rights" for certain customers

hmmm I guess by customer id (so that we can be selective)

Also, we'd like to provide some with free shipping if they decide to come pick up their order- again we do not want to advertise this- we just want to offer this option to our close customers.

thanks for your help.

This is week 2 being live and we are running into small glitches. We want our "friendly customers" to have ease in ordering ect....

10 Dec 2011, 3:08 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Special "rights" for certain customers

You could customize the code for COD with the code in RED:

      if ((int)MODULE_PAYMENT_COD_ORDER_STATUS_ID > 0) {
        $this->order_status = MODULE_PAYMENT_COD_ORDER_STATUS_ID;
      }

// bof: just for a seclect group of customers for just customers_id 2, 3 and 5
      if (!IS_ADMIN_FLAG) {
        if (!in_array($_SESSION['customer_id'],explode(",",'2,3,5'))) {
          $this->enabled = false;
        }
      }
// eof: just for a seclect group of customers for just customers_id 2, 3 and 5

and adapt that same code for the Store Pickup shipping module ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

11 Dec 2011, 1:06 AM
#5
willie_bee avatar

willie_bee

Zen Follower

Join Date:
Mar 2011
Posts:
386
Plugin Contributions:
0

Re: Special "rights" for certain customers

Please don't take this in a bad way. If your customers are already happy and they are paying already them why would you bother changing them to COD? Why risk it? They are already buying alot as you state and are paying. Giving them the option to COD will just make them buy more stuff they can't afford to pay on COD and then what happens? The package gets sent back to you and you just paid shipping to and from for nothing. UPS or FedEx ain't running a charity service and WILL CHARGE YOU.

NEVER F UP SOMETHING THAT AIN'T BROKE.

don't mess with willie bee. i may go crazy on you.