Title: WooCommerce Compatibility
Last modified: August 21, 2016

---

# WooCommerce Compatibility

 *  Resolved [bozzio](https://wordpress.org/support/users/bozzio/)
 * (@bozzio)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/woocommerce-compatibility-9/)
 * Hey Alexander, love the theme and am trying desperately to get it to work with
   WooCommerce so I can use it.
 * I know you said you added basic WooCommerce support with the latest release (
   which I downloaded from your site), but for some reason on my shop age I just
   get the same sidebars that occur by default on my homepage.
 * When I try to change the sidebar layout in the admin section of the shop page(
   like I have done to have custom sidebar widegets for all my site’s page) for 
   some reason those changes won’t take affect for the shop page. I have been trying
   all the little hacks I can find around the web to fix the issue but I am still
   stuck with a shop page that can’t have it’s sidebars customized.
 * Can you possible check on this?
 * I am building this site is a test environment that is on the same server as my
   live site. [http://www.guitarlessons365.com/gl365test/](http://www.guitarlessons365.com/gl365test/)
 * As you can see that I have a different sidebar widget for every page, but the
   shop page just mimics the homepage.
 * Thanks for the help! Carl..

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [WordDug](https://wordpress.org/support/users/worddug/)
 * (@worddug)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/woocommerce-compatibility-9/#post-4561369)
 * Hi
 * it looks like you may have worked this out. Are you able to let me know how you
   can add a different sidebar?
 * cheers
 *  [Alexander Agnarson](https://wordpress.org/support/users/alxmedia/)
 * (@alxmedia)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/woocommerce-compatibility-9/#post-4561371)
 * Hi there,
 * I haven’t yet have time to look into this – however, I do think WooCommerce uses
   a combination of archive pages and standard pages. So to specify the sidebar 
   for WooCommerce, that would be the is_archive option – and in some cases the 
   specific pages. The downside with it is that the same sidebars would need to 
   be used for other archive pages.
 *  [WordDug](https://wordpress.org/support/users/worddug/)
 * (@worddug)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/woocommerce-compatibility-9/#post-4561372)
 * Thanks for replying.
 * I just noticed that you can add a cart widget to the sidebar which only appears
   if something has been added to it. To be honest I’m happy with that and I will
   just leave the sidebars for the woocommerce pages to the default ones. Apart 
   from a few CSS issues on mobiles the woocommerce fits in very nicely to your 
   theme – very impressed by woocommerce plugin and your Hueman theme.
 * cheers
 *  [kissedvixen](https://wordpress.org/support/users/kissedvixen/)
 * (@kissedvixen)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/woocommerce-compatibility-9/#post-4561486)
 * Hi
 * I know this topic has been marked as resolved. I was wondering though if there
   was any way to fix the issue mentioned above…
 * > I haven’t yet have time to look into this – however, I do think WooCommerce
   > uses a combination of archive pages and standard pages. So to specify the sidebar
   > for WooCommerce, that would be the is_archive option – and in some cases the
   > specific pages. The downside with it is that the same sidebars would need to
   > be used for other archive pages.
 * I am trying to list categories on the store page but not on the regular category
   pages for the non store posts. Is there any way to fix this?
    I do see that the
   shop page is reading from the _archives page… Have you found any tricks to resolve
   this…
 * Thanks and btw great theme 🙂
 *  [WordDug](https://wordpress.org/support/users/worddug/)
 * (@worddug)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/woocommerce-compatibility-9/#post-4561497)
 * Hey,
 * I got this to work by adding a woocomerce left and woocomerce right sidebar via
   hueman theme options.
 * I then created a sidebar-shop.php file in the hueman child theme (woocommerce
   recognises the file). Then created another file shop-sidebar-2.php in the child
   theme and referenced that in the first file.
 * I basically just copied the code from normal hueman sidebar.php and sidebar-2.
   php into these files and changed any references to $sidebar to the woocommerce
   left and right sidebars that I created via the theme options.
 * You can then add widgets via the appearance widgets page.
 *     ```
       <?php
       	$sidebar = "sidebar-wooleft";
       	$layout = alx_layout_class();
       	if ( $layout != 'col-1c'):
       ?>
   
       	<div class="sidebar s1">
   
       		<a class="sidebar-toggle" title="<?php _e('Expand Sidebar','hueman'); ?>"><i class="fa icon-sidebar-toggle"></i></a>
   
       		<div class="sidebar-content">
   
       			<div class="sidebar-top group" align="center">
       				<p style="text-align: center;">TEST<a href="/dug-shop/" title="Dug Gift Shop">Shop</a> - <a href="/dog-events/" title="Dog Events in Scotland">Events</a> - <a href="/dog-walkers-trainers-pet-shops/">Directory</a> - <a href="/the-dug-gallery/">Gallery</a></p>
   
       			</div>
   
       			<?php if ( ot_get_option( 'post-nav' ) == 's1') { get_template_part('inc/post-nav'); } ?>
   
       			<?php if( is_page_template('page-templates/child-menu.php') ): ?>
       			<ul class="child-menu group">
       				<?php wp_list_pages('title_li=&sort_column=menu_order&depth=3'); ?>
       			</ul>
       			<?php endif; ?>
   
       			<?php dynamic_sidebar($sidebar); ?>
   
       		</div><!--/.sidebar-content-->
   
       	</div><!--/.sidebar-->
   
       	<?php if (
       		( $layout == 'col-3cm' ) ||
       		( $layout == 'col-3cl' ) ||
       		( $layout == 'col-3cr' ) )
       		{ get_template_part('shop-sidebar-2'); }
       	?>
   
       <?php endif; ?>
       ```
   
 *     ```
       <?php $sidebar = "sidebar-wooright"; ?>
   
       <div class="sidebar s2">
   
       	<a class="sidebar-toggle" title="<?php _e('Expand Sidebar','hueman'); ?>"><i class="fa icon-sidebar-toggle"></i></a>
   
       	<div class="sidebar-content">
   
       				<div class="sidebar-top group" align="center">
       				<p><?php _e('','hueman'); ?></p>
       				<div align="center"><?php alx_social_links() ; ?></div>
       			</div>
   
       		<?php if ( ot_get_option( 'post-nav' ) == 's2') { get_template_part('inc/post-nav'); } ?>
   
       		<?php dynamic_sidebar($sidebar); ?>
   
       	</div><!--/.sidebar-content-->
   
       </div><!--/.sidebar-->
       ```
   
 * There is likely a better way but hey this displays different sidebars in woocommerce
   shop to the rest of the site.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘WooCommerce Compatibility’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [WordDug](https://wordpress.org/support/users/worddug/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/woocommerce-compatibility-9/#post-4561497)
 * Status: resolved