Fix setting total value when the product is a freebie