Dynamic Woo Archives - Whoops, that page is gone

Hey there, I’ve followed this guide to build dynamic Woocommerce archive pages in order to have the following navigation flow:

  1. Main categories page
  2. Subcategories page
  3. Products list

The problem is that when I click on a category that has one or more sub-categories, I get a blank page saying “That page doesn’t exist”. I checked the urls and they are correct (/products/main-category/subcategory). I have uploaded products in all subcategories but I still have the same problem.

Attached are some screenshots of the display conditions of both the template and the category section. I am also attaching screenshots of Woocommerce display settings.

This is the official guide I’ve followed

Any help?
Thank you in advance

Template conditions:

Template conditions for products:

And finally, Woocommerce settings (Show Categories / Show Subcategories):

A clarification: the problem of the non-existent page is not only given by clicking on the categories that have subcategories but also by clicking on the categories without subcategories and that therefore should show the products directly.

Anyone? :pray: