Post by Daven » Sat Dec 16, 2017 8:09 pm

Hi All - am using Ver 3.0.2.0
All working well but I'm having problems setting the Royal Mail shipping.
If a add an item to the cart and estimate post to say the US, it will give the right price options I have set for international AND international signed. If I change the country to say Philippines I only get the international price and not signed!

How does the RM extension get the country info for each postal option? I have added the missing countries to a geo zone and even deleted a country that works but it has no affect.
Is there another list of settings somewhere?
Thanks
Dave

Newbie

Posts

Joined
Sat Dec 16, 2017 7:54 pm

Post by straightlight » Sat Dec 16, 2017 10:59 pm

Depending on the signed class that you use, ensure either the 1st and / or 2nd class signed is configured from your admin - > extensions - > extensions - > shipping - > royal mail .

In addition, according to the codes, the United Kingdom (UK) is considered for these two classes.

For International and Signed geographic zones, followed is the list:

Code: Select all

'AD',
				'AR',
				'AT',
				'BY',
				'BE',
				'BG',
				'CA',
				'KY',
				'HR',
				'CZ',
				'DK',
				'EC',
				'FI',
				'FR',
				'DE',
				'GI',
				'GR',
				'HK',
				'HU',
				'IS',
				'IT',
				'JP',
				'LI',
				'LT',
				'LU',
				'MT',
				'NL',
				'NZ',
				'PL',
				'PT',
				'RO',
				'SM',
				'SG',
				'SK',
				'SI',
				'KR',
				'SE',
				'CH',
				'TH',
				'TT',
				'US',
				'VA'

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 Daven » Sun Dec 17, 2017 1:07 am

Thanks - the UK post is fine as well but there must be somewhere that holds the country codes for the different options and the world zone rates and Europe?
I did not have this issue in 1.5 so either overlooked something or forgotten ;)
Best
Dave

Newbie

Posts

Joined
Sat Dec 16, 2017 7:54 pm

Post by Daven » Sun Dec 17, 2017 2:44 am

Right so I found in /catalog/model/extension/shipping/royal_mail.php that the country codes were missing from the relevant array so copied and pasted them in and it looks like it has solved it!

Question remains how does this PHP file get populated from in the admin area?
Thanks
Dave

Newbie

Posts

Joined
Sat Dec 16, 2017 7:54 pm

Post by straightlight » Sun Dec 17, 2017 3:17 am

It doesn't. It gets populated from the database. Only the API gets populated from the admin towards the store-front end.

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 Daven » Sun Dec 17, 2017 6:00 pm

Thanks - so is it worth reporting it as an error or will this post be picked up?

A way to amend the file from the front end would be easier if someone can create a mod!
Best
Dave

Newbie

Posts

Joined
Sat Dec 16, 2017 7:54 pm

Post by straightlight » Sun Dec 17, 2017 10:27 pm

It is not an error until being proved otherwise from the official documentation of the Royal Mail API provider that the entered regions into the arrays are accurate inclusively on what they implicitly provide.

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
Who is online

Users browsing this forum: Baidu [Spider] and 475 guests