PATH:
home
/
letacommog
/
entrepro
/
wp-content
/
themes
/
rehub
/
woocommerce
<?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly $tagid = get_queried_object()->term_id; $tagobj = get_term_by('id', $tagid, 'store'); $tagname = $tagobj->name; $tagslug = $tagobj->slug; $brandimage = get_term_meta( $tagid, 'brandimage', true ); $brandseconddesc = get_term_meta( $tagid, 'brand_second_description', true ); $brandshortdesc = get_term_meta( $tagid, 'brand_short_description', true ); $brandurl = get_term_meta( $tagid, 'brand_url', true ); $brand_heading = get_term_meta( $tagid, 'brand_heading', true ); $heading = ($brand_heading) ? $brand_heading : $tagname; ?> <div class="rh-container"> <div class="rh-content-wrap clearfix"> <div class="rh-mini-sidebar-content-area tabletblockdisplay floatright"> <div class="woo-tax-name"> <h1 class="mt0 mb15 font150"><?php echo esc_html($heading);?></h1> <?php $description = term_description(); if ( $description && !is_paged() ) { echo '<div class="term-description post">' . $description . '</div>'; } ?> </div> </div> <div class="rh-mini-sidebar floatleft tabletblockdisplay mb20"> <div class="text-center rh-cartbox woo-tax-logo mb20"> <?php if (!empty ($brandimage)) { $showbrandimg = new WPSM_image_resizer(); $showbrandimg->height = '120'; $showbrandimg->src = $brandimage; $showbrandimg->title = $tagname; $showbrandimg->show_resized_image(); } ?> <?php echo rehub_get_user_rate('admin', 'tax');?> <?php if($brandurl){ echo '<span class="rehub-main-color inlinestyle mt15 font80"><i class="far fa-external-link"></i> '.$brandurl.'</span>'; } if($brandshortdesc){ echo '<div class="mt15 font80 lineheight20 text-left-align rtltext-right-align">'.wp_specialchars_decode( $brandshortdesc, ENT_QUOTES ).'</div>'; } ?> </div> </div> <div class="rh-mini-sidebar-content-area floatright tabletblockdisplay" id="content"> <article class="post" id="page-<?php the_ID(); ?>"> <?php do_action( 'woocommerce_before_main_content' );?> <?php $prepare_filter = array();?> <?php $prepare_filter[] = array ( 'filtertitle' => __('All', 'rehub_framework'), 'filtertype' => 'all', 'filterorderby' => 'date', 'filterorder'=> 'DESC', 'filterdate' => 'all', ); $prepare_filter[] = array ( 'filtertitle' => __('Favorite', 'rehub_framework'), 'filtertype' => 'meta', 'filterorderby' => 'date', 'filterorder'=> 'DESC', 'filterdate' => 'all', 'filtermetakey' => 'post_wish_count' ); $prepare_filter[] = array ( 'filtertitle' => __('Popular', 'rehub_framework'), 'filtertype' => 'meta', 'filterorderby' => 'date', 'filterorder'=> 'DESC', 'filterdate' => 'all', 'filtermetakey' => 'rehub_views', ); $prepare_filter[] = array ( 'filtertitle' => __('Most rated', 'rehub_framework'), 'filtertype' => 'meta', 'filterorderby' => 'date', 'filterorder'=> 'DESC', 'filterdate' => 'all', 'filtermetakey' => '_wc_average_rating', ); $prepare_filter[] = array ( 'filtertitle' => __('Expired', 'rehub_framework'), 'filtertype' => 'expired', 'filterorderby' => 'date', 'filterorder'=> 'DESC', 'filterdate' => 'all', ); $prepare_filter = urlencode(json_encode($prepare_filter)); ?> <?php $arg_array = array( 'tax_name' => 'store', 'tax_slug' => $tagslug, 'filterpanel' => $prepare_filter, 'show'=> 30, 'enable_pagination'=> '1' );?> <div class="re_filter_instore"> <?php if (rehub_option('brand_taxonomy_layout') == 'regular_list'):?> <?php echo wpsm_woolist_shortcode($arg_array);?> <?php elseif (rehub_option('brand_taxonomy_layout') == 'deal_grid'):?> <?php if(rehub_option('width_layout') == 'extended'){ $arg_array['columns'] = '4_col'; } else{ $arg_array['columns'] = '3_col'; } ?> <?php echo wpsm_woogrid_shortcode($arg_array);?> <?php elseif (rehub_option('brand_taxonomy_layout') == 'regular_grid'):?> <?php if(rehub_option('width_layout') == 'extended'){ $arg_array['columns'] = '4_col'; } else{ $arg_array['columns'] = '3_col'; } ?> <?php echo wpsm_woocolumns_shortcode($arg_array);?> <?php else:?> <?php echo wpsm_woolist_shortcode($arg_array);?> <?php endif;?> </div> <div class="woostore_tax_second_desc"> <?php echo do_shortcode($brandseconddesc);?> </div> <?php /** * woocommerce_after_main_content hook. * * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content) */ do_action( 'woocommerce_after_main_content' ); ?> </article> </div> <div class="rh-mini-sidebar tabletblockdisplay floatleft clearfix clearboxleft"> <?php if ( is_active_sidebar( 'woostore-sidebar' ) ) : ?> <?php dynamic_sidebar( 'woostore-sidebar' ); ?> <?php endif; ?> </div> </div> </div>
[+]
..
[-] product-searchform.php
[edit]
[-] archive-product.php
[edit]
[+]
cart
[-] content-product_cat.php
[edit]
[-] single-product-reviews.php
[edit]
[-] single-product.php
[edit]
[-] brandarchive.php
[edit]
[-] content-product.php
[edit]
[+]
loop
[+]
single-product
[+]
global