Using UC RC1, when trying to set class/role based commissions, i get the following error:

* user warning: Duplicate entry '3' for key 1 query: INSERT INTO mp_seller_rates (rate, rid, class) VALUES (0.7, 3, 's_product') in /home/.../public_html/sites/all/modules/ubercart_marketplace/mp_products/mp_products.admin.inc on line 85.
* user warning: Duplicate entry '4' for key 1 query: INSERT INTO mp_seller_rates (rate, rid, class) VALUES (0.7, 4, 's_product') in /home/.../public_html/sites/all/modules/ubercart_marketplace/mp_products/mp_products.admin.inc on line 85.
* user warning: Duplicate entry '3' for key 1 query: INSERT INTO mp_seller_rates (rate, rid, class) VALUES (0.7, 3, 's_product_non_tax') in /home/.../public_html/sites/all/modules/ubercart_marketplace/mp_products/mp_products.admin.inc on line 85.
* user warning: Duplicate entry '4' for key 1 query: INSERT INTO mp_seller_rates (rate, rid, class) VALUES (0.7, 4, 's_product_non_tax') in /home/.../public_html/sites/all/modules/ubercart_marketplace/mp_products/mp_products.admin.inc on line 85.

The commission rate i set doesnt take for any class other than the default class.

Comments

syndicateStorm’s picture

Status: Active » Fixed

This has been fixed. To activate the fix after downloading the latest dev release, be sure to specifically uninstall and reinstall the "Marketplace Products" module.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.