Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

can the USPS file be modified?


birdmantx

Recommended Posts

USPS offers express mail, Priority mail, first class, and parcel for the customer to choose from. Is there a way to modify this to only give them the prioirty mail option?

Thank you,

Sam

Flying away to get back to work.

Link to comment
Share on other sites

USPS offers express mail, Priority mail, first class, and parcel for the customer to choose from. Is there a way to modify this to only give them the prioirty mail option?

Thank you,

Sam

 

find these lines in the catalog/includes/modules/shipping/usps.php file:

$this->types = array('EXPRESS' => 'Express Mail',
                    'FIRST CLASS' => 'First-Class Mail',
                    'PRIORITY' => 'Priority Mail',
                    'PARCEL' => 'Parcel Post');

 

replace with this line:

$this->types = array('PRIORITY' => 'Priority Mail');

Link to comment
Share on other sites

find these lines in the catalog/includes/modules/shipping/usps.php file:

$this->types = array('EXPRESS' => 'Express Mail',
                    'FIRST CLASS' => 'First-Class Mail',
                    'PRIORITY' => 'Priority Mail',
                    'PARCEL' => 'Parcel Post');

 

replace with this line:

$this->types = array('PRIORITY' => 'Priority Mail');

Adam you are DA MAN!!!!!!!!!!!!!!!!!!!!! Thank you so much!

works great!

Flying away to get back to work.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...