Title: jigoshop wrap / integration
Last modified: August 21, 2016

---

# jigoshop wrap / integration

 *  Resolved [dodjob](https://wordpress.org/support/users/dodjob/)
 * (@dodjob)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/jigoshop-wrap-integration/)
 * Hi there,
    I’m curently using Jigoshop and Customizr. I do have an integration
   problem as soon as the wrap doesn’t work correctly which results in the wrong
   display of the sidebars (appear below the whole products) I have seen/followed
   this tutorial: [http://forum.jigoshop.com/kb/customize-jigoshop/wrap-your-themes-content-for-jigoshop](http://forum.jigoshop.com/kb/customize-jigoshop/wrap-your-themes-content-for-jigoshop)
   but it didn’t work. The function works but the sidebar is still not added at 
   the right place. You can take a look at the actual workaround I’m using which
   is simply to not show side bars :/ [http://www.bavarian-ebikes.com/shop/](http://www.bavarian-ebikes.com/shop/)
   Do anybody knows what the <div> wrappers should be? I’m mega php n00b 🙂 Thanks
   in advance! H.

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

 *  Thread Starter [dodjob](https://wordpress.org/support/users/dodjob/)
 * (@dodjob)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/jigoshop-wrap-integration/#post-4848806)
 * bump 🙂
 *  [Rocco Aliberti](https://wordpress.org/support/users/d4z_c0nf/)
 * (@d4z_c0nf)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/jigoshop-wrap-integration/#post-4848808)
 * Hi dodjob, this is pretty much the same thing [@nikeo](https://wordpress.org/support/users/nikeo/)
   does for woocommerce integration:
 *     ```
       //jigo
       function mytheme_open_jigoshop_content_wrappers(){
           // we do this here because I'm lazy
           /* remove tc comments*/
           add_filter( 'tc_show_comments', 'tc_jigoshop_disable_comments' );
           function tc_jigoshop_disable_comments(){
               return false;
           }
           /* remove tc post navigation */
           add_filter( 'tc_show_post_navigation', 'tc_jigoshop_disable_post_navigation');
           function tc_jigoshop_disable_post_navigation(){
               return false;
           }
       ?>
           <div id="main-wrapper" class="<?php echo tc__f( 'tc_main_wrapper_classes' , 'container' ) ?>">
               <?php do_action( '__before_main_container' ); ##hook of the featured page (priority 10) and breadcrumb (priority 20)...and whatever you need! ?>
                   <div class="container" role="main">
                        <div class="<?php echo tc__f( 'tc_column_content_wrapper_classes' , 'row column-content-wrapper' ) ?>">
   
                             <?php do_action( '__before_article_container'); ##hook of left sidebar?>
   
                                 <div id="content" class="<?php echo tc__f( '__screen_layout' , tc__f ( '__ID' ) , 'class' ) ?> article-container">
   
                                     <?php do_action ('__before_loop');##hooks the header of the list of post : archive, search... ?>
       <?php
       }
   
       function mytheme_close_jigoshop_content_wrappers()
       {
       ?>
                                     <?php do_action ('__after_loop');##hook of the comments and the posts navigation with priorities 10 and 20 ?>
   
                                 </div><!--.article-container -->
   
                             <?php do_action( '__after_article_container'); ##hook of left sidebar?>
   
                         </div><!--.row -->
                     </div><!-- .container role: main -->
   
                 <?php do_action( '__after_main_container' ); ?>
   
             </div><!--#main-wrapper"-->
       <?php
       }
   
       function mytheme_prepare_jigoshop_wrappers()
       {
   
           /* use customizr sidebars */
           remove_action('jigoshop_sidebar', 'jigoshop_get_sidebar', 10);
           /* use customizr breadcrumb */
           remove_action('jigoshop_before_main_content', 'jigoshop_breadcrumb', 20);
   
           /* unhooks the default jigoshop wrappers and add customizr's content warpper and action hooks*/
           remove_action( 'jigoshop_before_main_content', 'jigoshop_output_content_wrapper', 10 );
           remove_action( 'jigoshop_after_main_content', 'jigoshop_output_content_wrapper_end', 10);
           add_action( 'jigoshop_before_main_content', 'mytheme_open_jigoshop_content_wrappers', 10 );
           add_action( 'jigoshop_after_main_content', 'mytheme_close_jigoshop_content_wrappers', 10 );
       }
       add_action( 'wp_head', 'mytheme_prepare_jigoshop_wrappers' );
       ```
   
 * You have to put this code in your child-theme functions.php .
    Hope this helps.
 *  Thread Starter [dodjob](https://wordpress.org/support/users/dodjob/)
 * (@dodjob)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/jigoshop-wrap-integration/#post-4848825)
 * Yessssssssss :))) Ah ah I’m REAALLY Thanksful for that!
    Have a nice day! 🙂 
   Gruß, H.
 *  Thread Starter [dodjob](https://wordpress.org/support/users/dodjob/)
 * (@dodjob)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/jigoshop-wrap-integration/#post-4848826)
 * :] [solved] :]
 *  [Rocco Aliberti](https://wordpress.org/support/users/d4z_c0nf/)
 * (@d4z_c0nf)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/jigoshop-wrap-integration/#post-4848828)
 * You’re welcome 😀

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

The topic ‘jigoshop wrap / integration’ is closed to new replies.

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

## Tags

 * [side bars](https://wordpress.org/support/topic-tag/side-bars/)
 * [wrap](https://wordpress.org/support/topic-tag/wrap/)

 * 5 replies
 * 2 participants
 * Last reply from: [Rocco Aliberti](https://wordpress.org/support/users/d4z_c0nf/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/jigoshop-wrap-integration/#post-4848828)
 * Status: resolved