• Hey guys! I am new here and I am trying to figure out how to integrate a WooCommerce shop into my current theme… I am trying to figure out how to “replace the loop” of my theme with the WooCommerce loop… the only problem is – I don’t know what the loop looks like!

    Here is the copy of the page.php (well, I have two in this theme… one for full width, and one with a side bar – this is the full width one):

    <?php
    /**
    * Template Name: Full-width, No Sidebar
    *
    */

    if ( is_page_template( ‘page-full-width.php’ ) ) {
    remove_action( ‘omega_after_main’, ‘omega_primary_sidebar’ );
    }

    get_header(); ?>

    <main class=”<?php echo omega_apply_atomic( ‘main_class’, ‘content’ );?>” <?php omega_attr( ‘content’ ); ?>>

    <?php
    do_action( ‘omega_before_content’ );

    do_action( ‘omega_content’ );

    do_action( ‘omega_after_content’ );
    ?>

    </main><!– .content –>

    <?php get_footer(); ?>

    Any help as to what I need to do to get this thing integrated into my current theme is VERY helpful! If this isn’t the best way to go about it, maybe some clarification on the “hooks” method would be helpful as well. Thank you thank you.

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

The topic ‘WooCommerce integration with current theme’ is closed to new replies.