WooCommerce Hierarchy Not Showing in Product Categories Widget

Posted in: Newspaper
Post count: 15

Hello, I have created a shop sidebar and added the WooCommerce Product Categories to the widget. When viewing the sidebar, subcategories and sub-subcategories display the same way as parent categories (main categories) even though I have the Show hierarchy option checked. I want subcategories to clearly show with spacing under the parent category so you can tell it’s a subcategory. Currently, everything is just a list, but the formatting should be there to add the spacing.

Screenshots:
https://www.dropbox.com/s/h0ex4h74df374xk/Screen%20Shot%202017-06-10%20at%2012.11.30%20PM.png?dl=0

https://www.dropbox.com/s/193t8q01bf1zom1/Screen%20Shot%202017-06-10%20at%2012.11.46%20PM.png?dl=0

https://www.dropbox.com/s/u979dziicikf8bz/Screen%20Shot%202017-06-10%20at%2012.12.30%20PM.png?dl=0

  • This topic was modified 9 years by dannyl.
Post count: 22421

Hello,
I have tested the product categories element and it runs properly on my end: https://www.screencast.com/t/GoBixMEW0
You may have a custom css or a plugin conflict affecting the css.
Please try to disable all plugins except woocomerce, clear cache and reset cdn files if you use it.
Then test again.
Also check your custom css in the theme panel or your child theme.

Thank you!

Post count: 15

I’ve tried the following:
1) Disabled all plugins
2) Reinstalled woocommerce
3) flushed cashe
4) purged cdn
5) tried adding regular site categories to shop sidebar (still doesn’t display hierarchy)
6) tried creating brand new page and added default side (still doesn’t display hierarchy for categories)
7) tried creating brand new page and brand new sidebar (still doesn’t display hierarchy for categories)

I have no custom CSS across the site and no custom CSS in plugins. Even creating a brand new page and using default sidebar doesn’t show hierarchy for categories (I tried both regular site categories and woocommerce product categories. When I add categories to the body of the Home page it does display hierarchy.

Post count: 20688

Hi,

That is a unusual problem. I have tried my best to replicate it, but cannot. The hierarchy in the product category widget, and the normal category widget is working as it should
https://www.screencast.com/t/aRCGSVPp8
https://www.screencast.com/t/TpWgmjejr
Maybe you can find another widget or category plugin and test with that. I could not say why this is happening, if you rules out all your other plugins.

Thanks

Post count: 15

Simion,

I purchased WC Category Plugin Plus plugin and inserted the widget into my shop sidebar and the categories do display correctly with hierarchy. Link to plugin: http://www.techieresource.com/product/woocommerce-category-accordion-plus/

Screenshot: https://www.dropbox.com/s/mw10x8fu0gqkvhm/Screen%20Shot%202017-06-13%20at%208.50.30%20PM.png?dl=0

So, the plugin works, but it is still concerning that I can’t display my regular WordPress post categories in a hierarchy format. It would be extremely beneficial if someone could log into my admin panel and take a look at my site to see why I still can’t using standard wordress and woocommerce widgets to see hierarchy for categories in sidebars or in the footer area. I have been able to successfully display post categories with hierarchy inside the body of a page, but still can’t display hierarchy correctly in sidebar or footer widgets.
Screenshot: https://www.dropbox.com/s/zhtgb1xbr1qbo7s/Screen%20Shot%202017-06-13%20at%208.55.13%20PM.png?dl=0

Is it possible for someone to connect and review?

  • This reply was modified 9 years by dannyl.
  • This reply was modified 9 years by dannyl.
  • This reply was modified 9 years by dannyl.
Post count: 20688

Hi,

It seems to be an issue when using a different Block header style, than Block header style 1 – Default. This is causing the problem with the category hierarchy. Please enter this code in Theme pane->Custom Css, it should fix the problem for the current header style that you are using for the blocks
https://www.screencast.com/t/6Y9LbULUPz

.td_block_template_10.widget li {
margin-left: 12px!important;
}

I will add this problem on our issue list, and hopefully it will be fixed as soon as possible.

Thanks

Post count: 15

That fixed it! Consider this issue resolved.

Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.