"Undefined Rate"... that covers it well. Good thinking!
"Undefined Rate"... that covers it well. Good thinking!
Hi Conor,
Thoughts for a future release. Would it be possible to pull the region definition and region rate language defines from regiontables.php and add them to the headings in Admin?
If you have a complex set up as in my case with 10 regions and up to 3 set of table rates per region it is easy to get lost. It would help a great deal if the headings included the info as entered in regiontables.php. For example
Region 3 Countries/Postcodes - (UK Mainland)
Region 3 Shipping Method 1 Table of Rates (Parcel Force 24)
Hope you get my drift.![]()
Regards
Brent
Hi Conor,
Thinking about it this is probably an awful lot of coding so a simple free type text field in Admin would do. After all you'll only enter the details once but will probably tinker with the rates more often.
Regards
Brent
Hi Brent,
Oh, that's a good idea! Should have thought of that one myself. Makes the configuration section much longer but as it is adding descriptions to the titles, it does so while at the same time making it easier to navigate!
A new version will be on its way shortly with this functionality... it won't require a database update so upgrading will be the simple matter of copying the new files over the existing files.
It was a deliberate design decision not to have a text field in the admin... you only enter details once IF you use only one language on your shop... the language defines are abstracted from the main configuration and therefore clunky/unintuitive but they do allow the use of multiple languages.
All the best...
Conor
ceon
Hi,
Just realised that updating the titles in the configuration can only be done at one point... when the admin modules.php file calls the "keys()" method to read the configuration values.
This would mean that to add the titles to each configuration value the language file will have to be parsed every time the keys() method is called and the key titles updated in the database.
Would people here object to having their databases tampered with in this way? I'd of course try to find some way to make sure this only happens on the admin side otherwise it would cause multiple database updates every single time the module was queried (which would be an unnecessary load on the server). If that couldn't be done then I could of course add a switch to allow this functionality to be turned on/off as desired.
Unfortunately this behaviour is just a legacy of the way osC/ZC ahs been built and can't be avoided. (At least we can get around it though... :) ).
All the best...
Conor
ceon
Wow, thanks conor for your work and for notifying me of the update!
I have installed it and everything seems to work just fine! I've added a few post codes to the admin to test things out but I'll have to sit down a few more hours to configure the admin properly to let my customers choose between 3 shipping methods in canada and different rates for US and worldwide.
I fear I'll have a lot of work to do in order to configure that mod but nothing compared to the hours you must have spent writing the code!
Thanks again and I'll let everyone know how things are going and share my table rates with those interested!
Is there a way to set a "catch all" to indicate all two character ISO country codes that are not specifically defined?
First of all GREAT MOD Conor!!!!
I'm from Spain which is a mess in terms of shipping... I need to shipping without taxes for the Canary Islands and with taxes to the rest of Spain... This is important as we sell mainly to other companies. Can you give me a clue. Thank you /Go raibh maith agat!!!
Congratulations on a very nice mod!. Using 'price' as the calculation method, my client can set break-points based on order value after which a different shipping method is used. The lang definitions make it clear to the customer how we plan to deliver their goods and because the module hides lower-priced methods after the break-point is reached, we know that shipments have adequate insurance cover.
Only problem I have is with the Zen Cart shipping estimator. If I select 'Ireland' as the country the IE rates appear. But with 'United Kingdom' selected (and no postal code entered) I get nothing. I thought the catchall GB region tables would display in that situation?. I tried moving GB to the bottom of the regions but still no joy.
Also, if I select 'Singapore' I was hoping for the 'We do not ship there' message, but alas not.
Any idea what I might have done wrong? Using 1.3.7![]()
Bookmarks