Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Woo Product Categories List not visually differentiating between Level 3 and Level 4 categories #4625

Closed
inaikem opened this issue Aug 24, 2021 · 6 comments · Fixed by #4920
Labels
type: bug The issue/PR concerns a confirmed bug.

Comments

@inaikem
Copy link

inaikem commented Aug 24, 2021

Describe the bug

Category hierarchy is clear between all levels except Level 3 and Level 4.

Level 4 categories appear like Level 3 as shown:

wc-blocks-dropbown-safari-14 1
 

To reproduce

Steps to reproduce the behavior:

  1. Create 4 WooCommerce product categories, each one nested under the previous one created, like follows:
    • Level 1
      • Level 2
        • Level 3
          • Level 4
  2. Add a product to the last category
  3. To a page, add the block Product Categories List
  4. Under the block settings > List settings > Display style, pick "Dropdown"
  5. Again under the block settings > Content, switch On "Show hierarchy"
  6. Save and view page
     

Expected behavior

To be able to see the hierarchy and distinguish between level 3 and level 4.
 

Screenshots

See above.
 

Environment

WordPress (please complete the following information):

  • Core version: 5.8
  • Gutenberg version: 11.3
  • WooCommerce version: 5.5.1
  • WooCommerce Blocks version: Unknown (Atomic site)
  • Site language: EN
     

Desktop (please complete the following information):

  • OS: macOS 10.15.7 (19H1217)
  • Browser Safari 14.1, Firefox 90.0.2 + 91.0.1, Chrome 92.0.4515.159
     

Additional context

User report: 4227938-zen + Automattic/wp-calypso#55601 (@mxhassani)

@inaikem inaikem added the type: bug The issue/PR concerns a confirmed bug. label Aug 24, 2021
ovidiul added a commit to thinkovi/woocommerce-gutenberg-products-block that referenced this issue Oct 7, 2021
ovidiul added a commit to thinkovi/woocommerce-gutenberg-products-block that referenced this issue Oct 8, 2021
ovidiul added a commit to thinkovi/woocommerce-gutenberg-products-block that referenced this issue Oct 12, 2021
opr added a commit that referenced this issue Oct 12, 2021
* Empty commit for release pull request

* Update readme.txt with release changelog

* Add testing instructions for 6.1.0 release

* Update readme.txt with release changelog

* #4625 product categories list block hierarchy display fix (#4920)

* Update link to testing zip

* Remove mini cart testing from instructions

This is because mini-cart is only in experimental builds.

* Update changelog and testing notes

* Correct typo in testing instructions

* Update testing instructions

* Bumping version strings to new version.

Co-authored-by: github-actions <[email protected]>
Co-authored-by: Thomas Roberts <[email protected]>
Co-authored-by: Ovidiu Liuta <[email protected]>
@filipanoscampos
Copy link

Hi there! @opr and @ralucaStan
The User came back as they are still seeing this issue.
The ticket: 4403013-zd-woothemes

I can confirm this, as you can see here:
Screenshot 2021-10-25 at 14 02 03

Does the user need to take any action?
Shouldn't the update have fixed this?

Thank you!

@ralucaStan
Copy link
Contributor

Hi @filipanoscampos, 👋
Thank you for letting us know.
The fix for this should be included in Woo Blocks version 6.1.0; I've tested and things work as expected for me.
Screenshot 2021-10-25 at 14 29 29

Unfortunately, I don't have access to see the ticket and what version the user is using, but if they update to the latest version, the bug should be fixed.
Hope this helps.

@opr
Copy link
Contributor

opr commented Oct 25, 2021

Hi @filipanoscampos - I've just checked and can see the user is not using the feature plugin of WooCommerce Blocks, instead their site is using only WooCommerce core 5.8. The version of WooCommerce Blocks packaged there is 5.9.1 which does not contain this fix.

When WooCommerce 5.9 is released the fix will be included in that. If the user wants to get the most up to date WooCommerce Blocks experience they can install the WooCommerce Blocks feature plugin.

@filipanoscampos
Copy link

Thank you both!
I'm done for the day but will reply to the user as soon as I can tomorrow.

@dcoleonline
Copy link

@filipanoscampos I've replied for you. :)

@filipanoscampos
Copy link

Thank you so much @dcoleonline :)

jonny-bull pushed a commit to jonny-bull/woocommerce-gutenberg-products-block that referenced this issue Dec 14, 2021
jonny-bull pushed a commit to jonny-bull/woocommerce-gutenberg-products-block that referenced this issue Dec 14, 2021
* Empty commit for release pull request

* Update readme.txt with release changelog

* Add testing instructions for 6.1.0 release

* Update readme.txt with release changelog

* woocommerce#4625 product categories list block hierarchy display fix (woocommerce#4920)

* Update link to testing zip

* Remove mini cart testing from instructions

This is because mini-cart is only in experimental builds.

* Update changelog and testing notes

* Correct typo in testing instructions

* Update testing instructions

* Bumping version strings to new version.

Co-authored-by: github-actions <[email protected]>
Co-authored-by: Thomas Roberts <[email protected]>
Co-authored-by: Ovidiu Liuta <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug The issue/PR concerns a confirmed bug.
Projects
None yet
5 participants