Ozpost.net News
17th November 2010 CHANGES TO ESTIMATED DAYS DELIVERY - OZPOST.NET
In keeping with a number of requests, ozpost.net has recently altered the way it estimates the delivery times shipping quotes.
Until now, each carrier returned this information in their own formats that generally had nothing in common with each other. Some would quote a specific number of days, some would quote a range of days, and others an estimated date. Feedback appears to indicate that most people (merchants and most importantly, the customers) appear to prefer the date format rather than the estimated days format, so I have opted to make all estimates conform to this format...
Along with this change comes a couple of new configuration options that will be included in the next client program updates. Meanwhile, these options can be added to existing/older clients by loading the file /includes/modules/shipping/ozpost.php into a text editor and searching for the line that reads like:
$result = $this->_getURL($this->SERVER, "/postage.php?weight=$parcel......................................");
Insert between "?" and "weight="
deadline=xx&maildays=y&
So the line now reads something like:
$result = $this->_getURL($this->SERVER, "/postage.php?deadline=xx&maildays=y&weight=$parcel.............
The "deadline" (xx) is the cutoff time (hour 0-23) for sameday mailings (overnight delivery)... The default is set for 10am (local store time).
The "maildays" value (y) indicates the days that you do your mailings..
A bitmapped value where:
Mon = 1
Tue = 2
Wed = 4
Thu = 8
Fri = 16
A value of '0 or 31' indicates every weekday, otherwise simply add the numbers that match your maildays..
examples: Mon, Wed & Friday only = 1 + 4 + 16 so maildays=21
Tue & Thursdays only = 2 + 8, so maildays=10
All except Mondays = 2 + 4 + 8 +16 so maildays=30
Tue, Wed, Thurs only = 2 + 4 + 8 so maildays=14
The default value is '0' (all weekdays)
IF YOU ARE HAPPY WITH THE DEFAULT VALUES YOU DON'T NEED TO MODIFY ANYTHING!!!!!!
If you have any further questions or problems please ask.
Thanks
Rod
Bookmarks