<?php
/*
  Template name: Nasa View Compare
  This templates View products in compare.
 */

global $yith_woocompare;

if (!$yith_woocompare) :
    wp_redirect(esc_url(home_url('/')));
endif;

get_header();

/* Hook Display popup window */
do_action('nasa_before_page_wrapper');
?>

<div class="page-wrapper nasa-view-compare">
    <div class="row">
        <div id="content" class="large-12 columns">
            <!-- Compare products -->
            <?php
            elessi_products_compare_content(true);
            
            while (have_posts()) :
                the_post();
                the_content();
            endwhile;
            ?>
        </div><!-- end #content large-12 -->
    </div><!-- end row -->
</div><!-- end page-view-compare wrapper -->

<?php

do_action('nasa_after_page_wrapper');

get_footer();
