Re: USPS Flat Rate not an option
I want to enable USPS Priority Flat Rate Shipping for some items (Domestic only for now).
I went to /includes/modules/shipping/usps.php. It is 15 pages!
!. What line do I put it in?
2. Is this the correct php language?
global $shipping_weight;
//PRIORITY MAIL OPTIONS
if ($key == 'PRIORITY'){
$this->container = ''; // Blank, Flate Rate Envelope, or Flat Rate Box // Sm Flat Rate Box, Md Flat Rate Box and Lg Flat Rate Box
}
//PRIORITY MAIL OPTIONS
if ($key == 'PRIORITY')
{
if ($usps_shipping_weight < 5)
{
$this->container = 'Sm Flat Rate Box';
}
else if ($usps_shipping_weight < 10)
{
$this->container = 'Md Flat Rate Box';
}
else
{
$this->container = 'Lg Flat Rate Box';
}
}
HipDock.com -This is my first site. Version 1.3.9h. LightBox Add-On March 2011. Thanks for your patience and help!
Bookmarks