Closed (fixed)
Project:
Canada Post Shipping Quotes
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Sep 2009 at 06:35 UTC
Updated:
6 Dec 2009 at 02:40 UTC
It seems that no matter what value i enter in the product weight box, when the product gets calculated for shipping cost, it assumes a value of 1kg (rounds it up). Is there anyway of forcing a shipping weight of less than 1 kg? Do i need to make a new field in my content-types for this type of product that has the value of weight in it, or is the default weight field sufficient?
Comments
Comment #1
tr commentedThat's right - Canada Post rounds up to the nearest Kg, so that's what this module does as well.
I guess that's inappropriate for non-package (envelope) or small package shipments. I don't know offhand the details of how the CP API is set up to rate envelopes or small packages - I will have to look into it and see if I can implement something similar to what was done with the USPS module for First Class packages. I'm not going to be able to do that within the next two weeks, however. A quick workaround *might* be simply removing the rounding when the package weight is <1 kg. I don't know if that will be sufficient, but it's worth a try.
Comment #2
tr commentedI put in the fix I suggested in #1. Get the latest -dev version to test it out. If this doesn't fix the problem for you please re-open the issue.