I am completely new to OpenCart. I have created two users - user1 and user2 and both have the product add/edit permission. user1 add a product. But both user1 and user2 can edit the same product. What I am looking for is only user1 and superadmin can edit the product.
Likely if user2 adds another product then only superadmin and user2 can edit that product. Is it possible in OpenCart? If the situation is not possible in OpenCart, can anyone suggest an alternative to do the same?
Unfortunately, there is no such a thing in OC!
You have two options to accomplish that:
<DB_PREFIX>_producttable and save the id of the user who created the product in it, this is a simple step you will just need to modify the model function that saves the product details