Good day.
I am having trouble with my “shop” page. Currently I have one three categories set up, with the product supposed to show in the third-tier (SM01 – Sun & Moon) category. It is set up as follows:
Pokémon TCG
Sun & Moon
SM01 – Sun & Moon
Currently the product is displaying in the first category, with none of the subcategories appearing. I have set up the product to display in the SM01 Sun & Moon subcategory, and it didn’t work. I then tried to include the product in all three categories, and it didn’t work either. I am using WOO Commerce for my store, and I have it set up to display the category and subcategory in the Woo Commerce section under customize. I also added the following snippet code, which is supposed to display all the categories, and it still isn’t helping:
add_filter( ‘woocommerce_product_subcategories_hide_empty’, ‘hide_empty_categories’, 10, 1 );
function hide_empty_categories ( $hide_empty ) {
$hide_empty = FALSE;
// You can add other logic here too
return $hide_empty;
}
I am new to creating website, so I am unsure what to try next. Any help would be greatly appreciated!
The page I need help with: [log in to see the link]