meribeto Posted June 11, 2009 Posted June 11, 2009 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.
Gauravs Posted June 11, 2009 Posted June 11, 2009 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
meribeto Posted June 11, 2009 Author Posted June 11, 2009 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
jef531 Posted June 11, 2009 Posted June 11, 2009 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.
meribeto Posted June 11, 2009 Author Posted June 11, 2009 Thank you so much. That's really helpful. Thanks again.
jhande Posted June 11, 2009 Posted June 11, 2009 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 -
Recommended Posts
Archived
This topic is now archived and is closed to further replies.