I am wanting to know if I am able to hide USPS if the cart is over a certain weight. Since we are using UPS we typically would like anything 10 lbs and under to display USPS as a shipping method but if it hits 11 lbs to hide USPS from being able to be selected as a shipping method.
Last edited by NoJoke on Tue Feb 14, 2012 1:26 pm, edited 2 times in total.
1. EDIT: catalog/model/shipping/usps.php
2. FIND:
3. BEFORE, ADD:
2. FIND:
Code: Select all
$postcode = str_replace(' ', '', $address['postcode']);
Code: Select all
if ($pounds > 10) { return array(); }
Who is online
Users browsing this forum: No registered users and 2 guests