Current Path : /storage/v11800/affypharma/public_html/wp-content/themes/amberd-online-store/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/affypharma/public_html/wp-content/themes/amberd-online-store/woocommerce.php |
<?php get_header(); ?>
<div class="amberd-woo-container">
<?php if ( is_shop() || is_product_category() || is_product_tag() ) { ?>
<div class="main-woo-container amberd-woo-main-content" id="content_navigator">
<div role="main" class="amberd-woo-product-list-full-width">
<div class="woocommerce">
<?php woocommerce_content(); ?>
</div>
</div>
<?php if ( get_theme_mod( 'amberd_woocommerce_shop_category_layout' ) != 'sidebarnone' )
{ get_template_part( 'template-parts/sidebar/sidebar-woo-amberd' ); } ?>
</div>
<?php } ?>
<?php if ( is_product() ) { ?>
<div class="main-woo-container <?php if (( get_theme_mod( 'amberd_woocommerce_product_pages_layout' ) != 'sidebarnone' ) && ( get_theme_mod( 'amberd_woocommerce_product_pages_layout' ) == 'sidebarleft' ))
{ echo esc_attr('woo-container-with-sidebar amberd-woo-main-content-sidebarleft'); }
else if (( get_theme_mod( 'amberd_woocommerce_product_pages_layout' ) != 'sidebarnone' ) && ( get_theme_mod( 'amberd_woocommerce_product_pages_layout' ) != 'sidebarleft' ))
{ echo esc_attr('woo-container-with-sidebar'); }
?> amberd-woo-main-content" id="content_navigator">
<div role="main" class="<?php if ( get_theme_mod( 'amberd_woocommerce_product_pages_layout' ) == 'sidebarnone' ) { echo esc_attr('amberd-woo-product-list-full-width'); } else { echo esc_attr('amberd-woo-product-list-with-sidebar'); } ?>">
<div class="woocommerce">
<?php woocommerce_content(); ?>
</div>
</div>
</div>
<?php } ?>
</div>
<?php get_footer(); ?>