"product-categories" Template and Sidebars
-
I’m setting up a WooCommerce store for someone, and I’ve run into a small problem. I have created a new sidebar, called “Products Sidebar” and a new template called “Products Template” that uses this side bar.
I set my “Shop” page to use this template. No problem.
Then, I click on one of the categories, and notice that the default sidebar is there. Looking at the URL, I noticed that the page has changed to “product-categories”. There is no page created for “product-categories”… So I went digging, and found a call to a “Shop” sidebar in the WooCommerce plugin folder, and there is no “Shop” sidebar.
/public_html/wp-content/plugins/woocommerce/templates/global/sidebar.php
get_sidebar( 'shop' );
Can someone please help me here? I tried creating a “Shop” sidebar, which did nothing, the default still shows. How do I set the template for “product-categories”? Or, in leu of that, which file do I use for “product-categories” sidebar display, since there’s no template for that?
- The topic ‘"product-categories" Template and Sidebars’ is closed to new replies.