Hi, I searched but the previously posted advice doesn’t seem to work in the version of MVE we’re using.
I need to remove access to product deletion for vendors.
Any help would be appreciated! Thank you!!
Hi, I searched but the previously posted advice doesn’t seem to work in the version of MVE we’re using.
I need to remove access to product deletion for vendors.
Any help would be appreciated! Thank you!!
Just curious, why would you want that? You might as well just use the “common product” feature then. This way they only delete a copy of their own while the main product stays intact.
Because some of them do not THINK. They should not be deleting downloadable products that have previously been sold, because then the customer can no longer download their order.
In that case, the best advice I can give you is:
Educate your vendors and create a close relationship. Put deletion of sold downloadable products in your policies and make this clear from day one of joining.
While simply disabling the delete product solves the issue, you don’t know what next they will do.
Create a knowledge centre for vendors. Let your team check in on them every now and then just to see how their business is doing while offering them best practice tips and an opportunity for them to ask questions:)
For example, send weekly summaries to them and at the end of the email say something like
“Thank you for following our non-deletion of sold products policy”.
I know this does not answer your original question, but I hope it helps somehow.
Oh, we’ve actually had all of that stuff for many years (17+). We have a private support forum with a full instruction/policy set, as well as a support ticket system.
Some of them are older. Some just don’t understand technology very well.
At any rate, I appreciate your reply. I’ve worked out a solution for now.
Try to modify the following schema
app/schemas/permissions/vendor_multivendor.php
replace
'products' => [
'modes' => [
],
'permissions' => true,
],
with
'products' => [
'modes' => [
'delete' => [
'permissions' => false
],
],
'permissions' => true,
],
Then clear cache
(!) Not tested
Thank you very much!! I’ll try that.