I'm using the uc_marketplace module which allows admins to create a seller role. Sellers can create and edit their own product. Sales go to the store/admin who can mass pay the appropriate amount due to seller.

I want to add the affiliate program but see this problem: even with "adjust user commissions" turned off for the sellers, the set commission field shows up in when a seller edits his own product. This lets the sellers set affiliate commissions but the admin is left to administer them (and in the simplest scenario, pay them).

Either I need a way for a seller to admin/pay affiliate commissions on their own products (probably preferable but more difficult) or I need to turn off the commission field for the sellers. Otherwise, sellers could set affiliate commissions very high, and the admin would be responsible for them.

I'm assuming uc_marketplace tweaks the roles somehow to let sellers edit their own products, but I bet someone here knows a way to keep the affiliate commission field from showing up.

Thanks to anyone with suggestions.

Braxton

Comments

bmp500’s picture

Update:

I have commented out the part of uc_affiliate2_menu () which specifies the menu to adjust commissions by product.

If it doesn't cause problems elsewhere, I think this will solve my problem. uc_marketplace sellers shouldn't be able to tweak the commission schedule, and the admin can control the default levels, which should be adequate.

bojanz’s picture

Status: Active » Closed (fixed)
fehin’s picture

Don't know if you found the solution to this but if you go to store/configuration/sellers setting and check the box under "Automatically calculate commission", it will hide the commission in the product submission form.