Hi,
I guess, I found some bug in hikamarket.
When using discount codes, the order_vendor_price listed in the backend is wrong. The strange thing is, that the email confirming the sales is correct.
Eg. I sell a product for 20 Euro.
The customer uses a discount code to get 10% discount, 2 Euro.
The vendor is configured to get 20% fee.
It should calulate like: 20 -2 = 18.- and 20% of 18 is 3.6 Euro.
So the vendor should be credited with 3.6 Euro.
In the confirming email it is listed like this : 20 Euro sales price, 2 Euro discount and 3.6 Euro vendor final total.
In the backend it is listed like. 20 Euro sale price, -2 Euro discount price.
But the vendor final price is (20% of 20 Euro = 4 Euro minus the 2 Euro discount, resulting in a vendor total price of 2 Euro. It looks like it subtracts the discount code at the end AFTER the caluclation of the fee.
If necessary, I can provide you backend access to the test env.
I use the latest version of hikamarket and hikashop.
Regards.