Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Location
    Canada
    Posts
    50
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Nov 2007
    Location
    Canada
    Posts
    50
    Plugin Contributions
    0

    Default 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

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

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

    Quote Originally Posted by nev View Post
    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?
    Quote Originally Posted by nev View Post
    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:
    Code:
    	if ( $this->cp_online_handling == true) {
    	  if ( $method == '' || $method == $type ) {
                $methods[] = array('id' => $type,
                                   'title' => $type,
                                   'cost' => $cost + $this->handling_cp);
    	}
    		} else {
    	  if ( $method == '' || $method == $type ) {
                $methods[] = array('id' => $type,
                                   'title' => $type,
                                   'cost' => (MODULE_SHIPPING_CANADAPOST_SHIPPING_HANDLING + $cost));
    			}
    		}
    to this:
    Code:
    	if ( $this->cp_online_handling == true) {
    	  if ( $method == '' || $method == $type ) {
                $methods[] = array('id' => $type,
                                   'title' => $type,
                                   'cost' => $cost + ($cost == 0 ? 0 : $this->handling_cp));
    	}
    		} else {
    	  if ( $method == '' || $method == $type ) {
                $methods[] = array('id' => $type,
                                   'title' => $type,
                                   'cost' => $cost == 0 ? 0 : (MODULE_SHIPPING_CANADAPOST_SHIPPING_HANDLING + $cost));
    			}
    		}
    	}
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Nov 2007
    Location
    Canada
    Posts
    50
    Plugin Contributions
    0

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

    Thanks a million, works great.

    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?

 

 

Similar Threads

  1. Display Handling Fee & Shipping Weight Even When Providing Free Shipping
    By Stenrique in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 2 Jan 2009, 04:47 PM
  2. Cart misbehaving, posting wrong prices after installing Canada Post module
    By mommy4ever in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 6
    Last Post: 19 Jul 2007, 05:09 AM
  3. Canada Post shipping & product attribute weight
    By tracyselena in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 6 Apr 2007, 09:37 AM
  4. USPS Shipping Module Handling Fee Question
    By rcochran in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 30 Dec 2006, 07:05 PM
  5. canada post shipping total packed weight question
    By TGS in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 18 Sep 2006, 01:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg