Post by content808 » Mon Sep 04, 2017 11:34 am

Apparently first class shipping has been renamed so now the USPS module will not return a price for first class. Anyone know how to fix this? it will not quote for anything under 16 OZ . its now called first class package service.

Newbie

Posts

Joined
Sun Mar 19, 2017 1:31 am

Post by yodapt » Mon Sep 04, 2017 9:15 pm

Try with the VQMod file in attachment.

Attachments


Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by content808 » Tue Sep 05, 2017 12:17 pm

got this error

---------- Date: 2017-09-04 18:06:49 ~ IP : 98.151.5.130 ----------
REQUEST URI : /admin/index.php?route=extension/modification&token=DdwDRMTlqTzJ0UdKFSupDylA5hZ5nivG
MOD DETAILS:
modFile : /home/anipins/public_html/vqmod/xml/vqmod_usps_fix.xml
id : USPS fix
version : 1.0
vqmver : 2.x
author : yodapt
VQModObject::parseMods - Could not resolve path for [catalog/model/extension/shipping/usps.php,catalog/model/shipping/usps.php] (SKIPPED)

----------------------------------------------------------------------


---------- Date: 2017-09-04 18:14:28 ~ IP : 98.151.5.130 ----------
REQUEST URI : /index.php?route=checkout/checkout
MOD DETAILS:
modFile : /home/anipins/public_html/vqmod/xml/vqmod_usps_fix.xml
id : USPS fix
version : 1.0
vqmver : 2.x
author : yodapt
VQModObject::parseMods - Could not resolve path for [catalog/model/extension/shipping/usps.php,catalog/model/shipping/usps.php] (SKIPPED)

----------------------------------------------------------------------

Newbie

Posts

Joined
Sun Mar 19, 2017 1:31 am

Post by yodapt » Tue Sep 05, 2017 7:33 pm

That wasnt an error, but anyway, the attached version doesnt produce that entry in the log.

Opencart Developer - My Extension Showcase
Contact me at aeon.yoda@gmail.com


User avatar
Active Member

Posts

Joined
Fri Jun 17, 2011 6:39 pm


Post by bobb » Fri Sep 08, 2017 2:38 am

I had this problem also, running 1.5.6. Using the vqMod file as a guide, I went into this folder: catalog/model/shipping/ and edited the "usps.php" file, replacing the single instance of "First-Class Mail Parcel" with "First-Class Package Service - Retail". Worked perfectly.

New member

Posts

Joined
Thu Jul 31, 2014 6:14 am

Post by mastersconi » Tue Sep 12, 2017 5:13 am

I tried editing the "usps.php" file, replacing the single instance of "First-Class Mail Parcel" with "First-Class Package Service - Retail". I still can't get the first class option to show at checkout..

Any other ideas?

Newbie

Posts

Joined
Tue Sep 12, 2017 5:09 am

Post by goodejuice » Tue Sep 12, 2017 6:33 pm

mastersconi wrote:
Tue Sep 12, 2017 5:13 am
I tried editing the "usps.php" file, replacing the single instance of "First-Class Mail Parcel" with "First-Class Package Service - Retail". I still can't get the first class option to show at checkout..

Any other ideas?
Same problem I am having. Edit the file and no luck. Tried the vQmod too and no luck. Still no first class option in checkout.

Newbie

Posts

Joined
Thu May 08, 2014 11:38 pm

Post by mastersconi » Thu Sep 14, 2017 11:16 am

Just realized that there are 2 files that need to change:

catalog/model/extension/shipping/usps.php,
catalog/model/shipping/usps.php

After doing this first class shipping now displays correctly. However it displays on the bottom of the shipping list after priority and express...
How do I move it to the top?

Newbie

Posts

Joined
Tue Sep 12, 2017 5:09 am

Post by dcol » Sat Nov 03, 2018 1:28 am

Made the changes and does not appear for me. This post is a year old. Did USPS change the name again?

Newbie

Posts

Joined
Thu Nov 01, 2018 7:45 am

Post by Johnny2017 » Tue Nov 13, 2018 12:14 pm

Just updated both .php files and it worked.

Does anyone know of an OCmod for this???

Mahalo

Newbie

Posts

Joined
Wed Aug 23, 2017 12:05 pm

Post by Johnny2017 » Wed Nov 14, 2018 4:56 am

dcol wrote:
Sat Nov 03, 2018 1:28 am
Made the changes and does not appear for me. This post is a year old. Did USPS change the name again?
Did you change both files?

Newbie

Posts

Joined
Wed Aug 23, 2017 12:05 pm

Post by sidotij » Mon Feb 25, 2019 4:49 am

having the same issue in the usps module
I did edit usps.php in ../catalog/model/extension/shipping but I do not see a ../catalog/model/shipping/usps.php

I'm not having a lot of luck at this time.. has anyone solved this?

John

Newbie

Posts

Joined
Thu Feb 21, 2019 7:23 am

Post by straightlight » Mon Feb 25, 2019 5:56 am

I did edit usps.php in ../catalog/model/extension/shipping but I do not see a ../catalog/model/shipping/usps.php
Try: catalog/model/extension/shipping/usps.php file and ensure to edit the path accordingly from the VQMod file (if applies).

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by sidotij » Mon Feb 25, 2019 6:25 am

I replaced First-Class Mail Parcel with First-Class Package Service - Retail (as written in the XML
Here is the array text from catalog/model/extension/shipping/usps.php

Code: Select all

					$firstclasses = array (
						'First-Class Package Service - Retail',
						'First-Class Mail Large Envelope',
						'First-Class Mail Stamped Letter',
						'First-Class Mail Postcards'
					);

Newbie

Posts

Joined
Thu Feb 21, 2019 7:23 am

Post by straightlight » Mon Feb 25, 2019 8:37 am

sidotij wrote:
Mon Feb 25, 2019 6:25 am
I replaced First-Class Mail Parcel with First-Class Package Service - Retail (as written in the XML
Here is the array text from catalog/model/extension/shipping/usps.php

Code: Select all

					$firstclasses = array (
						'First-Class Package Service - Retail',
						'First-Class Mail Large Envelope',
						'First-Class Mail Stamped Letter',
						'First-Class Mail Postcards'
					);
What are the results since?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by sidotij » Mon Feb 25, 2019 10:36 am

Straightlight:

at this time I am not seeing the correct options for First-Class Package Service - Retail as an option when I attempt to check out
I've reverted usps.php to First-Class Mail Parcel and I am not seeing that as an option either

I'm open to suggestions

John

Newbie

Posts

Joined
Thu Feb 21, 2019 7:23 am

Post by straightlight » Mon Feb 25, 2019 10:20 pm

sidotij wrote:
Mon Feb 25, 2019 10:36 am
Straightlight:

at this time I am not seeing the correct options for First-Class Package Service - Retail as an option when I attempt to check out
I've reverted usps.php to First-Class Mail Parcel and I am not seeing that as an option either

I'm open to suggestions

John
OC version?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by sidotij » Mon Feb 25, 2019 10:45 pm

Version 3.0.3.1

Newbie

Posts

Joined
Thu Feb 21, 2019 7:23 am

Post by straightlight » Mon Feb 25, 2019 11:09 pm

I would suggest to address this issue on GitHub since you are using the v3.0.3.1 release as this seem to be an on-going issue with USPS options.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by sidotij » Tue Feb 26, 2019 12:13 am

thanks for taking the time to look Straightlight

Filed #7229 in github

Newbie

Posts

Joined
Thu Feb 21, 2019 7:23 am
Who is online

Users browsing this forum: No registered users and 103 guests