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

Link shipping to payment module type???

Started by mikestaps on 6 Jan 2011, 5:39 PM · Views: 744

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_

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!

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:

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!