Why the Uncategorized category is visible at shop page?
-
after the new update, at the shop page Uncategorized category is vible why is that? How to remove that category? As that category was not visible before the update, so how to remove it.
Attachments:
You must be
logged in to view attached files.
Hello,
This category is shown by default in WooCommerce and it is recommended to just rename it to some other category and use it. If you want to hide it completely, try to add the following PHP code snippet to the child theme functions.php file to do this
add_filter( 'woodmart_wc_default_product_cat', '__return_true' );
Kind Regards
where to add the above code! kindly specify the location
You need to add it into the functions.php
file in your child theme. Also, make sure that the child theme is active in Appearance -> Themes.