Support » Plugin: WooCommerce » Products List – Categories column – difference between Category and SubCategory

  • Resolved MKSnMKS

    (@mksnmks)


    In the Product List page, there is a column that has commas separating the categories, and subcategories.
    They are all separated by a comma and a space, and are all in lower case characters of the same font style and color.
    It is difficult to see what the Categories are, and what their respective subcategories are.

    So if one wants to remove subcategories from a main category, and those sub categories, also have the same name as a main category, then it can be confusing.
    The only way to be certain is to look at each individual product view, and uncheck/check boxes.

    Is there some way that the categories column, in the general Product List view, can be made to distinguish between categories and subcategories, and which category a subcategory is a subcategory of?

    If this is not presently possible, then would you consider incorporating this as a feature request?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Zach W

    (@dynamiczach)

    Automattic Happiness Engineer

    Howdy!

    So that I can understand your issue a bit better, can you let me know if this is mainly because you have the same names for categories and subcategories?

    Could you provide a bit more detail and possibly a screenshot or two outlining the issue? Thanks much!

    Hi Zach W,

    Thanks for getting back to me.

    1) re

    can you let me know if this is mainly because you have the same names for categories and subcategories?

    Yes we do use the some of the same names for categories and sub categories.
    Not in all names, but for some.
    But this is not the main problem; the main problem is that there is no way to what is a category, and what is a subcategory, anyway (whatever their names happen to be).

    2) re

    Could you provide a bit more detail and possibly a screenshot or two outlining the issue?

    2a) More Detail
    Our work around has been to put a “-” before the name of a subcategory, so we know it is a subcategory, but even then the column display does not show what it is a subcategory of.
    for each product, all its categories and subcategories are listed with comma separation, with no visual distinction between categories, subcategories, and which category a sub category belongs to.
    2b) I don’t know how to attach screenshots to a forum comment.
    But anyway, the column would look something like;

    Cat A,CatB,S
    ubCatA1,CatC
    ,CatD

    In this example, we can see what the subcategory is because it has an obvious name. But we can also see that there is no formatting to help highlight the difference, nor to connect a subcategory with its main category.

    Note of additional feature;
    It would also be handy to be able to edit the contents of this column, while in the list screen, rather than to have to open each individual product full page to add or remove it from some categories or subcategories.
    Presently this can be done by exporting, manipulate in spreadsheet, then import, but that is a long winded way to do something which might be imagined to be easy enough to do in the list (just as it is easy to do in the spreadsheet column).

    I hope that helps improve an understanding of the matter.

    Thanks

    Plugin Support Zach W

    (@dynamiczach)

    Automattic Happiness Engineer

    Howdy!

    Thanks for taking the time to clarify!

    I think I understand what you mean now, you’re talking about the categories shown here: http://cld.wthms.co/CH0Vci and how it’s hard to distinguish what is a categories and subcategory, especially because you have categories/subcategories with the same names.

    The easiest workaround is to re-name your categories/sub-categories so that there are none with the same name (not just place a - in there somewhere, but re-name entirely).

    If that’s not an option, I’m not aware of a plugin or code readily available to change that, but I’ll leave this thread open for a few days in the event that someone else may be able to share that with you.

    Otherwise, you could look at getting something developed for your needs. For assistance with customization or development with your site, we recommend reaching out to someone on our Customizations Page: https://woocommerce.com/customizations/

    Hi Zach W,

    Yes it does look like the image you show.
    Did your example use two categories, or two subcategories, or one of each, and which one was which?

    It is also confusing that “sub”categories, are also included in the categories column – there could be a separate column for sub-categories.

    So re

    Is there some way that the categories column, in the general Product List view, can be made to distinguish between categories and subcategories, and which category a subcategory is a subcategory of?

    If this is not presently possible, then would you consider incorporating this as a feature request?

    Is it possible to request a feature for some method of distinguishing between categories and subcategories, such as say font colour and/or style, possibly “;” to signify the following are subcategories of the preceding category and “.” is the end of a subcategory list, or separate column for subcategories, or ‘hover over’ as subcategory to be shown what category it is a member of (or further details), or any other method that might be suitable?

    Thank you

    Plugin Support Stuart Duff

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @mksnmks,

    Looking at the product list there aren’t any CSS classes of similar which are added to parent and subcategories which could be used to restyle these using some CSS or similar and it seems you would have to write a custom solution for what you’re proposing.

    Hello Stuart Duff,

    Thanks for your reply.
    I am not quite sure what you mean by
    “there aren’t any CSS classes of similar which”
    which could be “of similar (something)”
    or could be “classes (or) similar”.

    The styling would probably be determined by CSS.

    In order to distinguish between a category and a subcategory, the best point of detection would be when the subcategories and categories information is collected for each product in the list.
    The process that collects the information, would know whether it got the information when looking for categories, or subcategories.
    At that point, it can be noted which is which, and be assigned its styling.
    Q) Would my thinking be sensible here?

    I am not a programmer, but it would be interesting to know which piece of code the call up is to check for which categories and subcategories a product belongs to, when this list is generated.
    Q) Do you have any hints or tips for that?

    Thank you
    I look forward to you comments.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Products List – Categories column – difference between Category and SubCategory’ is closed to new replies.