Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Shipping - USPS Module


meribeto

Recommended Posts

Posted

I'm using the standard OSC 2.2 USPS shipping module. I want to only offer regular Parcel Post and Express. Is there any way I can remove the "Priority Mail" option at the check out screen?

 

Thanks for your help.

Posted

I would recommend that you first read the documentation HERE

 

Then check the code in usps.php [catalog/includes/modules/shippinig] & remove lines

 

'PRIORITY' => 'Priority Mail',
AND
						'Priority Mail International',
							 'Priority Mail International Flat Rate Envelope',
							 'Priority Mail International Flat Rate Box',

from below

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

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

  $this->intl_types = array('Global Express Guaranteed',
							'Global Express Guaranteed Non-Document Rectangular',
							'Global Express Guaranteed Non-Document Non-Rectangular',
							'Express Mail International (EMS)',
							'Express Mail International (EMS) Flat Rate Envelope',
							'Priority Mail International',
							'Priority Mail International Flat Rate Envelope',
							'Priority Mail International Flat Rate Box',
							'First-Class Mail International');

 

 

cheers

Best Regards,
Gaurav

Posted
I would recommend that you first read the documentation HERE

 

Then check the code in usps.php [catalog/includes/modules/shippinig] & remove lines

 

'PRIORITY' => 'Priority Mail',
AND
						'Priority Mail International',
							 'Priority Mail International Flat Rate Envelope',
							 'Priority Mail International Flat Rate Box',

from below

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

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

  $this->intl_types = array('Global Express Guaranteed',
							'Global Express Guaranteed Non-Document Rectangular',
							'Global Express Guaranteed Non-Document Non-Rectangular',
							'Express Mail International (EMS)',
							'Express Mail International (EMS) Flat Rate Envelope',
							'Priority Mail International',
							'Priority Mail International Flat Rate Envelope',
							'Priority Mail International Flat Rate Box',
							'First-Class Mail International');

 

 

cheers

Posted

What if I wanted to remove one of the international shipping service? I have tried to remove it from the array list but they still show up.

Posted
I would recommend that you first read the documentation HERE

 

Then check the code in usps.php [catalog/includes/modules/shippinig] & remove lines...

 

You should be able to turn them off in the admin panel without editing the code. :huh:

- :: Jim :: -

- My Toolbox ~ Adobe Web Bundle, XAMPP & WinMerge | Install ~ osC v2.3.3.4 -

Archived

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

×
×
  • Create New...