Summer Sale

Crocodile Print Leather Belt SB-B153 | Budget King
Crocodile Print Leather Belt SB-B152

-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;
}

?>

Crocodile Print Leather Belt SB-B152| Premium

Original price was: ৳1,200.Current price is: ৳949.

Leather Half Shoes for men SB-S503 | Premium

-6%

<?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-S503 | Premium

Original price was: ৳3,200.Current price is: ৳2,999.

Elegance Medicated Leather Loafers SB-S605 | Executive
Elegance Medicated Leather Loafers SB-S605 | Executive

-28%

<?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;
}

?>

Elegance Medicated Leather Loafers SB-S605 | Executive

Original price was: ৳2,200.Current price is: ৳1,590.

Passport Cover Holder SB-PH17 | Budget King
Passport Cover Holder SB-PH17 | Budget King

-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;
}

?>

Passport Cover Holder SB-PH17 | Budget King

Original price was: ৳599.Current price is: ৳449.

Men’s Leather Sandal SB-S602 | Budget King
Men’s Leather Sandal SB-S602 | Budget King

-30%

<?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;
}

?>

Men’s Leather Sandal SB-S602 | Budget King

Original price was: ৳1,350.Current price is: ৳950.

Plain Leather Half Shoes SB-HS05 | Budget King

-14%

<?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;
}

?>

Plain Leather Half Shoes SB-HS05 | Budget King

Original price was: ৳1,399.Current price is: ৳1,199.

Leather Half Shoes for men SB-S469 | Executive

-14%

<?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-S469 | Executive

Original price was: ৳2,200.Current price is: ৳1,899.

SSB Leather Penny Loafer Leather Shoe for Men SB-S565
S565

-40%

<?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;
}

?>

Penny Loafer Leather Shoe for Men SB-S565 | Premium

Original price was: ৳3,999.Current price is: ৳2,399.

Modern Plaited Leather Belt SB-FB138 | Budget King
Modern Plaited Leather Belt SB-FB138 | Budget King

-20%

<?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;
}

?>

Modern Plaited Leather Belt SB-FB138 | Budget King

Original price was: ৳1,499.Current price is: ৳1,199.

Elegance Medicated Casual Loafer Shoes For Men SB-S527 | Premium

-20%

<?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;
}

?>

Elegance Medicated Casual Loafer Shoes For Men SB-S527 | Premium

Original price was: ৳2,500.Current price is: ৳1,999.

Leather Tassel Shoes SB-S412 | Premium
Find Mens Black Premium Leather Tassel Shoes in BD | SSB Leather

-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;
}

?>

Leather Tassel Shoes SB-S412 | Premium

Original price was: ৳2,499.Current price is: ৳1,899.

SSB Leather Loafer For Men SB-S625 | Budget King
SSB Leather Loafer For Men SB-S625 | Budget King

-36%

<?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;
}

?>

SSB Leather Loafer For Men SB-S625 | Budget King

Original price was: ৳1,850.Current price is: ৳1,180.

Casual Shoe for Men SB-S416 | Premium
Aaj Leather Casual Shoe for Men Price in BD | SSB Leather

-28%

<?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;
}

?>

Casual Shoe for Men SB-S416 | Premium

Original price was: ৳2,499.Current price is: ৳1,799.

Penny Loafer Leather Shoe for Men SB-S534 | Premium

-40%

<?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;
}

?>

Penny Loafer Leather Shoe for Men SB-S534 | Premium

Original price was: ৳3,999.Current price is: ৳2,399.

Plain Leather Half Shoes SB-HS06 | Budget King

-27%

<?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;
}

?>

Plain Leather Half Shoes SB-HS06 | Budget King

Original price was: ৳1,399.Current price is: ৳1,020.

Oil Pull Up Leather Short Wallet SB-W192 | Premium
Oil Pull Up Leather Short Wallet SB-W192 | Premium

-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;
}

?>

Oil Pull Up Leather Short Wallet SB-W192 | Premium

Original price was: ৳1,200.Current price is: ৳949.

Handmade Leather Belt SB-B160 | Premium
Handmade Leather Belt SB-B160 | Premium

-18%

<?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;
}

?>

Handmade Leather Belt SB-B160 | Premium

Original price was: ৳1,680.Current price is: ৳1,380.

Passport Cover Holder SB-PH21 | Premium

-14%

<?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;
}

?>

Passport Cover Holder SB-PH21 | Premium

Original price was: ৳1,100.Current price is: ৳949.

SSB Leather Penny Loafer Leather Shoe for Men SB-S566
Penny Loafer Leather Shoe for Men SB-S566 | Premium

-40%

<?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;
}

?>

Penny Loafer Leather Shoe for Men SB-S566 | Premium

Original price was: ৳3,999.Current price is: ৳2,399.

SSB Leather Loafer for men SB-S367 | Budget King
SSB Leather Loafer for men SB-S367 | Budget King

-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;
}

?>

SSB Leather Loafer for men SB-S367 | Budget King

Original price was: ৳1,899.Current price is: ৳1,499.

Modern Stylish Leather Belt SB-B139 | Budget King

-33%

<?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;
}

?>

Modern Stylish Leather Belt SB-B139 | Budget King

Original price was: ৳1,499.Current price is: ৳999.

SSB Leather Loafers for men SB-S117 | Budget King

-42%

<?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;
}

?>

SSB Leather Loafers for men SB-S117 | Budget King

Original price was: ৳1,850.Current price is: ৳1,075.

Crocodile Print Leather Belt SB-B153 | Budget King
Crocodile Print Leather Belt SB-B153 | Budget King

-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;
}

?>

Crocodile Print Leather Belt SB-B153 | Budget King

Original price was: ৳1,200.Current price is: ৳949.

Elegance Medicated Loafer Shoes For Men SB-S567 | Executive
Elegance Medicated Loafer Shoes For Men SB-S567

-28%

<?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;
}

?>

Elegance Medicated Loafer Shoes For Men SB-S567 | Executive

Original price was: ৳2,200.Current price is: ৳1,590.

SSB Leather