Hi,
There is no built-in option for that kind of check ; but it is possible to add it using a small custom plugin.
Thanks to the trigger "onBeforeProductCreate" you can catch the product creation.
In that function you can check that you're in the front-end (so in HikaMarket) and get the current logged vendor.
Afterwards, you can check the product content and set the variable " $do " to False if you want to refuse the product creation.
www.hikashop.com/support/documentation/6...ntation.html#product
To check that HikaMarket is initialized and get the current vendor you can use that code
if(!defined('HIKAMARKET_COMPONENT')) // Do nothing if we are not in HikaMarket
return;
$vendor_id = hikamarket::loadVendor(false);
if($vendor_id == 1) // Do not block the main vendor
return ;
You can also use the trigger "onBeforeProductUpdate" if you also want to check the product files for the updates (and not just the creation) but you'll have to add more checks because a product can be update partially ; so you have to be sure that the product update is coming from the HikaMarket product edition (reading the parameters in the URL could be a good solution).
Regards,