Post by mirvine » Mon Nov 07, 2011 8:53 am

Hello,

I was wondering if any one has an example where they have USPS and FedEx. I would like to give my clients the USPS option if the total weight is under 1 pound. If the total weight is over, then they will only get FedEx.

Thank you in advance.

Newbie

Posts

Joined
Mon Nov 07, 2011 7:39 am

Post by Qphoria » Mon Nov 07, 2011 2:08 pm

1. EDIT: catalog/model/shipping/usps.php

2. FIND:

Code: Select all

$weight = ($weight < 0.1 ? 0.1 : $weight);
3. AFTER, ADD:

Code: Select all

if ($weight > 1) { return array; }

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 1 guest