
Originally Posted by
ontoit
Hi Rod, thanks for the reply. I have made sure the settings are applied in the Ozpost module, and in Admin -> Configuration -> Shipping / Packaging however the error still persists:
[id] => Error
[carrier] => OzPost
[description] => Invalid input Data [: Missing Store Postcode: ]
Anywhere else to look for this setting? Or is it possible to hard code it?
Thanks
K
This has me beat. Well, I know what the problem is, but I've no idea *why*.
This 1st screenshot is what you *should* be seeing.
This second screenshot is a copy of what you sent me in email
Note how yours is missing the entry for "Postal Code"? This entry is one of Zencarts own data fields.
The Shipping from Postcode and Shipping From Suburb are added by the Ozpost installer (and are actually the same fields that are found in the ozpost settings. IOW, if you change these on this (shipping/packaging) screen you will find they will have also changed in the ozpost settings screen, and vice verci.
So, the question is, how/why are you missing the ZENCART Postal Code setting? I've just checked the zencart sql install files for V1.5.5 and noted that this hasn't changed from any of the previous versions (included the v1.5.1 which you stated you were using), so there are only two possibility that I can think of. You either had a bad install of Zencart - which is quite unlikely, or you, or someone else has gone into the database itself and deleted the entry.
Although I can't explain how/why you are missing the entry, you can re-add it by running the following SQL command (which I've copied from the zencart install .sql)
Code:
INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Postal Code', 'SHIPPING_ORIGIN_ZIP', 'NONE', 'Enter the Postal Code (ZIP) of the Store to be used in shipping quotes. NOTE: For USA zip codes, only use your 5 digit zip code.', '7', '2', now());
Note the 'key' value here is 'SHIPPING_ORIGIN_ZIP'. The ozpost entry has a key value of 'MODULE_SHIPPING_OZPOST_ORIGIN_ZIP'
If you have an explanation for this missing entry, I'd love to know what it is.
Cheers
RodG
Bookmarks