No commission on certain products?
bub6177 - July 4, 2009 - 16:55
| Project: | Ubercart Affiliate v2 |
| Version: | 6.x-2.0-rc5 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I'm trying to have certain products that there is no commission given. I tried setting the commission to zero on those products from the edit product page.
Now when an order is created that has one of these products along with other products, the entire commission is always zero. It works fine for orders that don't have those "zero commission" products in it.
Help?
Do I have to set the commission rates for every product individually, if I want to set them for one?
Thanks!

#1
The commission is not calculated for each product separately. It's calculated from the order total. $total * 0 = 0.
This means that the current per product commissions are buggy, and need to be fixed.
Strange behaviour occurs if we have multiple products in the order, and some of them have custom commission levels.
Maybe the solution would be to only use the per product commissions when the product is alone in the cart?
And for your problem, add a checkbox to the product editing screen allowing you to say "no commissions on this one, please"
I think that would do the job. I will think some more about it
#2
This is related. I have several products under Ubercart, but only want to generate affiliate links for one or two of the products (e.g. no commission given AND no abilit to generate affiliate links).