Hi,
1 - You can configure the fee globally, per vendor and per product.
If you want to have fees depending some other rules, it will require the usage of a custom plugin.
The best is to use that trigger and modify the content of the variable "$products" which will contain the fee rules for the products
www.hikashop.com/support/documentation/1...CalculateVendorPrice
2 - There is a some priorities and some ordering.
Fist, in the priorities, the fees set on the product are prioritized on the vendor fees (which are also prioritized on the global fees).
If you have several rules on the global fees for different groups and they have the exact same restrictions (min price / min qty), the first declared rule will be choose.
Between two rules with different "min price" / "min qty", the best price for the vendor will be choose.
In the function "getProductFee" of the HikaMarket class order you will find the code which process the fee rules and return the selected product fee.
That function is called by the function "calculateVendorPrice" that you can override thanks to the trigger "onBeforeMarketCalculateVendorPrice".
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.