Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Link shipping to payment module type???

Link shipping to payment module type???

Views: 737

Results 1 to 4 of 4
6 Jan 2011, 5:39 PM
#1
mikestaps avatar

mikestaps

Zen Follower

Join Date:
Aug 2010
Location:
Grand Blanc, MI
Posts:
305
Plugin Contributions:
1

Link shipping to payment module type???

This one may be beyond the relm of help available here, but if anyone knows how I could link specific shipping types to specific payment modules it would make things so much easier....
i.e. If a customer picks USPS for shipping they would have to pay using PayPal, and if they choose UPS they could use either PayPal or QBMS.
Thanks

6 Jan 2011, 5:41 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Link shipping to payment module type???

You would need to customize whatever the QBMS payment module is to flip to:
$this->enabled = false;

when the shipping module type starts with:
usps_

6 Jan 2011, 6:56 PM
#3
mikestaps avatar

mikestaps

Zen Follower

Join Date:
Aug 2010
Location:
Grand Blanc, MI
Posts:
305
Plugin Contributions:
1

Re: Link shipping to payment module type???

Thank you Linda, You have been a God send this week with shipping stuff!

6 Jan 2011, 10:14 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Link shipping to payment module type???

That's just 'cause I fixed a bunch of people many years ago and suddenly everyone keeps passing the buck to me ... :blink:

Fortunately, I have some great help when I need it, from the rest of the team on these things ... :cool: