Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1345204
    amihaidani
    Participant

    Hello,

    Well, the title says it all.
    I need to get the sidebar ABOVE the woocommerce products list, on shop page.
    I found the code to put in woocommerce.php, but only for ethos and integrity stacks.
    Any help with icon?

    Thank you! 🙂

    #1345603
    Rad
    Moderator

    Hi there,

    Thanks for posting in.

    Would you mind providing the code, you can add it to on icon stack, but I need to know the code and the exact placement.

    Thanks.

    #1345694
    amihaidani
    Participant

    Hello Rad,

    There you go:

    <?php
    
    // =============================================================================
    // VIEWS/INTEGRITY/WOOCOMMERCE.PHP
    // -----------------------------------------------------------------------------
    // WooCommerce page output for Integrity.
    // =============================================================================
    
    ?>
    
    <?php get_header(); ?>
    
      <div class="x-container max width offset">
    
        <?php get_sidebar(); ?>
    
        <div class="<?php x_main_content_class(); ?>" role="main">
    
          <?php woocommerce_content(); ?>
    
        </div>
    
      </div>
    
    <?php get_footer(); ?>
    #1345874
    Lely
    Moderator

    Hi There,

    This is the code for Icon stack:

    <?php
    
    // =============================================================================
    // VIEWS/ICON/WOOCOMMERCE.PHP
    // -----------------------------------------------------------------------------
    // WooCommerce page output for Icon.
    // =============================================================================
    
    ?>
    
    <?php get_header(); ?>
      <?php get_sidebar(); ?>
      <div class="x-main full" role="main">
        <div class="x-container max width offset-top offset-bottom">
    
          <?php if ( x_is_shop() ) : ?>
            <header class="entry-header shop">
              <h1 class="entry-title"><?php echo x_get_option( 'x_icon_shop_title' ); ?></h1>
            </header>
          <?php endif; ?>
    
          <?php woocommerce_content(); ?>
    
        </div>
      </div>
    
    <?php get_footer(); ?>

    Please note that sidebar on icon stack is fixed.

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1345204 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>