Support » Plugin: WooCommerce » Woocommerce multiple category hierarchy

  • Resolved cedricbenjamin

    (@cedricbenjamin)


    Hello,

    One product has multiple category.
    Is there a way to create category hierarchy ?
    Particulary when trying to display image category

    EXEMPLE : My product is under categories A & B & C
    On my product page, I want to display the image category A.
    But it display the image cartegory B or display nothing at all… and i don’t understand the logic.
    I try to attribute the A categorie before the B but does not change anything

    Thanks for help

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @cedricbenjamin

    Thanks for reaching out!

    I am not sure I quite understand your issue here. Can you please provide further information so that we could address you more effectively?

    If a screenshot would be helpful, I’d recommend using https://snipboard.io or http://skitch.com/. You can share the direct link to the image as a response to this topic.

    Thread Starter cedricbenjamin

    (@cedricbenjamin)

    Hello,

    Category ok image :
    The scent category (choconuts) is number 1 in the list : display the image below
    https://snipboard.io/KY0Wry.jpg

    Category not ok :
    The scent category (vanilla strawberry) is number 3 in the list : DOES NOT display the image
    https://snipboard.io/NGtaj5.jpg

    Question is : How can i change the category hierarchy ?
    i tried to attribue one before the other but nothing change…

    Hi @cedricbenjamin

    Thanks for sharing the screenshots. However, I am unable to depict what page are you referring to here and how you set up the category hierarchy for your products.

    EXEMPLE : My product is under categories A & B & C
    On my product page, I want to display the image category A.
    But it display the image cartegory B or display nothing at all… and i don’t understand the logic.
    I try to attribute the A categorie before the B but does not change anything

    Can you please share with us how did you set up the category hierarchy for your products at the back-end of your site as well as what page you want them to be seen on?

    If a screenshot would be helpful, I’d recommend using https://snipboard.io or http://skitch.com/. You can share the direct link to the image as a response to this topic.

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    I’m marking this as resolved since it’s been awhile since you responded. We’ll be here if/when you need us.

    Thread Starter cedricbenjamin

    (@cedricbenjamin)

    I so sorry, i didnt see the replies cause i did not recived notification…

    Actualy my question can be simplified :
    How can i create category hierarchy ?
    How can i assign a “first” category to my product…

    Categories page :
    https://snipboard.io/inJazy.jpg

    Same categorie and hierarchy for the 2 products :
    https://snipboard.io/PogdOB.jpg
    https://snipboard.io/HD6N8k.jpg

    Product 1 : perfume category goes #3 (NOT OK)
    https://snipboard.io/B46dYE.jpg

    Product 2 : perfume category goes #1 (OK)
    https://snipboard.io/9sKfOS.jpg

    Tanks for help

    C


    Hi @cedricbenjamin

    Thanks for sharing the screenshots above which make it clear to visualize what you are referring to here.

    I replicated the categories on my personal site, and I am able to reproduce the result here.

    Front-end:

    If I am not mistaken, categories displayed under the Single Products Page and in the Products menu are displayed alphabetically, regardless of hierarchy.

    Should you wish to alter how it is being displayed, this would require customization to do it. Since custom coding is outside our scope of support, I am leaving this thread open for a bit to see if anyone can chime in to help you out.

    For questions related to development and custom coding, your best bet is to ask on any of these channels for support. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, too.

    Hope this helps!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Woocommerce multiple category hierarchy’ is closed to new replies.