PATH:
home
/
lab2454c
/
adenbic.com
/
wp-content
/
themes
/
bumbleb
/
woocommerce
<?php /** * The Template for displaying product archives, including the main shop page which is a post type archive * * This template can be overridden by copying it to yourtheme/woocommerce/archive-product.php. * * HOWEVER, on occasion WooCommerce will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and * the readme will list any important changes. * * @see https://docs.woocommerce.com/document/template-structure/ * @package WooCommerce/Templates * @version 3.4.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } get_header(); do_action( 'woocommerce_before_main_content' ); $category_style = bumbleb_get_config('category_style','sidebar'); $shop_layout = bumbleb_get_config('shop-layout','boxed'); $current_category = get_queried_object(); $show_subcategories = bumbleb_get_config('show-subcategories',false); $sub_col_large = bumbleb_get_config('sub_col_large',6); $sub_col_medium = bumbleb_get_config('sub_col_medium',4); $sub_col_sm = bumbleb_get_config('sub_col_sm',3); $id_category = (isset($current_category->term_id) && $current_category->term_id) ? $current_category->term_id : 0; ?> <div class="<?php echo esc_attr($category_style); ?> shop-layout-<?php echo esc_attr($shop_layout); ?>"> <?php if( function_exists('is_shop') && is_shop() && $category_style == 'only_categories' && apply_filters( 'bumbleb_custom_category', $html = '' ) ): ?> <div class="container"> <div class="main-archive-product"> <ul class="woocommerce-product-category row"> <?php bumbleb_woocommerce_output_product_categories(); ?> </ul> </div> </div> <?php else: ?> <div class="container"> <div class="main-archive-product row"> <?php if(($category_style == 'sidebar' || $category_style == 'filter_drawer') && is_active_sidebar('sidebar-product')): ?> <div class="bwp-sidebar sidebar-product <?php echo esc_attr(bumbleb_get_class()->class_sidebar_left); ?>"> <?php if( $category_style == 'sidebar' || $category_style == 'filter_drawer'): ?> <div class="button-filter-toggle hidden-lg hidden-md"> <?php echo esc_html__('Close','bumbleb') ?> </div> <?php endif; ?> <?php if ( ( class_exists('WCV_Vendors') && WCV_Vendors::is_vendor_page() ) || is_tax('dc_vendor_shop') ) { ?> <?php dynamic_sidebar( 'sidebar-vendor' ); ?> <?php }else{ ?> <?php dynamic_sidebar( 'sidebar-product' ); ?> <?php } ?> </div> <?php endif; ?> <div class="<?php echo esc_attr(bumbleb_get_class()->class_product_content); ?>" > <?php do_action( 'woocommerce_archive_description' ); ?> <?php if ( have_posts() ) : ?> <div class="bwp-top-bar top clearfix"> <?php bumbleb_category_top_bar(); ?> </div> <?php if($category_style != 'sidebar' && $category_style != 'filter_drawer' && is_active_sidebar('filter-product')): ?> <div class="bwp-sidebar sidebar-product-filter full"> <?php if($category_style == 'filter_sideout'): ?> <div class="button-filter-toggle"> <div class="filter-close"> <?php echo esc_html__('Close','bumbleb') ?> </div> </div> <?php endif; ?> <?php dynamic_sidebar( 'filter-product' ); ?> </div> <?php endif; ?> <div class="content-products-list"> <?php woocommerce_product_loop_start(); ?> <?php while ( have_posts() ) : the_post(); ?> <?php wc_get_template_part( 'content', 'product' ); ?> <?php endwhile; ?> <?php woocommerce_product_loop_end(); ?> </div> <div class="bwp-top-bar bottom clearfix"> <?php do_action('woocommerce_after_shop_loop'); ?> </div> <?php else : ?> <?php wc_get_template( 'loop/no-products-found.php' ); ?> <?php endif; ?> </div> </div> </div> <?php endif; ?> </div> <?php do_action( 'woocommerce_after_main_content' ); get_footer( 'shop' ); ?>
[-] content-grid-product.php
[edit]
[-] content-product_cat.php
[edit]
[-] content-list-product.php
[edit]
[+]
..
[+]
single-product
[-] content-quickview-product.php
[edit]
[-] archive-product.php
[edit]
[-] content-single-product.php
[edit]
[+]
checkout
[-] content-only-product_cat.php
[edit]
[+]
loop
[-] minicart-ajax.php
[edit]
[+]
cart
[+]
myaccount
[-] time-nofication.php
[edit]
[-] content-product.php
[edit]
[-] single-product-reviews.php
[edit]
[+]
order
[-] content-cart-popup.php
[edit]
[-] single-product.php
[edit]