Thanks!
You can do whatever you want but the feedback is not from a single store/or our store.
We are a theme development company with thousands of clients with Dokan and multiple complaints were received because of this.
You can close this for now!
Cheers
The 1st problem is that there is no option to disable the viewing permission of the Buy Now. (This can be solved by simply adding a notice: You are not allowed to buy your own product) when trying to buy something of their own.
The 2nd problem (as we see it) is: It is better to see the product’s Add to cart button (since website owners see this as a bug) and limit them (as mentioned on point 1 with a notification). This cand be solved with a plugin option: example: Permission to See the add to cart (owners).
Anyway, thanks for the snippet.