File: /home/shaping-sar.ru/public_html/wp-content/themes/beauty spa/woocommerce/archive-product.php
<?php
defined('ABSPATH') or die("No script kiddies please!");
get_header();
?>
<section class="breadcrumbs">
<div class="container">
<div class="page-header">
<h1><?php wp_title('') ?></h1>
</div>
<?php AfterSetupTheme::beautySpa_breadcrumb(); ?>
</div>
</section>
<?php get_template_part('menu-section'); ?>
<!--<section class="page-block">
<div class="container">
<div class="row">-->
<?php
/**
* woocommerce_before_main_content hook.
*
* @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
* @hooked woocommerce_breadcrumb - 20
*/
do_action('woocommerce_before_main_content');
?>
<?php if (apply_filters('woocommerce_show_page_title', true)) : ?>
<h1 class="page-title"><?php woocommerce_page_title(); ?></h1>
<?php endif; ?>
<?php
/**
* woocommerce_archive_description hook.
*
* @hooked woocommerce_taxonomy_archive_description - 10
* @hooked woocommerce_product_archive_description - 10
*/
do_action('woocommerce_archive_description');
?>
<div class="col-md-9 col-sm-8 content prod-categories cat-with-sidebar" id="content">
<?php if (have_posts()) : ?>
<div class="row">
<?php
/**
* woocommerce_before_shop_loop hook.
*
* @hooked woocommerce_result_count - 20
* @hooked woocommerce_catalog_ordering - 30
*/
do_action('woocommerce_before_shop_loop');
?>
</div>
<div class="tab-content">
<!-- Product Grid View Starts -->
<div id="grid-view" class="tab-pane fade active in" role="tabpanel">
<div class="row text-center">
<?php woocommerce_product_loop_start(); ?>
<?php woocommerce_product_subcategories(); ?>
<?php while (have_posts()) : the_post(); ?>
<?php wc_get_template_part('content', 'product'); ?>
<?php endwhile; // end of the loop. ?>
<?php woocommerce_product_loop_end(); ?>
</div>
<?php
/**
* woocommerce_after_shop_loop hook.
*
* @hooked woocommerce_pagination - 10
*/
do_action('woocommerce_after_shop_loop');
?>
</div>
</div>
<?php elseif (!woocommerce_product_subcategories(array('before' => woocommerce_product_loop_start(false), 'after' => woocommerce_product_loop_end(false)))) : ?>
<?php wc_get_template('loop/no-products-found.php'); ?>
<?php endif; ?>
</div>
<aside class="col-md-3 col-sm-4 sidebar" id="sidebar">
<?php if (is_active_sidebar('woocommerce-sidebar')) { ?>
<?php dynamic_sidebar('woocommerce-sidebar'); ?>
<?php } ?>
</aside>
<?php
/**
* woocommerce_after_main_content hook.
*
* @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
* @hooked woocommerce_breadcrumb - 20
*/
do_action('woocommerce_after_main_content');
?>
<!--</div>
</div>
</section>-->
<?php
get_footer();
?>