I'm using Woocommerce and Dokan latest version. I need to check if the user is a customer of that vendor. In this way, I will show the customer some information about that product or seller. First I thought of using localstorage but realized that there is no product-specific assignment. So I think this method won't work.
So how can I know this and take action accordingly?
I'm using Woocommerce and Dokan latest version. I need to check if the user is a customer of that vendor. In this way, I will show the customer some information about that product or seller. First I thought of using localstorage but realized that there is no product-specific assignment. So I think this method won't work.
So how can I know this and take action accordingly?
WordPress have role and permission system, WordPress have following built-in roles
1 Admin privilege's 10. 2 Editor 3 Author 4 Subscriber
The Subscriber is consider as client, i mean users, you can made check on this.