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
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.
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.
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.