You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a product via API with a post_author value of a vendor other than the admin himself/herself.
The post_author ID will remain the same as the admin's ID.
The Same thing happens if the admin tries to modify the post_author value of his/her own product.
Expected behavior
The admin is supposed to be able to create a product with the post_author value so that the admin can assign the product to a vendor at the time of creating it.
The admin is supposed to be able to edit the post_author value of any other vendor.
The admin is supposed to be able to edit the product of any other vendor in the marketplace.
Environment:
Dokan Version: [v3.7.1]
Dokan Pro Version: [v3.7.7]
WooCommerce Version: [v7.0.0]
The text was updated successfully, but these errors were encountered:
@J-H-Mojumder This is how the REST API for products has been created five years back. Have you consulted with @Mohaiminulislam1989 bhai for this enhancement?
Describe the bug
Few problems regarding the Dokan Product
Create
andUpdate
API.post_author
value of it at the time of creation.post_author
value of a product created by him/her to assign the product to a different vendor.Screenshot:
https://snipboard.io/f4Njiv.jpg
To Reproduce
post_author
value of a vendor other than the admin himself/herself.post_author
ID will remain the same as the admin's ID.post_author
value of his/her own product.Expected behavior
post_author
value so that the admin can assign the product to a vendor at the time of creating it.post_author
value of any other vendor.Environment:
The text was updated successfully, but these errors were encountered: