Dear Nicolas and Community!
I getting to know the Hikashop system, I haven't found the solution of my issues about the following:
In the shop there will be packed foods. The food has a net weight, plus the package (i.e. bottle, box, and so on) weight, so there are gross weight, too.
An example:
beer 0,5kg (0,5l) = net weight is 0,5kg
glass bottle weight is 0,35kg
gross weight (beer and bottle) is 0,85kg
1. Requirement:
There are regulation to indicate the price/weight unit (i.e. 2.33EUR/kg), as I see the system can do it, with the normal weight parameter. It is OK.
2. Requirement:
On the other case, I can manage the shipping according to the sum. weight of the total order, devided by categories of shipping cost. The manual shipping method with restrictions can manage it, too. It is OK.
The problem is the following, if I would like to use both (1 an 2.) requirement, the system should manage not only one weight, but the net and gross weight too. Because in the case of 1. requirement the correct price/unit calculation use the net weight. But in the case of 2. requirement the shipping method should calculate with gross weight.
As I can see, it is possible to make a new unique field (gross weight). Can I rewrite the manual shipping method code so that it can use weight restrictions not with the normal weight parameter but the new gross weight field? Where can I found (in which file) the code?
Thanks.