Title: Exclude admin from store list
Last modified: September 16, 2020

---

# Exclude admin from store list

 *  Resolved [shemakeswebsites](https://wordpress.org/support/users/shemakeswebsites/)
 * (@shemakeswebsites)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/exclude-admin-from-store-list/)
 * How would I exclude the admin store from the store list? I know I can disable
   the vendor account, but that also removes the ability to sell items. I want to
   sell items from the admin, but I don’t want them to appear as a vendor. Help?

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

 *  [roshni07](https://wordpress.org/support/users/roshni07/)
 * (@roshni07)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/exclude-admin-from-store-list/#post-13416788)
 * Hello [@shemakeswebsites](https://wordpress.org/support/users/shemakeswebsites/),
 * The store listing shows the stores that enable for selling. If you do not want
   the admin store to show on the store-listing page, you can disable the admin 
   selling ability. That way the store will not be available on the store-listing
   age.
 * It is not recommended to sell as admin, we suggest you create a vendor account
   to manage the selling.
 * I hope the information helps. Let me know if there is any confusion or queries.
 * Thank you 🙂
 *  Thread Starter [shemakeswebsites](https://wordpress.org/support/users/shemakeswebsites/)
 * (@shemakeswebsites)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/exclude-admin-from-store-list/#post-13417775)
 * Regardless, of I create another account to sell the subscription packs that vendor
   would also appear in the store list. How do I hide a specific vendor from the
   store list? There must be a way to target a user ID to hide it – can you give
   some guidance?
 *  [Rashed Ripon (a11n)](https://wordpress.org/support/users/rur165/)
 * (@rur165)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/exclude-admin-from-store-list/#post-13430896)
 * Hello [@shemakeswebsites](https://wordpress.org/support/users/shemakeswebsites/),
 * If you want to programmatically filter out a specific seller from the store list
   only you have to use the template from – **dokan-lite/templates/store-lists-loop.
   php**
 * Each vendor has a user ID that you can collect from the User’s section by following
   [these methods](https://www.wpbeginner.com/beginners-guide/how-to-find-post-category-tag-comments-or-user-id-in-wordpress/#:~:text=To%20find%20your%20own%20user,left%20corner%20of%20the%20screen.).
 * If I want to remove the store of user ID 1 I will put this if condition just 
   above the line **#19** –
 * `<?php if ($seller->ID !== 1) ?>`
 * This will not show the store with user ID 1.
 * I hope you find it useful.
 * Thank you 🙂
    -  This reply was modified 5 years, 8 months ago by [Rashed Ripon (a11n)](https://wordpress.org/support/users/rur165/).
 *  Thread Starter [shemakeswebsites](https://wordpress.org/support/users/shemakeswebsites/)
 * (@shemakeswebsites)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/exclude-admin-from-store-list/#post-13436341)
 * Thank you so much. This is what I used to make this work:
 *     ```
       <?php
                       foreach ( $sellers['users'] as $seller ) if ($seller->ID !== 1) 
       ```
   
 * I really appreciate your help!
 *  [Rashed Ripon (a11n)](https://wordpress.org/support/users/rur165/)
 * (@rur165)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/exclude-admin-from-store-list/#post-13436483)
 * Hello [@shemakeswebsites](https://wordpress.org/support/users/shemakeswebsites/),
 * Awesome!
 * That is a much smarter solution. Thanks for sharing as well.
 * Create a new thread if you have any other queries.
 * Thank you 🙂

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

The topic ‘Exclude admin from store list’ is closed to new replies.

 * ![](https://ps.w.org/dokan-lite/assets/icon-256x256.gif?rev=3239229)
 * [Dokan: AI Powered WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy](https://wordpress.org/plugins/dokan-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dokan-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dokan-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/dokan-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dokan-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dokan-lite/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Rashed Ripon (a11n)](https://wordpress.org/support/users/rur165/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/exclude-admin-from-store-list/#post-13436483)
 * Status: resolved