This topic contains 5 reply and 3 voices, and was last updated by Fotis zabnaris 4 years, 11 months ago
Viewing 5 Posts - 1 through 5 (of 5 total)
Author Posts
October 18, 2014 at 2:53 pm 28613
Fotis zabnaris Hey, i want to know if there is a way i can put sellers under categories. For example , Clothing will be a category with sellers that sell clothes.
October 20, 2014 at 1:46 pm 28716
Nayem Nayem

Hello Fotis,

Yes this is possible.

You can query the product based on category and then query for the authors and then group them by the product categories. After that you will be able to get the author id and then based on the author id you can get the store information.
You can see the store.php file line number 9-10, you will see something like-

[php]
$store_user = get_userdata( get_query_var( ‘author’ ) );
$store_info = dokan_get_store_info( $store_user->ID );
[/php]

Here we are getting the store information using the author id. So you can follow the above functions.

PS: This process will require a developer. If you are not familiar with codes, you should heir one.
Thank you 🙂

October 24, 2014 at 3:30 pm 29006
Fotis zabnaris Fotis zabnaris

I found a better solution. I created custom taxonomies for users.
How can i use those taxonomies as input for dokan_get_store_info ?

October 27, 2014 at 6:18 pm 29161
Fotis zabnaris Fotis zabnaris

You need to include this function in your plugin all the others have it…
It’s suppose to be a marketplace! We need to put stores under categories!!

October 29, 2014 at 3:49 pm 29351
Sekander Badsha Sekander Badsha

Hello Fotis,

I have forwarded your idea to the developer team. Hope they will add this feature in the next update.

Thank you 🙂

October 29, 2014 at 4:55 pm 29362
Fotis zabnaris Fotis zabnaris

i found the solution i will post it tomorrow with all the code changes

Viewing 5 Posts - 1 through 5 (of 5 total)