Hi,
I am using Multivendor 4.2.4 and i want to know how to hide delete option in Product and product manage page for Vendor. I want to disallow to vendor for delete the product from any where, he just edit the product and can only product active, Disable or Hidden.
[attachment=9141:Del1.JPG][attachment=9142:Del2.JPG][attachment=9143:Del3.JPG]
Hi md@weinfotech.com,
Unfortunately there's no way to prevent vendors from deleting products.
If you would like to get a quote for this modification feel free to contact us.
Warmly, Alt-team
Actually it is an easy task. Just open app\schemas\permissions\vendor_multivendor.php file and replace
'products' => array (
'modes' => array(
),
'permissions' => true,
),
with
'products' => array (
'modes' => array(
'delete' => array(
'permissions' => false,
),
'm_delete' => array(
'permissions' => false,
),
),
'permissions' => true,
),
Hope this will help
Vendor cannot edit products added on admin side?
Vendor cannot edit products added on admin side?
Just tested on demo. Works without any problems