Computed weights for each product on sale line #5974

why separate method add logic here only. and call getter where ever required