Shop manager access to certain stores

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 7 reply threads
  • Author
    Posts
    • #72886
      Mcflait
      Participant

      Hi!

      There is a way to create a vendor(user) who has the capability to own more than one store? or a shop manager who can only manage and load products for only certain specific stores?

      Thanks!

    • #73091
      WCFM Forum
      Keymaster

      Hi,

      There is a way to create a vendor(user) who has the capability to own more than one store?
      – Sorry, this is not possible.

      or a shop manager who can only manage and load products for only certain specific stores?
      – This is possible using WCFM – Group & Staff addon (http://wclovers.com/product/woocommerce-frontend-manager-groups-staffs/)
      You have to create “Vendor Group” and assign “Group Manager”.

      Thank You

    • #125300
      KadeO
      Participant

      or a shop manager who can only manage and load products for only certain specific stores?
      – This is possible using WCFM – Group & Staff addon (http://wclovers.com/product/woocommerce-frontend-manager-groups-staffs/)
      You have to create “Vendor Group” and assign “Group Manager”.

      Should this functionality also automatically filter the stores directory and make it show up only with the stores from the group they manage?
      I need a group manager that can manage their group of stores (as the manager) to also be able to see all of the normal stores in the whole stores directory list (as if they were just a normal user on the site)

      Is this possible?

    • #126522
      Sushobhan
      Keymaster

      Hi,
      Thanks for getting in touch with us!
      The store page or store list page, or for that matter any other product archive page, has nothing to do with user roles. It’s same for everyone (default behavior) even the non logged in users.
      Managers can manage stores only from their dashboard.
      I hope this answers your question.
      Thank You!

    • #127211
      KadeO
      Participant

      Hi,
      Thanks for getting in touch with us!
      The store page or store list page, or for that matter any other product archive page, has nothing to do with user roles. It’s same for everyone (default behavior) even the non logged in users.
      Managers can manage stores only from their dashboard.
      I hope this answers your question.
      Thank You!

      Hi Sushobhan, thank you for getting back in touch. The reason I ask is because we have the groups and staff addon and we found that the shortcode [wcfm_stores] lists on a page as the directory of all vendor stores, it shows all active stores UNLESS you are logged in on the site as a ‘Store Manager’ login in which case it is automatically filtering the store list to only show the stores that Manager login has access to.

      I can’t find a way to turn this off so a store manager can view the store directory with all the stores without having to add them as a manager to all the different groups available.

    • #127301
      Sushobhan
      Keymaster

      Hi,
      Okay, so I was wrong 🙁
      Please use the following snippet to stop this behavior on store list page-

      add_filter( 'wcfm_allow_vendors_list', function( $allow_vendors = array(0) ) {
          if( wcfm_is_group_manager() && ! is_admin() && ! is_wcfm_page() ) {
              return array(0);
          }
          return $allow_vendors;
      }, 110 );

      Add this code to your child theme’s functions.php
      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/
      Let me know how this goes.
      Thanks!

    • #130053
      KadeO
      Participant

      Add this code to your child theme’s functions.php
      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/
      Let me know how this goes.
      Thanks!

      Thank you, that appears to be doing the trick nicely 🙂

    • #130096
      Sushobhan
      Keymaster

      You are always welcome 🙂
      Let me know if there’s anything else we can help you with.
      Can we ask for a favor? Would you mind taking a few minutes to review our plugin (if you haven’t already) at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.

Viewing 7 reply threads
  • You must be logged in to reply to this topic.