Summer Sale

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.

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.

Penny Loafer Leather Shoe for Men SB-S533 | Premium

-38%

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

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

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

-26%

<?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-S607 | Budget King

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

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 Nagra Shoes For Men SB-S484 | 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;
}

?>

Handmade Nagra Shoes For Men SB-S484 | Premium

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

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

?>

Out of Stock

Modern Plaited Leather Belt SB-FB138 | Budget King

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

Handmade half Shoes For Men SB-S490 | Premium

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

?>

Handmade Nagra Shoes For Men SB-S490 | Premium

Original price was: ৳2,400.Current price is: ৳1,850.

Oil pull Up Leather Messenger Bag SB-MB67 | Premium
Oil pull Up Leather Messenger Bag SB-MB67 | Premium

-7%

<?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 Messenger Bag SB-MB67 | Premium

Original price was: ৳3,500.Current price is: ৳3,250.

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.

Zippered Bi-fold Slim Wallet SB-W54 | Premium
Tan Color Zippered Bi-fold Slim Wallet SB-W54

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

?>

Zippered Bi-fold Slim Wallet SB-W54 | Premium

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

Elegant Series Leather Belt SB-B168 | Budget King
Elegant Series Leather Belt SB-B168 | 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;
}

?>

Elegant Series Leather Belt SB-B168 | Budget King

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

SSB Leather Loafer For Men SB-S152 | 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;
}

?>

Out of Stock

SSB Leather Loafer For Men SB-S152 | Budget King

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

Nubuck Casual Leather Shoes SB-S541 | 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;
}

?>

Out of Stock

Nubuck Casual Leather Shoes SB-S541 | Premium

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

Classic Genuine Leather Belt SB-B154 | Budget King
Classic Genuine Leather Belt SB-B154 | 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;
}

?>

Classic Genuine Leather Belt SB-B154 | Budget King

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

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

-26%

<?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: ৳999.

Handmade half Shoes For Men SB-S494 | Premium

-19%

<?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 Nagra Shoes For Men SB-S494 | Premium

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

Black Color Milling Leather Executive Bag SB-LB449
SSB leather executive bag is meticulously crafted from high-quality genuine leather, renowned for its durability, elegance, and timeless appeal.

-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 Executive Bag SB-LB449

Original price was: ৳5,999.Current price is: ৳5,800.

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 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.

Crocodile design Leather Wallet SB-W180 | Budget King

-10%

<?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 design Leather Wallet SB-W180 | Budget King

Original price was: ৳999.Current price is: ৳899.

Crocodile Pattern Leather Short Wallet SB-W197 | Budget King
Crocodile Pattern Leather Short Wallet SB-W197 | Budget King

-26%

<?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 Pattern Leather Short Wallet SB-W197 | Budget King

Original price was: ৳1,149.Current price is: ৳849.

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.

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.

SSB Leather

SPIN TO WIN!

  • Try your lucky to get discount coupon
  • 1 spin per email
  • No cheating
Try Your Lucky
Never
Remind later
No thanks