PATH:
home
/
letacommog
/
entrepro
/
wp-content
/
themes
/
rehub
/
woocommerce
/
single-product
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } global $product, $post; $limit = (rehub_option('width_layout') =='extended') ? 6 : 5; ?> <?php $related = wc_get_related_products($product->get_id(), $limit); if ( sizeof( $related ) == 0 ){ }else{ echo '<div class="related-woo-area clearbox flowhidden" id="related-section-woo-area"><div class="rh-container mt30 mb30">'; $related = implode(',',$related); $related_array = array('ids'=>$related, 'columns'=>'5_col', 'data_source'=>'ids', 'show'=> 5, 'show_coupons_only'=>2); if (rehub_option('rehub_wcv_related') == '1'){ $artist = $post->post_author; $related_array['user_id'] = $artist; } if(rehub_option('width_layout') =='extended'){ $related_array['columns'] = '6_col'; $related_array['show'] = 6; } echo '<div class="clearfix"></div><h3>'.__( 'Related Products', 'rehub_framework' ).'</h3>'; if (rehub_option('woo_design') == 'grid') { echo wpsm_woogrid_shortcode($related_array); } elseif (rehub_option('woo_design') == 'gridtwo') { $related_array['gridtype'] = 'compact'; echo wpsm_woogrid_shortcode($related_array); } else{ echo wpsm_woocolumns_shortcode($related_array); } echo '</div></div>'; } ?>
[+]
..
[+]
tabs
[-] sale-flash.php
[edit]
[-] upsell-compact.php
[edit]
[-] full-width-upsell.php
[edit]
[-] full-width-related.php
[edit]
[-] related-with-sidebar.php
[edit]
[-] product-thumbnails.php
[edit]
[-] meta.php
[edit]
[-] share.php
[edit]
[-] product-image.php
[edit]
[-] full-width-upsell-no-margin.php
[edit]
[-] related-compact.php
[edit]
[-] upsell-with-sidebar.php
[edit]
[-] full-width-related-no-margin.php
[edit]
[+]
add-to-cart