Hi,
1. You are totally right.
I wanted to add a restriction in order to not duplicate all types of products but because I publish the HikaMarket 1.4.3 in a bit of hurry (due to the bug on the vendor automatic creation), I release the "duplicate product" without any test...
I'll update the HikaMarket package with your fix ; thanks !
2. I tried the feature "delete vendor" just before the release (because there were a display bug) and it did work good for me.
The "INCORRECT_DATA" (I have to add the translation in the file, sorry) is displayed when the checksum of the vendor id you want to delete is not matching (or if you want to delete the vendor 1, which is forbidden).
So, let's test other thing for this check.
In the file "administrator/components/com_hikamarket/views/vendormarket/view.html.php" please replace
$confirm_value = md5(implode(';', $vendor_ids));
By
JArrayHelper::toInteger($vendor_ids);
$confirm_value = md5(implode(';', sort($vendor_ids)));
To force the id as number and sort them before the processing of the "confirm value".
And in the file "administrator/components/com_hikamarket/controllers/vendor.php" replace
$check = md5(implode(';', $cid);
By
$check = md5(implode(';', sort($cid));
If you still have some INCORRECT_DATA please let me know.
Regards,