get_stock_quantity();
if( 1 === $product_quantity ){
$classes[] = 'quantity-one';
}
}
while ( have_posts() ) :
the_post();
echo '
';
if( empty( get_post_meta($mfn_global['single_product'], 'mfn_template_alert', true) ) ) {
echo '
';
do_action( 'woocommerce_before_single_product' );
echo '
';
// else moved to shortcode
}
$mfn_builder = new Mfn_Builder_Front( $mfn_global['single_product'] );
$mfn_builder->show();
echo '
';
do_action('woocommerce_after_single_product');
echo '
';
echo '
';
endwhile;
}else{
echo '