Zen Cart Logo
Forums / Addon Shipping Modules / Canada Post Shipping module - Weight and Handling Fee wrong

Canada Post Shipping module - Weight and Handling Fee wrong

Locked

Views: 3,821

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
20 May 2008, 1:03 AM
#1
nev avatar

nev

New Zenner

Join Date:
Nov 2007
Location:
Canada
Posts:
49
Plugin Contributions:
0

Canada Post Shipping module - Weight and Handling Fee wrong

I’m running zen cart 1.3.8
Canada post shipping module 1.3.8
All my products have shipping weight (kg) and size (in) imputed (yes the conversion between in and cm works fine)
Multiple shipping boxes options with max load, weight of box and size are programmed into my Canada Post Shipping profile.

Weight Calculation problem:

The problem is the calculation of the weight, it does not take into account the weight of the box programmed into the Canada Post shipping profile. In the Estimate Shipping Cost the weight that is displayed is only the weight of the actual items, the .5kg of the box weight is not added nor is it represented in the estimated shipping cost.

When I run a price check by manually getting a price estimate from my Canada Post Account the price information confirms this. i.e. for me to get the price listed in the Estimate Shipping Cost I have to use the weight without the weight of the box.

Since obviously we can ship multiple items in one box if they fit, adding this weight to the weight of the item is not a good solution.. I figured this was why the information for the weight of the box was available in the Canada Post Shipping profile. Has anyone encountered this? Or possibly figured why this is happening and how to fix it?

Oh, and the admin/Configuration/ Shipping/Packaging (discovered while searching for an answer) is set to for testing to

Package Tare Small to Medium - added percentage:weight 0:3
Larger packages - added packaging percentage:weight 0:10

I’ve tried changing the values here but it appears that this never takes effect on the calculated shipping. The weight that is displayed in the shipping estimator is net item weight only and the amount of shipping reflects only that weight.

Handling Fee:

I would like to offer an option of free regular shipping & handling on order of over 100$.
And there is an option to set this up in the Canada Post Shipping profile. However regardless of where I set up the handling fee (it’s a fixed 2$ fee) even when the purchase is over 100$ and the free shipping kicks in, the regular shipping shows 2$ cost (the handing fee). Anyone have any ideas how to have the free shipping be really free by using the CP shipping module?

Thanks
nev

27 May 2008, 7:45 PM
#2
nev avatar

nev

New Zenner

Join Date:
Nov 2007
Location:
Canada
Posts:
49
Plugin Contributions:
0

Re: Canada Post Shipping module - Weight and Handling Fee wrong

Can someone please help?

Here is a quick update on the situation.

I have gotten in touch with CP tech support in the mean time.

The weight is calculated to add the box weight (set up at CP online) and the correct cost is sent back. The module just doesn’t display the weight value with the box included (the shipping price difference I was getting was due to something else at CP unrelated to the module)

For the handling fee:

What Canada Post said was that for the handing fee not to be calculated when shipping is free it needs to be set up in the CP module.

Something to the effect of
if returned shipping value from CP = 0 then CP handling fee =0 (null) what ever.

Could someone help here please, I would be really nice for this to work.

Note: the admin/Configuration/ Shipping/Packaging - Tare is still not working.

Thanks
nev

11 Jun 2008, 6:01 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Canada Post Shipping module - Weight and Handling Fee wrong

nev:

Handling Fee:

I would like to offer an option of free regular shipping & handling on order of over 100$.
And there is an option to set this up in the Canada Post Shipping profile. However regardless of where I set up the handling fee (it’s a fixed 2$ fee) even when the purchase is over 100$ and the free shipping kicks in, the regular shipping shows 2$ cost (the handing fee). Anyone have any ideas how to have the free shipping be really free by using the CP shipping module?

nev:

For the handling fee:

What Canada Post said was that for the handing fee not to be calculated when shipping is free it needs to be set up in the CP module.

Something to the effect of
if returned shipping value from CP = 0 then CP handling fee =0 (null) what ever.

Well, you could simply set up Zen Cart to offer a free-shipping option based on the cart value being over $100. You can do that in Admin->Modules->Order Total->Shipping.
Alternatively you can set it up in Admin->Modules->Shipping->Free Shipping Options if you need more granular control.

Or, if you need to do it in the CP module, you'll have to edit code by changing this:if ( $this->cp_online_handling == true) { if ( $method == '' || $method == $type ) { $methods[] = array('id' => $type, 'title' => $type, 'cost' => [B]$cost + $this->handling_cp[/B]); } } else { if ( $method == '' || $method == $type ) { $methods[] = array('id' => $type, 'title' => $type, 'cost' =>[B] (MODULE_SHIPPING_CANADAPOST_SHIPPING_HANDLING + $cost)[/B]); } } to this:```
if ( $this->cp_online_handling == true) {
if ( $method == '' || $method == $type ) {
$methods[] = array('id' => $type,
'title' => $type,
'cost' => $cost + [B]($cost == 0 ? 0 : $this->handling_cp)[/B]);
}
} else {
if ( $method == '' || $method == $type ) {
$methods[] = array('id' => $type,
'title' => $type,
'cost' => [B]$cost == 0 ? 0 : [/B](MODULE_SHIPPING_CANADAPOST_SHIPPING_HANDLING + $cost));
}
}
}

14 Jun 2008, 10:56 PM
#4
nev avatar

nev

New Zenner

Join Date:
Nov 2007
Location:
Canada
Posts:
49
Plugin Contributions:
0

Re: Canada Post Shipping module - Weight and Handling Fee wrong

Thanks a million, works great. :thumbsup:

yeah i knew about the other two options except they created a bit of an issue

Admin->Modules->Order Total->Shipping - set to free shipping will then only display that option, so if a client wants his order faster and is willing to pay there is no way to select that

the Admin->Modules->Shipping->Free Shipping Options was a better option of the two while CP free shipping didn’t work since that one did leave the other shipping options available, the only problem i had with that is that it displayed all the CP shipping options including the regular ground that was supposed to be free with a normal price and then displayed the free option as a separate line.
so it was a functionally workable solution just the way it was presented was a bit off

but the change you made is great, it replaces the regular ground shipping cost with $0 if the order is sufficient enough.. so it's displayed exactly as its supposed to be.

PS. any ideas on the other issue in CP i asked you about? the not working in French problem?