Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

COD available only to wholesale customers


ScorpioPDXNS

Recommended Posts

I have implemented SPPC (special price per customer) and QPB (quantity price break) successfully -- Thanks to all the support here!

 

After an extensive search of these forums, I am having difficulty finding a way to show COD as an option ONLY FOR wholesale customers. Can anyone help?

 

I have also tried altering the cod.php :

 

// disable this module if the order placed by RETAIL customer

       if($sppc_customer_group_id == 0) {
  $this->enabled = false;
 }

else {

       $this->enabled = true;

     }

 

This didn't work, and may be because this variable $spcc_customer_group_id isn't being passed?

 

Since it's important that I only ship COD to wholesale accounts, I need to find a fix to this asap.

 

Any help is appreciated.

 

Thanks,

 

-- JEFF

Link to comment
Share on other sites

Jeff,

 

This function is standard with SPPC. Go into your admin and find the customer group section. Click on the 'Retail' group and then press edit, this will let you turn on and off payment/ shipping methods of your choice for that group. Next go back to the customer group page and find your 'Wholesale' group and do the same, but this time make sure you allow them the correct payment/shipping type. Keep in mind you MUST have these payment/ shipping modules on for the method to be selected under the customer group.

 

Good Luck,

 

Nate

Link to comment
Share on other sites

Thank you for the quick reply! Still can't make it work.

 

 

Jeff,

 

This function is standard with SPPC.  Go into your admin and find the customer group section. Click on the 'Retail' group and then press edit, this will let you turn on and off payment/ shipping methods of your choice for that group.  Next go back to the customer group page and find your 'Wholesale' group and do the same, but this time make sure you allow them the correct payment/shipping type.  Keep in mind you MUST have these payment/ shipping modules on for the method to be selected under the customer group.

 

Good Luck,

 

Nate

 

 

When I got to edit customer groups, I only have the following options:

 

Personal

* Group Name:

* Show prices with/without tax:

* Tax Exempt: YesNo

 

 

What am I doing wrong?

 

Thanks!

 

-- JEFF

Link to comment
Share on other sites

Thank you for the quick reply!  Still can't make it work.

When I got to edit customer groups, I only have the following options:

 

Personal

* Group Name:

* Show prices with/without tax:

* Tax Exempt: YesNo

 

 

What am I doing wrong?

 

Thanks!

 

-- JEFF

 

Jeff. Chances are you are doing nothing wrong... have you installed the latest version of SPPC by JanZ?

Link to comment
Share on other sites

Jeff. Chances are you are doing nothing wrong... have you installed the latest version of SPPC by JanZ?

 

Nate, thanks for your patience... I would have been running around in circles for quite a while there.

 

I had installed the ACA version of SPPC, which apparently does not have the same database tables / admin backend (customers_groups.php) as 4.11 which allows for group modification of the payment types.

 

6 simple lines of SQL fixed it.

 

Much appreciated.

 

-- JEFF

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...