Elegance

Filters
  • Product price
  • Product rating
  • Product Brand
  • Product Color
  • Product Size

Featured Products

Filters
  • Product price
  • Product rating
  • Product Brand
  • Product Color
  • Product Size

Featured Products

Showing 13–24 of 44 results

Elegance Medicated Loafer Shoes For Men SB-S522 | Executive

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

?>

Elegance Medicated Loafer Shoes For Men SB-S522 | Executive

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

(-43%)
Elegance Medicated Leather Half Shoes SB-S524 | 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 Leather Half Shoes SB-S524 | Premium

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

(-20%)
Elegance Medicated Casual Loafer Shoes For Men SB-S525 | Premium

-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 Casual Loafer Shoes For Men SB-S525 | Premium

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

(-28%)
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.

(-20%)
Elegance Medicated Loafer Shoes For Men SB-S543 | 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 Loafer Shoes For Men SB-S543 | Executive

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

(-28%)
Elegance Medicated Loafer Shoes For Men SB-S544 | Executive

-23%

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

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

(-23%)
Elegance Suede Leather Loafer SB-S568 | Executive
Elegance Suede Leather Loafer SB-S568

-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 Suede Leather Loafer SB-S568 | Executive

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

(-28%)
Elegance Suede Leather Loafer SB-S569 | Executive

-55%

<?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 Suede Leather Loafer SB-S569 | Executive

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

(-55%)
Elegance Medicated Loafer Shoes For Men SB-S567 | Executive
Elegance Medicated Loafer Shoes For Men SB-S567

-37%

<?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,395.

(-37%)
Elegance Suede Leather Loafer SB-S571 | 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 Suede Leather Loafer SB-S571 | Executive

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

(-28%)
Elegance Suede Leather Loafer SB-S572

-37%

<?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 Suede Leather Loafer SB-S572 | Executive

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

(-37%)
Elegance Medicated Leather Loafers SB-S575 | Executive
Elegance Medicated Leather Loafers SB-S575 | Executive

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

?>

Elegance Medicated Leather Loafers SB-S575 | Executive

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

(-33%)
SSB Leather