fix(product): check for a valid unitAmount in getBasePriceStr