How do I modify the order of the categories on the product page according to the hierarchy?

This topic has 6 replies, 2 voices, and was last updated 1 months, 1 weeks ago ago by Jack Richardson

  • Avatar: hesham
    hesham
    Participant
    October 27, 2025 at 21:06

    the categories on the product page showing Emporio Armani, Emporio Armani Men’s Watches, Watches
    i need it Watches, Emporio Armani, Emporio Armani Men’s Watches
    I already did this in the classification sequence in the dashboard

    5 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 28, 2025 at 08:02

    Hello @Hesham,

    Could you please provide us with some screenshots of the issue? This will help us better understand the problem and offer you the most accurate solution.

    Best regards,
    The 8Theme Team

    Avatar: hesham
    hesham
    Participant
    October 28, 2025 at 13:59

    I want the classification hierarchy, not alphabetical

    Files is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 28, 2025 at 14:37

    Hello @Hesham,

    We display these product categories using the default WooCommerce function wc_get_product_category_list (https://wp-kama.com/plugin/woocommerce/function/wc_get_product_category_list), and they appear in the order returned by WooCommerce. If you would like to modify the order of the results, you will need to use custom PHP code or create your own function to display the items in your preferred order.

    For example, you can copy the etheme_product_cats function from xstore/framework/woo.php to your xstore-child/functions.php file and modify it directly there. Please note that we are unable to provide such in-depth customization, but we are always happy to suggest tweaks or ideas to help you implement your request.

    Additionally, you may submit your request to WooCommerce support, as this matter relates to their code. You can refer to a similar discussion here: https://wordpress.org/support/topic/change-order-of-sub-product-categories-on-main-category-page/

    Best regards,
    Jack Richardson
    8Theme Team

    Avatar: hesham
    hesham
    Participant
    October 28, 2025 at 15:12

    I don’t understand what you’re saying. I want the category to appear sequentially. When downloading products, the category appears incorrectly, as in the pictures. How do I fix this with steps?
    i need this “Watches, Emporio Armani, Emporio Armani Men’s Watches”

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    October 28, 2025 at 15:28

    Hello @hesham,

    The issue you are experiencing is not related to our theme. As we mentioned earlier, it can be submitted on the WooCommerce forum. The display of categories is determined by their code structure and is not controlled by our theme. Thank you for your understanding.

    If you require additional customization to meet your specific needs, please submit your request here: https://www.8theme.com/contact-us

    Best regards,
    The 8Theme Team

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.