• Help us and get rewarded with 15% discount coupon. Learn how

Add Search option to the Categories Selection in the product editor

WooCommerce Multivendor Marketplace – Home Forums WCfM – Feature Request Add Search option to the Categories Selection in the product editor

This topic contains 14 replies, has 4 voices, and was last updated by WCfM Forum WCfM Forum 3 months ago.

  • Author
    Posts
  • #56900
    Avatar
    Craig
    Participant

    Can you add a search function to this particular Category Selection.

    I know there is a search function when the option of “Disable Category Checklist View” in the dashboard settings is check off to create a “flat view” but we like this option better for selecting categories. Can this particular Category Selection also have a search function?

    Attachments:
    You must be logged in to view attached files.
  • #57023
    Avatar
    Eduard de Boer

    + Add a new category. Can this be turned off for the user? in woocommerce

  • #57045
    Avatar
    Craig
    Participant

    + Add a new category. Can this be turned off for the user? in woocommerce

    Yes this can be turned off. I just can’t remember where/how…but you can.

    This page may help:
    https://wordpress.stackexchange.com/questions/259647/how-to-remove-the-add-category-button-from-the-category-metabox

    Hopefully the WC Lovers support can chime in as they may have a better suggestion.

  • #57113
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    + Add a new category. Can this be turned off for the user? in woocommerce

    You may disable this from WCFM Capability section for vendors.

    For category selection please try this addon – https://drive.google.com/file/d/1znUbF22LEaqQjZQUKj6lHBBodGaZ7yiQ/view?usp=sharing

    Thank You

  • #58048
    Avatar
    Craig
    Participant

    In addition to adding the search function to the categories tree.
    Are you able to make the collapsing arrow function work on all the sub-categories as well. The arrow only seems to be applied to the top parent.

    In my case it is “Products” or “Services”

    Right now when I click on the arrow pointing to the “Products” or “Services” parent category it expands every sub category and children category under it. This makes it very difficult to scroll through the sub categories when there are many.

    Is something like this possible?

    Thanks so much

    Attachments:
    You must be logged in to view attached files.
  • #58496
    WCfM Forum
    WCfM Forum
    Keymaster

    HI,

    Well, search under category tree not possible.

    Either you may disable this option from WCFM Admin Setting -> Dashboard – https://ibb.co/sqGYvy9

    Or, use this hierarchy addon – https://drive.google.com/file/d/1K_vQ91STSMjrO9OKN6B_ufRp5ij0affo/view?usp=sharing

    Thank You

  • #58515
    Avatar
    Craig
    Participant

    Thanks for this suggestion. I like the functionality of the alternate category selector you suggest by “disable this option from WCFM Admin Setting -> Dashboard”

    BUT can you confirm if a child category is only selected through this type of category selection does the parent categories automatically get selected as well?

    For example if I type in “shirts” and select that category will it also include the item when it’s parent (women’s clothing) is filtered? or does the vendor also need to type and select the parent category as well?

    I’m assuming that the parent categories need to be selected as well and so this is where the display of the hierarchy is helpful so the vendor can see what the related categories are.

    • #61216
      Avatar
      sadoun
      Participant

      Craig Check this plug-in:

      Parent Category AutoCheck + Category Tree Checklist
      Preserves the category hierarchy on the post editing screen + Check Parent Automatically + Auto scroll to first checked

      I have tried this and it works great in the Shop Admin section.

      But for vendors, it doesn’t work…

      If you find a better solution let me know… I need the same thing for vendors…

      Managing the categories selection process is actually one of the most important functions for vendors. I wish WCFM would look into that and fix their category selection method.

      > Are you able to make the collapsing arrow function work on all the sub-categories as well. Right now when I click on the arrow pointing to the “Products” or “Services” parent category it expands every sub category and children category under it. This makes it very difficult to scroll through the sub categories when there are many.

      I would like to see your suggestion get implemented as well

  • #58674
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    BUT can you confirm if a child category is only selected through this type of category selection does the parent categories automatically get selected as well?

    – Sorry, this is not happen automatically

    Thank You

  • #61759
    Avatar
    Craig
    Participant

    WC Lovers do you see this as an future feature that can be implemented or is it too closely tied to woocommerce/wordrpress that it needs to be an enhancement that they have to do? Or is it possible that your plugin can do this eventually?

  • #61902
    WCfM Forum
    WCfM Forum
    Keymaster

    Hi,

    Which feature? Category search or parent category auto-select on child category selection?

    Thank You

  • #62012
    Avatar
    Craig
    Participant

    The main issue is the navigation of the category list and make the collapsing arrow function work on all the sub-categories as well. The arrow only seems to be applied to the top parent.

    In my case it is “Products” or “Services”

    Right now when I click on the arrow pointing to the “Products” or “Services” parent category it expands every sub category and every children category under it. This makes it very difficult to scroll through the sub categories when there are so many sub categories.

    It would be so very helpful to have the ability to collapse/expand the children categories

    Attachments:
    You must be logged in to view attached files.
  • #62414
    WCfM Forum
    WCfM Forum
    Keymaster

    HI,

    You were using hierarchy addon – https://drive.google.com/file/d/1K_vQ91STSMjrO9OKN6B_ufRp5ij0affo/view?usp=sharing

    Is this not fit with your requirement ?

    Thank You

  • #62613
    Avatar
    Craig
    Participant

    We will try this out. Thanks for this suggestion.

  • #62799
    WCfM Forum
    WCfM Forum
    Keymaster

    You are welcome 🙂

You must be logged in to reply to this topic.