If this is your first visit, check our documentation. To post, register or login.

ozpost shipping module

Started by rodg on 15 Mar 2009, 12:18 PM · Views: 404,161

Results 2,141 to 2,160 of 2,251
8 Sep 2015, 4:56 AM
#2141
louisapple avatar

louisapple

Zen Follower

Join Date:
Apr 2009
Posts:
151
Plugin Contributions:
0

Post #2141 by louisapple

i can't find both files? and the original file tpl_modules_shipping_estimator.php was installed in public_html/includes/templates/template_default/templates

8 Sep 2015, 6:00 AM
#2142
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #2142 by rodg

louisapple:

i can't find both files? and the original file tpl_modules_shipping_estimator.php was installed in public_html/includes/templates/template_default/templates

Was? Are you saying it's not there now??? If not, you'll need to replace it from the original zenCart .zip file.

The ozpost module will never modify (or delete) this file.

What the ozpost installer does is look for the file /includes/templates/YOUR_TEMPLATE/templates/tpl_module_shipping_estimator.php (which may or may not exist). If it DOES exist, it will copy it to the /cache/ folder and make the changes it needs. It will then rename the original
/includes/templates/YOUR_TEMPLATE/templates/tpl_module_shipping_estimator.php to tpl_module_shipping_estimator.php_ozpRestore, copy the modified version back to /includes/templates/YOUR_TEMPLATE/templates/ and finally, delete the copy from the /cache/ folder/

If the file
/includes/templates/YOUR_TEMPLATE/templates/tpl_module_shipping_estimator.php DOESN'T exist (which in most cases it won't) it will copy the default tpl file
/includes/templates/template_default/templates/tpl_module_shipping_estimator.php to the /cache/ folder, make the changes it needs, and then it'll copy this modified version to /includes/templates/YOUR_TEMPLATE/templates/tpl_module_shipping_estimator.php, before finally deleting the copy from the /cache/ folder.
In this case a tpl_module_shipping_estimator.php_ozpRestore file is NOT created because it isn't making any changes to any existing files.

The installer makes several checks along the way to ensure things go as expected, and if it detects any errors it will generate the error message that you have reported. This would include the case where it can't find a tpl_module_shipping_estimator.php to modify (or if it doesn't have permission to read it).

Soooo..... until I hear back from you as to whether public_html/includes/templates/template_default/templates/tpl_module_shipping_estimator.php currently exists or not I'm at a bit of a loss.

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

8 Sep 2015, 9:47 AM
#2143
louisapple avatar

louisapple

Zen Follower

Join Date:
Apr 2009
Posts:
151
Plugin Contributions:
0

Post #2143 by louisapple

i can see these files:

public_html/includes/templates/template_default/templates/tpl_modules_shipping_estimator.php
public_html/includes/templates/theme687/templates/tpl_modules_shipping_estimator.php

9 Sep 2015, 1:26 AM
#2144
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #2144 by rodg

louisapple:

i can see these files:

public_html/includes/templates/template_default/templates/tpl_modules_shipping_estimator.php
public_html/includes/templates/theme687/templates/tpl_modules_shipping_estimator.php

Could you please let me know the datestamp and filesize of each of these two files.

After this, could you rename
public_html/includes/templates/theme687/templates/tpl_modules_shipping_estimator.php
to
public_html/includes/templates/theme687/templates/tpl_modules_shipping_estimator.php_backup.

This should get make the estimator re-appear again. Please let me know if it does or not.

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

9 Sep 2015, 5:16 AM
#2145
louisapple avatar

louisapple

Zen Follower

Join Date:
Apr 2009
Posts:
151
Plugin Contributions:
0

Post #2145 by louisapple

public_html/includes/templates/template_default/templates/tpl_modules_shipping_estimator.php is 7.04kb
public_html/includes/templates/theme687/templates/tpl_modules_shipping_estimator.php is 7.81kb

9 Sep 2015, 5:26 AM
#2146
louisapple avatar

louisapple

Zen Follower

Join Date:
Apr 2009
Posts:
151
Plugin Contributions:
0

Post #2146 by louisapple

public_html/includes/templates/template_default/templates/tpl_modules_shipping_estimator.php is 7.04kb
public_html/includes/templates/theme687/templates/tpl_modules_shipping_estimator.php is 7.81kb

after change the name, the shipping estimator turns up now, but before there is tab called " shipping estimator" and you will not estimate the shipping until you click on it, now it just appear under the paypal check out and fixed

and i forget to mention my website is http://igrab.com.au/

9 Sep 2015, 9:23 PM
#2147
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #2147 by rodg

louisapple:

public_html/includes/templates/template_default/templates/tpl_modules_shipping_estimator.php is 7.04kb
public_html/includes/templates/theme687/templates/tpl_modules_shipping_estimator.php is 7.81kb

after change the name, the shipping estimator turns up now, but before there is tab called " shipping estimator" and you will not estimate the shipping until you click on it, now it just appear under the paypal check out and fixed

Thanks.

What's happened is that at some stage or other, someone has modified the original zencart tpl_modules_shipping_estimator.php file (rather than using the template overrides).
This is the file that you are currently using, and also the one being used prior to the ozpost installation.

The file
/includes/templates/theme687/templates/tpl_modules_shipping_estimator.php (currently renamed) is the one created by the ozpost installer. It was based on the modified default template, but due to the nature of the modifications already performed the installer flagged an alert to indicate something was amiss. In your case, this something was the error that you originally reported.

You can (and should) delete the renamed file now. The one currently called
public_html/includes/templates/theme687/templates/tpl_modules_shipping_estimator.php_backup.

You can bring the missing 'tab' back by changing the store configuration->shipping and packaging->
Shipping Estimator Display Settings for Shopping Cart = 1

The thing now though is where to go from here?

You have a choice.
If Australia Post is the only carrier you use, and you are happy with the current estimator display, then you you don't need to do anything. The changes that the ozpost installer is trying to make won't affect you.

If you use, or plan to use any of the other supported carriers, or if you wish to display the carrier/courier icons rather than their names you will need to restore the public_html/includes/templates/template_default/templates/tpl_modules_shipping_estimator.php file with a Zen-Cart original, and then run the ozpost installer again. This is done by clicking the buttons to uninstall it, and then clicking the button to install again.
After a successful update the suburb name selector will appear and the icons will show.

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

23 Sep 2015, 3:33 AM
#2148
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

Post #2148 by robbie269

Hi Rod
I am using the Aust Post and Fastway options of your module. Had an issue yesterday when a customer ordered two plush horses and the Fastway option for A2 satchel did not come up. The problem with these horses is they measure a certain amount each but if someone orders 2 their legs can be slotted together. I did actually send the order via Fastway in the A2 satchel with plenty of room. One horse also gets sent via A2 satchel.
Any ideas on how I could trick the system into offering the A2 option for two horses? Does this make sense?

23 Sep 2015, 4:28 AM
#2149
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #2149 by rodg

robbie269:

Hi Rod
I am using the Aust Post and Fastway options of your module. Had an issue yesterday when a customer ordered two plush horses and the Fastway option for A2 satchel did not come up. The problem with these horses is they measure a certain amount each but if someone orders 2 their legs can be slotted together. I did actually send the order via Fastway in the A2 satchel with plenty of room. One horse also gets sent via A2 satchel.
Any ideas on how I could trick the system into offering the A2 option for two horses? Does this make sense?

Yes, it does make sense, and most people would probably be grateful that the ozpost algorithms doesn't take into account items that can be slotted together in the manner that I'm imagining.

The problem with trying to 'trick the system' is that you need to be very careful that there aren't any unexpected repercussions.

I can think of a couple of solutions though. Perhaps the easiest would be to adjust the product dimensions in such a way that it gives the output you need. If you could supply the URL to one one these products I may be able to help with that.

Another option would be to modify the ozpost code so that in the products/parcel creation loop it tests for this product and qty, and if it contains two then adjust the shipping qty to one and set the dimensions to be whatever they are when slotted together. You'll need additional code to cater for larger quantities.
The problem with this is that you'll need to re-modify for each ozpost update.

Other than these, I don't have any other ideas.

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

23 Sep 2015, 4:44 AM
#2150
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

Post #2150 by robbie269

RodG:

I can think of a couple of solutions though. Perhaps the easiest would be to adjust the product dimensions in such a way that it gives the output you need. If you could supply the URL to one one these products I may be able to help with that.
A URL is: http://www.thehorsestall.com.au/plush-horse-toys-c-152_97/appaloosa-horse-gypsy-p-409
Use a non NSW postcode as I have Lime labels for Sydney. I don't have any labels for interstate, only satchels.

23 Sep 2015, 5:50 AM
#2151
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #2151 by rodg

robbie269:

A URL is: http://www.thehorsestall.com.au/plush-horse-toys-c-152_97/appaloosa-horse-gypsy-p-409

This has me a little bit puzzled.

According to the product description This measures 36cm high and 38cm long.
According to the data sent to the ozpost servers, this product is being quoted as
weight = 352gm
height=122mmwidth=242mm
length=292mm

IOW, the dimensions don't seem to match the product anyway.

What's more confusing (to me), is that the ozpost module is 'packing' 2 of these items 'end to end' rather than on top of each other. IOW, when two are added to the cart they are being quoted as

weight=704
height=122
width=242
length=582

Rather than my expected

weight=704
height=244mmwidth=242mm
length=292mm

I thought this was the cause of the non fitting at first, but a few checks indicate that either way is too large for the satchel.

In order to get two of these to 'fit' the A2 satchel, I need to reduce any one of the dimensions by ~10cm. I'm guessing that this is the amount that two of these can be overlapped? Alas, this seems a little too much (to me) to be able to do 'safely' based on the current dimensions given. In other words, this one is too difficult (at least for me) to resolve by simple 'tweaking' of the dimensions.

Furthermore, If the 36cm high and 38cm long measurements are correct, not even one of these should be fitting into the A2 satchel which measures 61cm x 45cm, unless the height/depth us 90mm or less.

Anyway, I think the 1st thing to do is enter accurate dimensions of the product first, and that will give me a new set of numbers to play with.

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

23 Sep 2015, 6:19 AM
#2152
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

Post #2152 by robbie269

RodG:

This has me a little bit puzzled.

According to the product description This measures 36cm high and 38cm long.
According to the data sent to the ozpost servers, this product is being quoted as
weight = 352gm
height=122mmwidth=242mm
length=292mm

IOW, the dimensions don't seem to match the product anyway.

The dimensions are different because when I measure the horse standing I measure from nose to tail. That is for the customer's information. When I pack for postage it's head and tail are tucked in.
For http://www.thehorsestall.com.au/plush-horse-toys-c-152_97/appaloosa-horse-gypsy-p-409 the database measurements are: Weight 0.32 Length 24cm Width 14cm Height 33cm. Does it matter what order the height etc are in when it combines two?
I would rather it worked them out feet to top rather than head to tail. Then maybe I could adjust the height??

24 Sep 2015, 2:55 AM
#2153
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #2153 by rodg

robbie269:

The dimensions are different because when I measure the horse standing I measure from nose to tail. That is for the customer's information. When I pack for postage it's head and tail are tucked in.
For http://www.thehorsestall.com.au/plush-horse-toys-c-152_97/appaloosa-horse-gypsy-p-409 the database measurements are: Weight 0.32 Length 24cm Width 14cm Height 33cm.

OK, so I guess we can discuss this product rather than the previous one if you like :-)

robbie269:

Does it matter what order the height etc are in when it combines two?
I would rather it worked them out feet to top rather than head to tail. Then maybe I could adjust the height??

No, the 'order' doesn't make any difference. The ozpost module will always consider the largest dimension as the length, the next largest as the width, and the smallest as the depth/height.

So, with the dimensions of this new item, the server is seeing

1 item = ok
height=142
width=242
length=332

2 items stacked end to end = no go
height=142
width=242
length=662

2 items stacked one a top the other = no go
height=282
width=242
length=332

2 items stacked side by side = no go
height=142
width=482
length=332

In order to fit, the dimesions must meet the following conditions:
($parcelWidth + $parcelHeight) * 2 ) <= 450 * 2
($parcelLength + $parcelHeight) * 2 ) <= 610 * 2
$parcelLength <= 610
$parcelWidth <= 450

The 'end to end' fails because
(w242 +h142) * 2 ) = 768 <= 900 = PASS
(l662 + h142) * 2 ) = 1608 <= 1220 = FAIL

l662 <= 610 = FAIL
w242 <= 450 = PASS

The stacked one a top the other fails because
(w242 +h282) * 2 ) = 1048 <= 900 = FAIL
(l332 + h282) * 2 ) = 1228 <= 1220 = FAIL
l332 <= 610 = PASS
w242 <= 450 = PASS

The side by side fails because
(w482 +h142) * 2 ) = 1248 <= 900 = FAIL
(l332 + h142) * 2 ) = 948 <= 1220 = PASS
l332 <= 610 = PASS
w482 <= 450 = FAIL

In order to make 2 of these items fit into the A2 Satchel by changing the depth/height you will need dimensions of
height=200
width=242
length=332

IOW, the defined 'height' of the product will need to be reduced from 14cm down to 9.8cm (10 cm without tare)

or
height=142
width=242
length=468

IOW, the defined 'length' of the product will need to be reduced from 33cm down to (466/2)+2 = 23.3cm.

In short, this products dimensions will need to be
height=98
width=240
length=330

or
height=140
width=240
length=233

Rather than
height=140
width=240
length=330

Whether you actually want to do this is something for you to decide, and I guess the best thing to do this is giving it a go. About the only possible problem that I can forsee is that because the product defined dimensions are smaller than reality (depending on how well multiple items get packed) you may find yourself in the situation where the cubing rules should be applied, but won't be. If you've never been 'hit' by these rules when posting out orders in the past then this probably won't apply to you anyway.

OK, so now I've given the info needed for this particular product, I'll leave it for you to determine what is needed for other products of different sizes. This shouldn't be too difficult now that you know the 4 tests that it must pass to be considered suitable for the A2 Satchel. (As well as the 5kg weight limit).

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

24 Sep 2015, 3:24 AM
#2154
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

Post #2154 by robbie269

Thank you Rod for the hard work. You're a legend.
I put the measurements for the plush horses as h=9.8 w=24 l=23.3 and it worked.
Will see how it goes....

24 Sep 2015, 12:42 PM
#2155
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,152
Plugin Contributions:
56

Post #2155 by lat9

Rod, is there a way to either print a shipping-label or to auto-generate a tracking link?

24 Sep 2015, 10:48 PM
#2156
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #2156 by rodg

lat9:

Rod, is there a way to either print a shipping-label or to auto-generate a tracking link?

Not from the shipping modules because things like the order number and tracking number aren't known until after the cart order has been submitted (order#) and after (or when) the booking for shipping has been made (tracking#).

IOW, this functionally needs to be handled at a point in time after the shipping/quote modules have done their thing.

Having said that, the ozpost module does contain support for the Australia Post 'Click n Send' web interface, which is a partial solution. It works by creating a CSV file(s) for a new orders using one of the Click n Send postage options. These CSV files can then be downloaded and imported into the AustPost server and bookings and label printing can be performed from there.

The CSV file(s) contain all the information needed to create shipping labels, so in theory, they should be able to be easily imported into almost any label making software.

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

12 Oct 2015, 8:08 PM
#2157
vandiermen avatar

vandiermen

Totally Zenned

Join Date:
Feb 2007
Posts:
518
Plugin Contributions:
1

Post #2157 by vandiermen

My client asks: "I am looking into the freight settings again. If I turn on use core weight to split parcels it adds weight to all products. E.g. A 3Amp reg that is 0.2kg is now 3.2kg. A package that is 40kg split says it is 22kg. Can you tell me which setting I am missing. Also I can see that there is an OzPost v3.6.5. Update available, is this something that should be done? Is it something that I can do?"
We are using V3.6.2 with AustPost and FastWay, is there a benefit in upgrading to v3.6.5?

without core weight

[TABLE="width: 0"]
[TR]
[TH="class: messageStackWarning, colspan: 8"]Debugging information[/TH]
[/TR]
[TR="class: leftBoxHeading"]
[TH]Item 1-1[/TH]
[TH="colspan: 3"]3Amp Water Resistant Solar Panel Regulator[/TH]
[TH="colspan: 4"]Parcel[/TH]
[/TR]
[TR]
[TH="colspan: 3"]Weight[/TH]
[TD]  200g[/TD]
[TH]Items[/TH]
[TD] 1[/TD]
[TH]Weight[/TH]
[TD] 200g[/TD]
[/TR]
[TR]
[TH]Dimensions[/TH]
[TD="colspan: 3"]  10.00 x 7.00 x 3.00[/TD]
[TD="colspan: 4"] 10.00 x 7.00 x 3[/TD]
[/TR]
[TR]
[TH]Cube / Weight[/TH]
[TD="colspan: 3"]  210cc / 0.0525kg[/TD]
[TD="colspan: 4"] 210cc / 0.0525kg[/TD]
[/TR]
[/TABLE]
[TABLE="width: 0"]
[TR]
[TD="class: messageStackCaution, bgcolor: #FFFF66"]Calculated: Length=10.20cm, Width=7.20cm, Height=3.20cm, Weight=200g, NumBoxes=1[/TD]
[/TR]
[TR]
[TD]Using a tare weight of 0%%[/TD]
[/TR]
[/TABLE]
[B]QueryString[B]
http://svr1.ozpost.net/postage.php?weight=200&height=32&width=72&length=102&value=20&fromcode=4655&Osub=BOORAL&destcode=5000&Dsub=&flags=&host=Solar+Camping+Australia&storecode=4655&version=3.6.2&FastWay=BDBf&ef=0&deadline=10&maildays=31&AllSat=1[/B][/B]

<pre>SimpleXMLElement Object
(
    [quote] => Array
        (
            [0] => SimpleXMLElement Object
                (
                    [id] => FWS
                    [carrier] => Fastway
                    [description] => A5 Satchel (BLUE)
                    [cost] => 6.95
                    [days] => 3
                )
            [1] => SimpleXMLElement Object
                (
                    [id] => FWS1
                    [carrier] => Fastway
                    [description] => A4 Satchel (BLUE)
                    [cost] => 6.95
                    [days] => 3
                )

    [information] => SimpleXMLElement Object
        (
            [servername] => svr1.ozpost.net
            [serverIP] => 199.16.184.178
            [serververs] => 22-Sept-2015
            [timestamp] => Tue Oct 13, 2015 06:29 (SA Server Time)
            [requesttime] => 05:59 (QLD Store Time)
            [postdate] => Wed 14th of Oct
            [insurance] => 1.50
            [registration] => 2.95
            [sod] => 2.95
            [fw_response_time] => 0.581
            [frompostcode] => 4655
            [fromsuburb] => BOORAL
            [destpostcode] => 5000
            [destsuburb] => ADELAIDE
            [origstate] => QLD
            [calculated_parcel_weight_kg] => 0.2
            [insuredvalue] => 20.00
            [expires] => 379
            [expires_text] => Solar Camping Australia 4655 Expires in 379 days
        )
)

[TABLE="width: 0"]
[TR]
[TD]Server #1 response time 0.752ms[/TD]
[/TR]
[/TABLE]
[TABLE="width: 0"]
[TR]
[TD="class: seDisplayedAddressLabel, colspan: 2"]Shipping quotes are based on the address information you selected:
(0.2 kg) BOORAL 4655 to 5000 Australia[/TD]
[/TR]
[TR]
[TH]Available Shipping Methods[/TH]
[TH]Rates[/TH]
[/TR]
[TR="class: rowEven"]
[TD="class: bold"] [IMG]http://www.solarcampingaustralia.com.au/images/icons/ozpost/ozpost_fastway_logo.jpg[/IMG] A3 Satchel (BLUE)

[LIST]
[*]3 Days Estimated Delivery. 
[/LIST]
[/TD]
[TD="class: cartTotalDisplay bold, align: right"]$12.95[/TD]
[/TR]
[TR="class: rowOdd"]
[TD] [IMG]http://www.solarcampingaustralia.com.au/images/icons/ozpost/ozpost_austpost_logo.jpg[/IMG] 500g Satchel +Signature

[LIST]
[*]7 Days Estimated Delivery. 
[/LIST]
[/TD]
[TD="class: cartTotalDisplay, align: right"]$13.20[/TD]
[/TR]
[TR="class: rowEven"]
[TD] [IMG]http://www.solarcampingaustralia.com.au/images/icons/ozpost/ozpost_austpost_logo.jpg[/IMG] 500g Express Satchel +Signature

[LIST]
[*]1 Days Estimated Delivery. 
[/LIST]
[/TD]
[TD="class: cartTotalDisplay, align: right"]$15.50[/TD]
[/TR]
[TR="class: rowOdd"]
[TD] [IMG]http://www.solarcampingaustralia.com.au/images/icons/ozpost/ozpost_fastway_logo.jpg[/IMG] Label (GREEN)

[LIST]
[*]3 Days Estimated Delivery. 
[/LIST]
[/TD]
[TD="class: cartTotalDisplay, align: right"]$27.30[/TD]
[/TR]
[/TABLE]

with core weight:

[TABLE="width: 0"]
[TR]
[TH="class: messageStackWarning, colspan: 8"]Debugging information[/TH]
[/TR]
[TR="class: leftBoxHeading"]
[TH]Item 1-1[/TH]
[TH="colspan: 3"]3Amp Water Resistant Solar Panel Regulator[/TH]
[TH="colspan: 4"]Parcel[/TH]
[/TR]
[TR]
[TH="colspan: 3"]Weight[/TH]
[TD]  200g[/TD]
[TH]Items[/TH]
[TD] 1[/TD]
[TH]Weight[/TH]
[TD] 200g[/TD]
[/TR]
[TR]
[TH]Dimensions[/TH]
[TD="colspan: 3"]  10.00 x 7.00 x 3.00[/TD]
[TD="colspan: 4"] 10.00 x 7.00 x 3[/TD]
[/TR]
[TR]
[TH]Cube / Weight[/TH]
[TD="colspan: 3"]  210cc / 0.0525kg[/TD]
[TD="colspan: 4"] 210cc / 0.0525kg[/TD]
[/TR]
[/TABLE]
[TABLE="width: 0"]
[TR]
[TD="class: messageStackCaution, bgcolor: #FFFF66"]Calculated: Length=10.20cm, Width=7.20cm, Height=3.20cm, Weight=3200g, NumBoxes=1[/TD]
[/TR]
[TR]
[TD]Using a tare weight of 0%%[/TD]
[/TR]
[/TABLE]
[B]QueryString[B]
http://svr1.ozpost.net/postage.php?weight=3200&height=32&width=72&length=102&value=20&fromcode=4655&Osub=BOORAL&destcode=5045&Dsub=GLENELG&flags=&host=Solar+Camping+Australia&storecode=4655&version=3.6.2&FastWay=BDBf&ef=0&deadline=10&maildays=31&AllSat=1[/B][/B]

<pre>SimpleXMLElement Object
(
    [quote] => Array
        (
            [0] => SimpleXMLElement Object
                (
                    [id] => FWB2
                    [carrier] => Fastway
                    [description] => Medium Box
                    [cost] => 11.95
                    [days] => 3
                )
            [1] => SimpleXMLElement Object
                (
                    [id] => FWB
                    [carrier] => Fastway
                    [description] => Medium Box
                    [cost] => 11.95
                    [days] => 3
                )
            [2] => SimpleXMLElement Object
                (
                    [id] => FWS5
                    [carrier] => Fastway
                    [description] => A2 Satchel (BLUE)
                    [cost] => 12.95
                    [days] => 3
                )
            [3] => SimpleXMLElement Object
                (
                    [id] => FWS
                    [carrier] => Fastway
                    [description] => A2 Satchel (BLUE)
                    [cost] => 12.95
                    [days] => 3
                )
            [4] => SimpleXMLElement Object
                (
                    [id] => FWB3
                    [carrier] => Fastway
                    [description] => Large Box
                    [cost] => 15.95
                    [days] => 3
                )
            [5] => SimpleXMLElement Object
                (
                    [id] => FWB
                    [carrier] => Fastway
                    [description] => Large Box
                    [cost] => 15.95
                    [days] => 3
                )
            [6] => SimpleXMLElement Object
                (
                    [id] => CNS5K
                    [carrier] => Australia Post
                    [description] => 5kg Click n Send Satchel
                    [cost] => 17.10
                    [days] => 7
                )
            [7] => SimpleXMLElement Object
                (
                    [id] => PPS5K
                    [carrier] => Australia Post
                    [description] => 5kg Satchel
                    [cost] => 17.10
                    [days] => 7
                )
            [8] => SimpleXMLElement Object
                (
                    [id] => PPS5Kr
                    [carrier] => Australia Post
                    [description] => 5kg Satchel +Signature
                    [cost] => 20.05
                    [otherfeeIncl] => 2.95
                    [otherfeeName] => Signature
                    [days] => 7
                )
            [9] => SimpleXMLElement Object
                (
                    [id] => PPS5Ki
                    [carrier] => Australia Post
                    [description] => 5kg Insured Satchel +Signature
                    [cost] => 21.55
                    [insuranceIncl] => 1.50
                    [otherfeeIncl] => 2.95
                    [otherfeeName] => Signature
                    [days] => 7
                )
            [10] => SimpleXMLElement Object
                (
                    [id] => CNS5Ke
                    [carrier] => Australia Post
                    [description] => 5kg Click n Send Express Satchel
                    [cost] => 24.15
                    [days] => 1
                )
            [11] => SimpleXMLElement Object
                (
                    [id] => PPSE5K
                    [carrier] => Australia Post
                    [description] => 5Kg Express Satchel
                    [cost] => 24.15
                    [days] => 1
                )
            [12] => SimpleXMLElement Object
                (
                    [id] => RPP
                    [carrier] => Australia Post
                    [description] => Parcel Regular
                    [cost] => 24.65
                    [days] => 7
                )
            [13] => SimpleXMLElement Object
                (
                    [id] => FWL_GREEN
                    [carrier] => Fastway
                    [description] =>  Label (GREEN)
                    [cost] => 25.30
                    [days] => 3
                )
            [14] => SimpleXMLElement Object
                (
                    [id] => FWL
                    [carrier] => Fastway
                    [description] =>  Label (GREEN)
                    [cost] => 25.30
                    [days] => 3
                )
            [15] => SimpleXMLElement Object
                (
                    [id] => PPSP5K
                    [carrier] => Australia Post
                    [description] => 5kg Express Satchel +Signature
                    [cost] => 27.10
                    [otherfeeIncl] => 2.95
                    [otherfeeName] => Signature
                    [days] => 1
                )
            [16] => SimpleXMLElement Object
                (
                    [id] => REG
                    [carrier] => Australia Post
                    [description] => Parcel +Signature Regular
                    [cost] => 27.60
                    [otherfeeIncl] => 2.95
                    [otherfeeName] => Signature
                    [days] => 8
                )
            [17] => SimpleXMLElement Object
                (
                    [id] => PPSP5Ki
                    [carrier] => Australia Post
                    [description] => 5kg Insured Express +Signature
                    [cost] => 28.60
                    [insuranceIncl] => 1.50
                    [otherfeeIncl] => 2.95
                    [otherfeeName] => Signature
                    [days] => 7
                )
            [18] => SimpleXMLElement Object
                (
                    [id] => RPPi
                    [carrier] => Australia Post
                    [description] => Insured +Signature Parcel Regular
                    [cost] => 29.10
                    [insuranceIncl] => 1.50
                    [otherfeeIncl] => 2.95
                    [otherfeeName] => Signature
                    [days] => 8
                )
            [19] => SimpleXMLElement Object
                (
                    [id] => COD
                    [carrier] => Australia Post
                    [description] => Cash On Delivery 
                    [cost] => 37.35
                    [otherfeeIncl] => 12.70
                    [otherfeeName] => COD
                    [days] => 8
                )
            [20] => SimpleXMLElement Object
                (
                    [id] => EXP
                    [carrier] => Australia Post
                    [description] => Express Parcel Regular
                    [cost] => 43.65
                    [days] => 1
                )
            [21] => SimpleXMLElement Object
                (
                    [id] => PLT
                    [carrier] => Australia Post
                    [description] => Express Parcel +Signature Regular
                    [cost] => 49.85
                    [otherfeeIncl] => 2.95
                    [otherfeeName] => Signature
                    [days] => 1
                )
            [22] => SimpleXMLElement Object
                (
                    [id] => PLTi
                    [carrier] => Australia Post
                    [description] => Insured Express Parcel +Signature Regular
                    [cost] => 54.30
                    [insuranceIncl] => 1.50
                    [otherfeeIncl] => 2.95
                    [otherfeeName] => Signature
                    [days] => 1
                )
        )
    [information] => SimpleXMLElement Object
        (
            [servername] => svr1.ozpost.net
            [serverIP] => 199.16.184.178
            [serververs] => 22-Sept-2015
            [timestamp] => Tue Oct 13, 2015 06:27 (SA Server Time)
            [requesttime] => 05:57 (QLD Store Time)
            [postdate] => Wed 14th of Oct
            [insurance] => 1.50
            [registration] => 2.95
            [sod] => 2.95
            [fw_response_time] => 1.008
            [frompostcode] => 4655
            [fromsuburb] => BOORAL
            [destpostcode] => 5045
            [destsuburb] => GLENELG
            [origstate] => QLD
            [calculated_parcel_weight_kg] => 3.2
            [insuredvalue] => 20.00
            [expires] => 379
            [expires_text] => Solar Camping Australia 4655 Expires in 379 days
        )
)


[TABLE="width: 0"]
[TR]
[TD]Server #1 response time 1.149ms[/TD]
[/TR]
[/TABLE]
[TABLE="width: 0"]
[TR]
[TD="class: seDisplayedAddressLabel, colspan: 2"]Shipping quotes are based on the address information you selected:
(3.2 kg) BOORAL 4655 to GLENELG 5045 Australia[/TD]
[/TR]
[TR]
[TH]Available Shipping Methods[/TH]
[TH]Rates[/TH]
[/TR]
[TR="class: rowEven"]
[TD="class: bold"] [IMG]http://www.solarcampingaustralia.com.au/images/icons/ozpost/ozpost_fastway_logo.jpg[/IMG] A2 Satchel (BLUE)

[LIST]
[*]3 Days Estimated Delivery. 
[/LIST]
[/TD]
[TD="class: cartTotalDisplay bold, align: right"]$14.95[/TD]
[/TR]
[TR="class: rowOdd"]
[TD] [IMG]http://www.solarcampingaustralia.com.au/images/icons/ozpost/ozpost_austpost_logo.jpg[/IMG] 5kg Satchel +Signature

[LIST]
[*]7 Days Estimated Delivery. 
[/LIST]
[/TD]
[TD="class: cartTotalDisplay, align: right"]$22.05[/TD]
[/TR]
[TR="class: rowEven"]
[TD] [IMG]http://www.solarcampingaustralia.com.au/images/icons/ozpost/ozpost_fastway_logo.jpg[/IMG] Label (GREEN)

[LIST]
[*]3 Days Estimated Delivery. 
[/LIST]
[/TD]
[TD="class: cartTotalDisplay, align: right"]$27.30[/TD]
[/TR]
[TR="class: rowOdd"]
[TD] 5kg Express Satchel +Signature

[LIST]
[*]1 Days Estimated Delivery. 
[/LIST]
[/TD]
[TD="class: cartTotalDisplay, align: right"]$29.10[/TD]
[/TR]
[/TABLE]
13 Oct 2015, 2:57 AM
#2158
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #2158 by rodg

vandiermen:

My client asks: "I am looking into the freight settings again. If I turn on use core weight to split parcels it adds weight to all products. E.g. A 3Amp reg that is 0.2kg is now 3.2kg. A package that is 40kg split says it is 22kg. Can you tell me which setting I am missing.

https://www.zen-cart.com/content.php?127

vandiermen:

Also I can see that there is an OzPost v3.6.5. Update available, is this something that should be done? Is it something that I can do?"

Yes and Yes

vandiermen:

We are using V3.6.2 with AustPost and FastWay, is there a benefit in upgrading to v3.6.5?
Probably not. The most significant difference has been to the installation/update code itself and the addition of TNT support via Transdirect.

There will be another update coming out 'soon' that adds support for Hunter Express.

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

14 Nov 2015, 5:28 AM
#2159
lucidlee avatar

lucidlee

Zen Follower

Join Date:
Aug 2005
Location:
Bondi, Australia
Posts:
101
Plugin Contributions:
0

Post #2159 by lucidlee

Rod
I'm having trouble with SkippyPost. For some reason its producing outrageous results compared to Auspost:
[CODE]

Debugging information
Item 1-1 Living Meridian Location Wallchart - TCM Parcel
Weight 320g Items 1 Weight 320g
Dimensions 70.00 x 10.00 x 10.00 70.00 x 10.00 x 10
Cube / Weight 7000cc / 1.75kg 7000cc / 1.75kg
Item 2-1 Living Meridian Location Wallchart - Zen Parcel
Weight 320g Items 2 Weight 640g
Dimensions 70.00 x 10.00 x 10.00 70.00 x 10.00 x 20
Cube / Weight 7000cc / 1.75kg 14000cc / 3.5kg
Item 3-1 Living Meridian Location Wallchart - Combined TCM & Zen Parcel
Weight 320g Items 3 Weight 960g
Dimensions 70.00 x 10.00 x 10.00 70.00 x 20 x 20
Cube / Weight 7000cc / 1.75kg 28000cc / 7kg

The Fifth Element
Our Zen-Cart sells Zen Charts!!

14 Nov 2015, 6:49 AM
#2160
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Post #2160 by rodg

lucidlee:

Rod
I'm having trouble with SkippyPost. For some reason its producing outrageous results compared to Auspost:

Although you haven't given me much to work with - Such as the quotes you are receiving from each carrier, and where the parcel is destined to, using the screenshot provided I can see that the quote requested is for a parcel that is

70cm long
20cm wide
20cm high
Weight 960grams.

Entering this data into the Australia Post server (I used the arbitrary destination of USA) the cost for Airmail should be $29.70
The Australia post servers don't have inputs for the item dimensions, as (apparently) their normal 'cubing rules' don't apply for overseas.

Entering the same information into the skippypost server - Who do have the dimension fields, the cost for the same parcel to the same destination is $92.35 (plus the $9.00 shipment fee) - So, what you claim appears to be correct - The skippypost quote is outrageous in comparison.

So, here's where it gets a little interesting - The SkippyPost website actually has two different rate calculators - A 'volumetric weights' calculator, and a simple 'rate estimator'

Like the AustPost server, the simple rate estimator only has two inputs - The parcel weight and its destination. If/when this calculator is used, the quote for a 960gm parcel to USA is listed as ~$22.00.

Now, the thing is, the ozpost system doesn't get a choice as to which of the Skippy Calculators to use, and if it submits a request without the dimensional data their servers return the error:

ErrorSkippyPost
internal error: detected an error in element content

In other words the quotes returned by ozpost are exactly the same as the skippypost volumetric weight calculator, and there is nothing I can do about this. The parcel is being quoted based on its cubic rate rather than its deadweight.

I think this now brings up the question as to which is the correct quote (what will you actually be charged). Personally, I have no idea, so on this basis alone, even if I could overcome/override the quotes based on the cubic rate (eg, by submitting 'fake' dimensions rather than the 'real' dimensions), it isn't something I would be keen on doing unless I'm 100% confident that the cubing rules don't apply, because if I'm wrong, such an override would leave the merchant (you) almost $70 out of pocket on just this one transaction.

The ozpost philosophy is to 'Protect the merchant' - I feel it better to provide inaccurately high quotes, which will drive the customer to either opt for a cheaper option, or if they do select the overly expensive option a refund for the overcharge is much more beneficial in so many ways than having to carry the loss, ask the customer for more money, or telling them that the method they chose can't be done due to the quote error.

I'm not sure if this reply helps you in any way - One solution (your risk) would be to adjust your product dimensions so that the cubing rules would never apply (which is true for most products, most of the time anyway), or, As you have a Skippypost account (which I don't), perhaps you might like to get clarification from them as to if/when the cubing rules do apply. If it turns out that they are never applied (and I have documented proof/evidence) I might consider an override, but then it makes me wonder why they have the volumetric calculator and why the dimensions are even needed in the 1st place.

Over to you.....

Cheers
RodG

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.