[IMP] update selected costs and variation calculation

Merged Federico Pérez Diduch requested to merge PREM-61 into 15.0-stage

Due to an error on variation formula this was not working as intended. Calculation was corrected and show the correct value. Added validation for cases where product does not have a defined freight_id cost causing divison by zero.

Merge request reports