The commission is typically based on the total amount of a sale, but it may also be based on other factors such as a product’s gross margin or even its net profit.