To create a per-product commissioning structure with iDevAffiliate and Snipcart, all you need to do is define the commission rate for each product in your cart. The integration provided for Snipcart already has built-in support for per-product commissioning. All you have to do is set it up!
Each time a defined product is purchased, the commission will be created from the amount defined for the item instead of the payout level which works from the subtotal amount in the cart. This is essentially an override to the payout level and allows for much greater flexibility and accountability to product margins.
When you create your product, you will add a data-item-id number to it. In this case, you can see in the image below, we’re using a data-item-id number of product_123.
In your iDevAffiliate admin center, go to Commission Settings > Per-Product Commissioning. On the Add A Product tab, you will use the same data-item-id number created in Snipcart as your Product Identifier and enter in Product Amount (same price created for the product). Now just define your Commission Amount for this product and you’re all set.
In short, all you need to do is use the data-item-id number defined in Snipcart as your Product Identifier in iDevAffiliate. Anytime this product is purchased, the per-product commissioning override will kick-in and use the defined Commission Amount for the product.