problem in update product in rest api
-
Hello
There is a problem updating products
And can not identify the seller ID and product author ID
It is better to check in this way as follows:wp-content\plugins\dokan-lite\includes\REST\ProductController.php
Line: 351
if ( $store_id !== $product_author )
Change To:
if ( $store_id != $product_author )Do not return any errors when updating the product
——————————————————
Fortunately, this is the case for orders
in:
wp-content\plugins\dokan-lite\includes\REST\OrderController.php
Line: 216
if ( $store_id != $product_author )
——————————————————Thanks for checking out the problem
The topic ‘problem in update product in rest api’ is closed to new replies.