PATH:
home
/
lab2454c
/
adenbic.com
/
wp-content
/
themes
/
bumbleb
/
woocommerce
<?php global $product, $woocommerce_loop, $post; $bumbleb_settings = bumbleb_global_settings(); if(!isset($layout_shop)){ $layout_shop = bumbleb_get_config('layout_shop','1'); } if($product -> is_on_backorder( 1 ) ){ $stock = 'pre-order' ; }else{ $stock = ( $product->is_in_stock() )? 'in-stock' : 'out-stock' ; } ?> <?php if ($layout_shop == '1') { ?> <?php remove_action('woocommerce_after_shop_loop_item', 'bumbleb_woocommerce_template_loop_add_to_cart', 15 ); ?> <div class="products-entry content-product1 clearfix product-wapper"> <div class="products-thumb"> <?php /** * woocommerce_before_shop_loop_item_title hook * * @hooked woocommerce_show_product_loop_sale_flash - 10 * @hooked woocommerce_template_loop_product_thumbnail - 10 */ do_action( 'woocommerce_before_shop_loop_item_title' ); ?> <div class="product-button"> <?php do_action('woocommerce_after_shop_loop_item'); ?> </div> <?php if($stock == "out-stock"): ?> <div class="product-stock"> <span class="stock"><?php echo esc_html__( 'Out Of Stock', 'bumbleb' ); ?></span> </div> <?php elseif($stock == "pre-order"): ?> <div class="product-stock pre-order"> <span class="stock"><?php echo esc_html__( 'Pre Order', 'bumbleb' ); ?></span> </div> <?php endif; ?> </div> <div class="products-content"> <div class="contents"> <?php do_action( 'woocommerce_before_shop_loop_item' ); ?> <h3 class="product-title"><a href="<?php esc_url(the_permalink()); ?>"><?php esc_html(the_title()); ?></a></h3> <?php woocommerce_template_loop_rating(); ?> <div class="woo-price"> <?php do_action( 'woocommerce_after_shop_loop_item_title' ); ?> <div class="btn-atc"> <?php bumbleb_woocommerce_template_loop_add_to_cart(); ?> </div> </div> </div> </div> </div> <?php }elseif ($layout_shop == '2') { ?> <?php remove_action('woocommerce_after_shop_loop_item', 'bumbleb_add_loop_wishlist_link', 18 ); ?> <div class="products-entry content-product2 clearfix product-wapper"> <div class="products-thumb"> <?php /** * woocommerce_before_shop_loop_item_title hook * * @hooked woocommerce_show_product_loop_sale_flash - 10 * @hooked woocommerce_template_loop_product_thumbnail - 10 */ do_action( 'woocommerce_before_shop_loop_item_title' ); ?> <div class="product-button"> <?php do_action('woocommerce_after_shop_loop_item'); ?> </div> <?php if($stock == "out-stock"): ?> <div class="product-stock"> <span class="stock"><?php echo esc_html__( 'Out Of Stock', 'bumbleb' ); ?></span> </div> <?php elseif($stock == "pre-order"): ?> <div class="product-stock pre-order"> <span class="stock"><?php echo esc_html__( 'Pre Order', 'bumbleb' ); ?></span> </div> <?php endif; ?> </div> <div class="products-content"> <div class="contents"> <?php if(isset($bumbleb_settings['product-wishlist']) && $bumbleb_settings['product-wishlist'] && class_exists( 'WPCleverWoosw' ) ){ bumbleb_add_loop_wishlist_link(); } ?> <h3 class="product-title"><a href="<?php esc_url(the_permalink()); ?>"><?php esc_html(the_title()); ?></a></h3> <?php do_action( 'woocommerce_after_shop_loop_item_title' ); ?> </div> </div> </div> <?php }elseif ($layout_shop == '3') { ?> <div class="products-entry content-product3 clearfix product-wapper"> <div class="products-thumb"> <?php /** * woocommerce_before_shop_loop_item_title hook * * @hooked woocommerce_show_product_loop_sale_flash - 10 * @hooked woocommerce_template_loop_product_thumbnail - 10 */ do_action( 'woocommerce_before_shop_loop_item_title' ); ?> <div class="product-button"> <?php do_action('woocommerce_after_shop_loop_item'); ?> </div> <?php if($stock == "out-stock"): ?> <div class="product-stock"> <span class="stock"><?php echo esc_html__( 'Out Of Stock', 'bumbleb' ); ?></span> </div> <?php elseif($stock == "pre-order"): ?> <div class="product-stock pre-order"> <span class="stock"><?php echo esc_html__( 'Pre Order', 'bumbleb' ); ?></span> </div> <?php endif; ?> </div> <div class="products-content"> <div class="contents"> <?php woocommerce_template_loop_rating(); ?> <h3 class="product-title"><a href="<?php esc_url(the_permalink()); ?>"><?php esc_html(the_title()); ?></a></h3> <?php do_action( 'woocommerce_after_shop_loop_item_title' ); ?> </div> </div> </div> <?php }elseif ($layout_shop == '4') { ?> <?php remove_action('woocommerce_after_shop_loop_item', 'bumbleb_woocommerce_template_loop_add_to_cart', 15 ); ?> <div class="products-entry content-product4 clearfix product-wapper"> <div class="products-thumb"> <?php /** * woocommerce_before_shop_loop_item_title hook * * @hooked woocommerce_show_product_loop_sale_flash - 10 * @hooked woocommerce_template_loop_product_thumbnail - 10 */ do_action( 'woocommerce_before_shop_loop_item_title' ); ?> <div class='product-button'> <?php do_action('woocommerce_after_shop_loop_item'); ?> </div> <div class="btn-atc"> <?php bumbleb_woocommerce_template_loop_add_to_cart(); ?> </div> <?php if($stock == "out-stock"): ?> <div class="product-stock"> <span class="stock"><?php echo esc_html__( 'Out Of Stock', 'bumbleb' ); ?></span> </div> <?php endif; ?> </div> <div class="products-content"> <div class="contents"> <h3 class="product-title"><a href="<?php esc_url(the_permalink()); ?>"><?php esc_html(the_title()); ?></a></h3> <?php do_action( 'woocommerce_after_shop_loop_item_title' ); ?> </div> </div> </div> <?php } ?>
[-] 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]