• Resolved Siman-Tov Yechiel

    (@mastersgate)


    hi

    i installed the dokan plugin to existed site, but in the store list i cant see the admin store, althow i set the admin as a vendor. how can i fix that ?

    thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author weDevs

    (@wedevs)

    Hello @mastersgate,

    The admin user role is not the seller. So, on the store listing page, only the seller store will be available. Also, we do not recommend admin account to sell a product from the frontend. If the admin needs to sell then he can create a seller account.

    Cheers!

    Thread Starter Siman-Tov Yechiel

    (@mastersgate)

    hi

    thanks for your answere… the problem is that im trying to convert a regular site that only the admin is salling product to a multi vendor site, and the admin has about 200 product so it vill Will keep me from a lot of headaches.

    Despite your above answer is there a way to do this?

    thank you

    Plugin Author weDevs

    (@wedevs)

    @mastersgate, You have to modify the code. Please open dokan-lite/includes/functions.php and check this functions function dokan_get_sellers( $args = array() )

    Now, in this function, you will see the below line –

    'role' => 'seller',

    Now replace that line with this line- 'role__in' => array('seller','administrator'),

    Thread Starter Siman-Tov Yechiel

    (@mastersgate)

    thanks a lot !!! working well !!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘admin store not in displayin the store list’ is closed to new replies.