Public Ticket #4557286

Disable product editing for vendors

Closed
Comments
7 Tickets 1
Tabard started the conversation 6 months ago on April 9, 2026 at 10:55am

Hi,

I would like to disable product editing for sellers, leaving only the view option. How can I add it?

Thank you in advance.

2,762
KingsPlugins replied 6 months ago on April 11, 2026 at 9:50am

Hi Tabard,

Thanks for reaching out.

While there is no default feature to completely disable product editing for vendors, you could achieve it by editing the PHP template.

The way I see this working is by copying the edit-product.php file from the MarketKing core files to your child theme and editing it there. If you simply remove the action buttons like "Publish Product" or "Save as Draft" from the template, that should effectively solve it and leave vendors with only a view option.

You can find a guide on how to safely edit and override templates in our documentation here:
https://marketkingplugin.com/docs/how-to-edit-marketking-pages-templates/

Let me know if you have any questions about this,

Kind regards,
Stefan

7 Tickets 1
Tabard replied 6 months ago on April 15, 2026 at 12:24pm

Hi,

Thanks for your reply.

I modified the file products.php by removing the link to the product edit and the Edit action.

That's enough for me. Thank you.

1

Sign In