AAJ
-3%
<?php global $product; if (!$product->is_in_stock()) { $showText = '<span class="out">Out of stock</span>'; echo $showText; } if ($product->is_on_sale()){ if ( $product->get_type() == 'variable' ) { $vars = $product->get_available_variations(); $var_cero = $vars[0]['variation_id']; $variable_product = wc_get_product($var_cero); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent_max=0; } $cont_percent=0; foreach ($vars as $varID) { $variable_product = wc_get_product($varID['variation_id']); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent=0; } if($percent_max!=$percent){ if($percent_max>$percent){ $percent_max=$percent_max; }else{ $percent_max=$percent; } }else{ $cont_percent++; } #echo $regular_price." - ".$sale_price."%".$percent_max."<br>"; } if($cont_percent==count($vars)){ $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>'; }else{ $showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>'; } } else{ $regular_price = $product->regular_price; $sale_price = $product->sale_price; $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>'; } echo $showText; } ?>
Leather Half Shoes for men SB-S504 | Premium
Original price was: ৳3,200.৳3,099Current price is: ৳3,099.
-8%
<?php global $product; if (!$product->is_in_stock()) { $showText = '<span class="out">Out of stock</span>'; echo $showText; } if ($product->is_on_sale()){ if ( $product->get_type() == 'variable' ) { $vars = $product->get_available_variations(); $var_cero = $vars[0]['variation_id']; $variable_product = wc_get_product($var_cero); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent_max=0; } $cont_percent=0; foreach ($vars as $varID) { $variable_product = wc_get_product($varID['variation_id']); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent=0; } if($percent_max!=$percent){ if($percent_max>$percent){ $percent_max=$percent_max; }else{ $percent_max=$percent; } }else{ $cont_percent++; } #echo $regular_price." - ".$sale_price."%".$percent_max."<br>"; } if($cont_percent==count($vars)){ $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>'; }else{ $showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>'; } } else{ $regular_price = $product->regular_price; $sale_price = $product->sale_price; $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>'; } echo $showText; } ?>
Leather Half Shoes for men SB-S509 | Premium
Original price was: ৳2,000.৳1,850Current price is: ৳1,850.
-8%
<?php global $product; if (!$product->is_in_stock()) { $showText = '<span class="out">Out of stock</span>'; echo $showText; } if ($product->is_on_sale()){ if ( $product->get_type() == 'variable' ) { $vars = $product->get_available_variations(); $var_cero = $vars[0]['variation_id']; $variable_product = wc_get_product($var_cero); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent_max=0; } $cont_percent=0; foreach ($vars as $varID) { $variable_product = wc_get_product($varID['variation_id']); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent=0; } if($percent_max!=$percent){ if($percent_max>$percent){ $percent_max=$percent_max; }else{ $percent_max=$percent; } }else{ $cont_percent++; } #echo $regular_price." - ".$sale_price."%".$percent_max."<br>"; } if($cont_percent==count($vars)){ $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>'; }else{ $showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>'; } } else{ $regular_price = $product->regular_price; $sale_price = $product->sale_price; $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>'; } echo $showText; } ?>
Leather Half Shoes for men SB-S510 | Premium
Original price was: ৳2,000.৳1,850Current price is: ৳1,850.
-8%
<?php global $product; if (!$product->is_in_stock()) { $showText = '<span class="out">Out of stock</span>'; echo $showText; } if ($product->is_on_sale()){ if ( $product->get_type() == 'variable' ) { $vars = $product->get_available_variations(); $var_cero = $vars[0]['variation_id']; $variable_product = wc_get_product($var_cero); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent_max=0; } $cont_percent=0; foreach ($vars as $varID) { $variable_product = wc_get_product($varID['variation_id']); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent=0; } if($percent_max!=$percent){ if($percent_max>$percent){ $percent_max=$percent_max; }else{ $percent_max=$percent; } }else{ $cont_percent++; } #echo $regular_price." - ".$sale_price."%".$percent_max."<br>"; } if($cont_percent==count($vars)){ $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>'; }else{ $showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>'; } } else{ $regular_price = $product->regular_price; $sale_price = $product->sale_price; $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>'; } echo $showText; } ?>
Leather Half Shoes for men SB-S515 | Premium
Original price was: ৳2,000.৳1,850Current price is: ৳1,850.
-2%
<?php global $product; if (!$product->is_in_stock()) { $showText = '<span class="out">Out of stock</span>'; echo $showText; } if ($product->is_on_sale()){ if ( $product->get_type() == 'variable' ) { $vars = $product->get_available_variations(); $var_cero = $vars[0]['variation_id']; $variable_product = wc_get_product($var_cero); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent_max=0; } $cont_percent=0; foreach ($vars as $varID) { $variable_product = wc_get_product($varID['variation_id']); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent=0; } if($percent_max!=$percent){ if($percent_max>$percent){ $percent_max=$percent_max; }else{ $percent_max=$percent; } }else{ $cont_percent++; } #echo $regular_price." - ".$sale_price."%".$percent_max."<br>"; } if($cont_percent==count($vars)){ $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>'; }else{ $showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>'; } } else{ $regular_price = $product->regular_price; $sale_price = $product->sale_price; $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>'; } echo $showText; } ?>
Out of Stock
Leather Laptop Bag SB-LB436 | Budget King
Original price was: ৳4,099.৳3,999Current price is: ৳3,999.
-25%
<?php global $product; if (!$product->is_in_stock()) { $showText = '<span class="out">Out of stock</span>'; echo $showText; } if ($product->is_on_sale()){ if ( $product->get_type() == 'variable' ) { $vars = $product->get_available_variations(); $var_cero = $vars[0]['variation_id']; $variable_product = wc_get_product($var_cero); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent_max=0; } $cont_percent=0; foreach ($vars as $varID) { $variable_product = wc_get_product($varID['variation_id']); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent=0; } if($percent_max!=$percent){ if($percent_max>$percent){ $percent_max=$percent_max; }else{ $percent_max=$percent; } }else{ $cont_percent++; } #echo $regular_price." - ".$sale_price."%".$percent_max."<br>"; } if($cont_percent==count($vars)){ $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>'; }else{ $showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>'; } } else{ $regular_price = $product->regular_price; $sale_price = $product->sale_price; $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>'; } echo $showText; } ?>
Out of Stock
SSB Leather Loafer for men SB-S432 | Budget King
Original price was: ৳1,999.৳1,499Current price is: ৳1,499.
-50%
<?php global $product; if (!$product->is_in_stock()) { $showText = '<span class="out">Out of stock</span>'; echo $showText; } if ($product->is_on_sale()){ if ( $product->get_type() == 'variable' ) { $vars = $product->get_available_variations(); $var_cero = $vars[0]['variation_id']; $variable_product = wc_get_product($var_cero); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent_max=0; } $cont_percent=0; foreach ($vars as $varID) { $variable_product = wc_get_product($varID['variation_id']); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent=0; } if($percent_max!=$percent){ if($percent_max>$percent){ $percent_max=$percent_max; }else{ $percent_max=$percent; } }else{ $cont_percent++; } #echo $regular_price." - ".$sale_price."%".$percent_max."<br>"; } if($cont_percent==count($vars)){ $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>'; }else{ $showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>'; } } else{ $regular_price = $product->regular_price; $sale_price = $product->sale_price; $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>'; } echo $showText; } ?>
Out of Stock
SSB Leather Loafer for men SB-S431 | Budget King
Original price was: ৳1,999.৳999Current price is: ৳999.
-21%
<?php global $product; if (!$product->is_in_stock()) { $showText = '<span class="out">Out of stock</span>'; echo $showText; } if ($product->is_on_sale()){ if ( $product->get_type() == 'variable' ) { $vars = $product->get_available_variations(); $var_cero = $vars[0]['variation_id']; $variable_product = wc_get_product($var_cero); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent_max=0; } $cont_percent=0; foreach ($vars as $varID) { $variable_product = wc_get_product($varID['variation_id']); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent=0; } if($percent_max!=$percent){ if($percent_max>$percent){ $percent_max=$percent_max; }else{ $percent_max=$percent; } }else{ $cont_percent++; } #echo $regular_price." - ".$sale_price."%".$percent_max."<br>"; } if($cont_percent==count($vars)){ $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>'; }else{ $showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>'; } } else{ $regular_price = $product->regular_price; $sale_price = $product->sale_price; $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>'; } echo $showText; } ?>
Out of Stock
SSB Leather Loafer for men SB-S368 | Budget King
Original price was: ৳1,899.৳1,499Current price is: ৳1,499.
-43%
<?php global $product; if (!$product->is_in_stock()) { $showText = '<span class="out">Out of stock</span>'; echo $showText; } if ($product->is_on_sale()){ if ( $product->get_type() == 'variable' ) { $vars = $product->get_available_variations(); $var_cero = $vars[0]['variation_id']; $variable_product = wc_get_product($var_cero); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent_max=0; } $cont_percent=0; foreach ($vars as $varID) { $variable_product = wc_get_product($varID['variation_id']); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent=0; } if($percent_max!=$percent){ if($percent_max>$percent){ $percent_max=$percent_max; }else{ $percent_max=$percent; } }else{ $cont_percent++; } #echo $regular_price." - ".$sale_price."%".$percent_max."<br>"; } if($cont_percent==count($vars)){ $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>'; }else{ $showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>'; } } else{ $regular_price = $product->regular_price; $sale_price = $product->sale_price; $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>'; } echo $showText; } ?>
Out of Stock
SSB Leather Loafer For Men SB-S366 | Budget King
Original price was: ৳1,899.৳1,080Current price is: ৳1,080.
-24%
<?php global $product; if (!$product->is_in_stock()) { $showText = '<span class="out">Out of stock</span>'; echo $showText; } if ($product->is_on_sale()){ if ( $product->get_type() == 'variable' ) { $vars = $product->get_available_variations(); $var_cero = $vars[0]['variation_id']; $variable_product = wc_get_product($var_cero); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent_max=0; } $cont_percent=0; foreach ($vars as $varID) { $variable_product = wc_get_product($varID['variation_id']); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent=0; } if($percent_max!=$percent){ if($percent_max>$percent){ $percent_max=$percent_max; }else{ $percent_max=$percent; } }else{ $cont_percent++; } #echo $regular_price." - ".$sale_price."%".$percent_max."<br>"; } if($cont_percent==count($vars)){ $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>'; }else{ $showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>'; } } else{ $regular_price = $product->regular_price; $sale_price = $product->sale_price; $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>'; } echo $showText; } ?>
Out of Stock
SSB Leather Loafer for men SB-S328 | Budget King
Original price was: ৳1,980.৳1,499Current price is: ৳1,499.
-24%
<?php global $product; if (!$product->is_in_stock()) { $showText = '<span class="out">Out of stock</span>'; echo $showText; } if ($product->is_on_sale()){ if ( $product->get_type() == 'variable' ) { $vars = $product->get_available_variations(); $var_cero = $vars[0]['variation_id']; $variable_product = wc_get_product($var_cero); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent_max=0; } $cont_percent=0; foreach ($vars as $varID) { $variable_product = wc_get_product($varID['variation_id']); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent=0; } if($percent_max!=$percent){ if($percent_max>$percent){ $percent_max=$percent_max; }else{ $percent_max=$percent; } }else{ $cont_percent++; } #echo $regular_price." - ".$sale_price."%".$percent_max."<br>"; } if($cont_percent==count($vars)){ $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>'; }else{ $showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>'; } } else{ $regular_price = $product->regular_price; $sale_price = $product->sale_price; $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>'; } echo $showText; } ?>
Out of Stock
SSB Leather Loafer For Men SB-S319 | Budget King
Original price was: ৳1,980.৳1,499Current price is: ৳1,499.
-47%
<?php global $product; if (!$product->is_in_stock()) { $showText = '<span class="out">Out of stock</span>'; echo $showText; } if ($product->is_on_sale()){ if ( $product->get_type() == 'variable' ) { $vars = $product->get_available_variations(); $var_cero = $vars[0]['variation_id']; $variable_product = wc_get_product($var_cero); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent_max=0; } $cont_percent=0; foreach ($vars as $varID) { $variable_product = wc_get_product($varID['variation_id']); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent=0; } if($percent_max!=$percent){ if($percent_max>$percent){ $percent_max=$percent_max; }else{ $percent_max=$percent; } }else{ $cont_percent++; } #echo $regular_price." - ".$sale_price."%".$percent_max."<br>"; } if($cont_percent==count($vars)){ $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>'; }else{ $showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>'; } } else{ $regular_price = $product->regular_price; $sale_price = $product->sale_price; $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>'; } echo $showText; } ?>
Out of Stock
SSB Leather Loafer for men SB-S318 | Budget King
Original price was: ৳1,980.৳1,049Current price is: ৳1,049.