• Resolved kristinubute

    (@kristinubute)


    HI

    I have a bit of a frustrating issue with a client site, hoping someone could advise best way to fix it.

    Website is Woocommerce and has sidebar menu on left side and Main Menu on the TOp menu.

    I wanted to ask about the CATEGORIES LIST and sub categories in Woocommerce. We have a BRANDS CATEGORY with at least 40 brands in there which are displayed on the left sidebar menu.

    What the frustration is, that when the client adds more sub categories in the BRANDS area, it puts them as the 1st sub category under BRANDS, instead of alphabetical order.

    How can we FORCE that it displays it in alphabetical order, rather than every time a new Sub Category in the Brands is added, it adds it to the TOP (first in the Brands list), rather than in a alphabetical list.

    I may have a setting incorrect somewhere? Or maybe it is not possible?

    OR do I have to MOVE it manually in the backend “CATEGORIES” list where we create the category and sub category?

    The issue is if I try to MOVE it in the “CATEGORIES Admin area” and drag it where it should be, I cannot drag it from P1 to p2, if BRANDS goes to 2-3 pages. Then it becomes impossible to MOVE or drag to another page in the Categories section.

    Can I somehow have a AUTO alphabetical in BRANDS area to make life easier and less frustrating?

    Thanks in advance

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @kristinubute,

    I understand you are having an issue with sorting your subcategories in the Brands area. You can use a shortcode to display your subcategories on the frontend. WooCommerce provides a shortcode called product_categories that you can use to show your product categories on any page. You can also use some parameters to customize how the categories are displayed, such as orderby and order. For example, if you want to display your subcategories in ascending alphabetical order, you can use this shortcode:

    [product_categories parent="brands" orderby="name" order="ASC"]

    You can replace the parent value with the ID or slug of your main category, and the orderby value with other options such as ID or title. You can find more information and examples on how to use this shortcode in this guide.

    I hope this helps you sort your subcategories in the way you want.

    Thread Starter kristinubute

    (@kristinubute)

    HI, thanks for your reply. The Brands are on the left sidebar, so I can’t really use your shortcode, because the Brands sub category is mixed in with ALL the other sub categories.

    Therefore HOW can I get the Brands Orderby Name just for Brands?

    Can I use CSS or something and link it to that ID ?

    So the shortcode won’t work, so I have to have it in order on the left Sidebar with all the other sub categories.

    Thanks

    Hey, @kristinubute!

    From what I understand you are using the Product Categories List widget on the sidebar and you want the child categories of Brands to show on alphabetical order automatically, correct?

    I just tested it on my website, I had a parent category called Clothing that had three child categories: Accessories, Hoodies, Tshirts.
    I added a new child category called “Test” and it automatically went between Hoodies and Tshirts.

    Are you using any page builder such as Elementor or something similar?

    Do you mind sharing the URL of the website so we can take a closer look and make sure we know exactly what is going on so we can assist you further?

    Looking forward to your reply.

    Have a wonderful day!

    Thread Starter kristinubute

    (@kristinubute)

    HI

    Thanks for your reply.

    It always adds a new Sub category for Brands to the top AND not between the alphabetical sections where it should.

    Can I send the link privately somewhere?

    We have at least 30 sub categories for Brands. Then when the client adds 10x new brands, it adds to the top, then customers get frustrated that it is NOT in alphabetical order… which it normally is, its just the new ones are getting added automatically to the top and NOT in alphabetical.

    Strangely though when I look under the Products / Categories / Brands in there, it is alphabetical … and is all good.

    It’s just the viewing in the sidebar.

    SIDEBAR is using general PRODUCT CATEGORIES option

    Order by Category Order and ONLY show children of the heirarchy

    There is NO option to order the sidebar Sub Categories that I can see.

    Just so you know its actually the SAME issue for every Category in the Sidebar that has Sub Categories. They all display the latest Sub Category that was added last, therefore doesn’t show in alphabetical (the rest of the sub category is alphabetical, but if 6 new sub cagegories were added to “Categories” then they are at the top also..

    Thanks

    Thread Starter kristinubute

    (@kristinubute)

    Storefront Theme. ONLY using Divi builder for 6 pages ONLY .. All ecommerce pages are NOT Divi builder at all.

    Thread Starter kristinubute

    (@kristinubute)

    Actually I just managed to fix it ..

    The setting in the WIdgets – Product Categories needs to be by NAME ONLY .. then everything goes alphabetical in sub categories.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @kristinubute,

    I’m glad you were able to find a solution to your inquiry here and thanks for sharing it with the community too! ??

    Should you have further inquiries, kindly create a new topic here.

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can we have Sub Category items displayed alphabetical automatically?’ is closed to new replies.