We are a gift experience website with many gift experience partners.
Currently a commission rate is set at a Partner level. One commission rate is associated to one partner.
[url removed, login to view] now needs to be able to assign a product and a commission rate (to be associated to that product) on every partner page.
1. Code is required so a commission rate can be set for a product on a partner / vendor details page.
a. The commission rate assigned to the product at the partner details page will override any other commission rate, otherwise the default commission rate at the overall partner level is used.
2. This is necessary because we have products requiring different commission rates.
3. When a voucher is redeemed online by a partner (when a customer has used the voucher) the commission rate is calculated based on the partner who has redeemed and the product type.