Author |
Topic |
|
wesellnawon
Starting Member
USA
7 Posts |
Posted - May 24 2017 : 22:17:53
|
Is there a way to offer payment choices to customers based on their log in or customer group? Example: Some of our customers get Net 30 terms, some do not. I need to show net 30 terms as a payment option only for those that qualify.
Mitch Gordon |
|
danielrichardson
VP-CART Super User
Australia
276 Posts |
Posted - May 25 2017 : 05:09:50
|
seems it would need tweaking the code to allow this based on a customer''s account type |
Edited by - danielrichardson on May 25 2017 05:20:55 |
|
|
apswater
VP-CART Super User
444 Posts |
Posted - May 25 2017 : 13:36:37
|
NSS |
|
|
diegomilito
VP-CART Expert
Argentina
779 Posts |
Posted - May 26 2017 : 02:56:54
|
i can suggest you something here first step you''ll gonna change your configurations- *xallowotherpayments make sure it''s yes *xotherpaymenttypes, include ''Net 30 terms'' into your existing ones...
then you can edit a file for this purpose based on customer group id if you dont have a customer group for this, make sure you create one. call it Group Name eg : Net30, n after you''ve added it, look at the customer group id..remember it
you will assign first the customers you want to this group better,,,
now i ''ll show you how to edit the checkout file to include the condition .. open the shopcheckout.asp , and u need to search for the lines of coding below:
DisplayGateways DisplayCreditCard DisplayOtherPayment
u need to changing them to-
if getsess("groupid") <> "(put in customer group id here)" then DisplayGateways DisplayCreditCard else DisplayOtherPayment end if
will it work for u ?
diego |
|
|
apswater
VP-CART Super User
444 Posts |
Posted - May 26 2017 : 09:37:36
|
ill have to try this too.
|
|
|
wesellnawon
Starting Member
USA
7 Posts |
Posted - May 26 2017 : 10:53:09
|
Thanks Guys! I will give it a try and report back. I hope you have a great weekend.
Mitch Gordon |
|
|
wesellnawon
Starting Member
USA
7 Posts |
Posted - May 30 2017 : 13:25:22
|
Hi Diego, I tried your code however it hides the entire pay by other methods no matter what I do. I need the cash and check options available to everyone and just the Net 30 to show along with the cash / check options for only some people. Is there a way I can use the custother1 field in the customer setup instead to do this? Thank you for all your help.
Mitch Gordon |
|
|
|
Topic |
|