

Flash Sale Long Break
-32%
<?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.à§³1,690Current price is: à§³1,690.
-50%
<?php
global $product;
if (!$product->is_in_stock()) {
$showText = '<span class="out">Out of stock</span>';
echo $showText;
}
if ($product->is_on_sale()){
if ( $product->get_type() == 'variable' ) {
$vars = $product->get_available_variations();
$var_cero = $vars[0]['variation_id'];
$variable_product = wc_get_product($var_cero);
$regular_price = $variable_product->get_regular_price();
$sale_price = $variable_product->get_sale_price();
if($sale_price){
$percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 );
}else{
$percent_max=0;
}
$cont_percent=0;
foreach ($vars as $varID) {
$variable_product = wc_get_product($varID['variation_id']);
$regular_price = $variable_product->get_regular_price();
$sale_price = $variable_product->get_sale_price();
if($sale_price){
$percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 );
}else{
$percent=0;
}
if($percent_max!=$percent){
if($percent_max>$percent){
$percent_max=$percent_max;
}else{
$percent_max=$percent;
}
}else{
$cont_percent++;
}
#echo $regular_price." - ".$sale_price."%".$percent_max."<br>";
}
if($cont_percent==count($vars)){
$showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>';
}else{
$showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>';
}
}
else{
$regular_price = $product->regular_price;
$sale_price = $product->sale_price;
$percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 );
$showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>';
}
echo $showText;
}
?>
Classic Leather Loafer Shoes For Men SB-S1027
Original price was: à§³1,980.à§³999Current price is: à§³999.
-39%
<?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-S538
Original price was: à§³2,200.à§³1,350Current price is: à§³1,350.
-34%
<?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 Style Leather Formal Shoes SB-S721
Original price was: à§³2,999.à§³1,984Current price is: à§³1,984.
-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;
}
?>
Chocolate Textured Leather Formal Shoes For Men SB-S1020
Original price was: à§³3,250.à§³2,424Current price is: à§³2,424.
-39%
<?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-S540
Original price was: à§³2,200.à§³1,350Current price is: à§³1,350.
-47%
<?php
global $product;
if (!$product->is_in_stock()) {
$showText = '<span class="out">Out of stock</span>';
echo $showText;
}
if ($product->is_on_sale()){
if ( $product->get_type() == 'variable' ) {
$vars = $product->get_available_variations();
$var_cero = $vars[0]['variation_id'];
$variable_product = wc_get_product($var_cero);
$regular_price = $variable_product->get_regular_price();
$sale_price = $variable_product->get_sale_price();
if($sale_price){
$percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 );
}else{
$percent_max=0;
}
$cont_percent=0;
foreach ($vars as $varID) {
$variable_product = wc_get_product($varID['variation_id']);
$regular_price = $variable_product->get_regular_price();
$sale_price = $variable_product->get_sale_price();
if($sale_price){
$percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 );
}else{
$percent=0;
}
if($percent_max!=$percent){
if($percent_max>$percent){
$percent_max=$percent_max;
}else{
$percent_max=$percent;
}
}else{
$cont_percent++;
}
#echo $regular_price." - ".$sale_price."%".$percent_max."<br>";
}
if($cont_percent==count($vars)){
$showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>';
}else{
$showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>';
}
}
else{
$regular_price = $product->regular_price;
$sale_price = $product->sale_price;
$percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 );
$showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>';
}
echo $showText;
}
?>
Black Leather Casual Shoes For Men SB-S1009
Original price was: à§³2,999.à§³1,590Current price is: à§³1,590.
-63%
<?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;
}
?>
Luxury Crocodile-Embossed Penny Formal Shoes For Men SB-S733
Original price was: à§³3,999.à§³1,490Current price is: à§³1,490.
-22%
<?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 Long Wallet SB-W08
Original price was: à§³999.à§³780Current price is: à§³780.
-44%
<?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;
}
?>
Croco Style Black Leather Gear Belt For Men SB-IB049
Original price was: à§³1,750.à§³984Current price is: à§³984.
-44%
<?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 Black Formal Slip-On shoes For Men SB-S935
Original price was: à§³2,650.à§³1,490Current price is: à§³1,490.
-39%
<?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;
}
?>
Woven Pattern Leather Tassel Shoes SB-S361| Premium
Original price was: à§³2,799.à§³1,694Current price is: à§³1,694.
-47%
<?php
global $product;
if (!$product->is_in_stock()) {
$showText = '<span class="out">Out of stock</span>';
echo $showText;
}
if ($product->is_on_sale()){
if ( $product->get_type() == 'variable' ) {
$vars = $product->get_available_variations();
$var_cero = $vars[0]['variation_id'];
$variable_product = wc_get_product($var_cero);
$regular_price = $variable_product->get_regular_price();
$sale_price = $variable_product->get_sale_price();
if($sale_price){
$percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 );
}else{
$percent_max=0;
}
$cont_percent=0;
foreach ($vars as $varID) {
$variable_product = wc_get_product($varID['variation_id']);
$regular_price = $variable_product->get_regular_price();
$sale_price = $variable_product->get_sale_price();
if($sale_price){
$percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 );
}else{
$percent=0;
}
if($percent_max!=$percent){
if($percent_max>$percent){
$percent_max=$percent_max;
}else{
$percent_max=$percent;
}
}else{
$cont_percent++;
}
#echo $regular_price." - ".$sale_price."%".$percent_max."<br>";
}
if($cont_percent==count($vars)){
$showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>';
}else{
$showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>';
}
}
else{
$regular_price = $product->regular_price;
$sale_price = $product->sale_price;
$percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 );
$showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>';
}
echo $showText;
}
?>
Classic Dark Maroon One Part Leather Belt For Men-IB109
Original price was: à§³1,899.à§³999Current price is: à§³999.
-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;
}
?>
Passport Cover Holder SB-PH17 | Budget King
Original price was: à§³599.à§³399Current price is: à§³399.
-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;
}
?>
Casual Comfort Leather Loafer Shoes For Men SB-S1030
Original price was: à§³2,250.à§³1,830Current price is: à§³1,830.
-32%
<?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;
}
?>
Black Leather Casual Shoes For Men SB-S1015
Original price was: à§³2,650.à§³1,814Current price is: à§³1,814.
-50%
<?php
global $product;
if (!$product->is_in_stock()) {
$showText = '<span class="out">Out of stock</span>';
echo $showText;
}
if ($product->is_on_sale()){
if ( $product->get_type() == 'variable' ) {
$vars = $product->get_available_variations();
$var_cero = $vars[0]['variation_id'];
$variable_product = wc_get_product($var_cero);
$regular_price = $variable_product->get_regular_price();
$sale_price = $variable_product->get_sale_price();
if($sale_price){
$percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 );
}else{
$percent_max=0;
}
$cont_percent=0;
foreach ($vars as $varID) {
$variable_product = wc_get_product($varID['variation_id']);
$regular_price = $variable_product->get_regular_price();
$sale_price = $variable_product->get_sale_price();
if($sale_price){
$percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 );
}else{
$percent=0;
}
if($percent_max!=$percent){
if($percent_max>$percent){
$percent_max=$percent_max;
}else{
$percent_max=$percent;
}
}else{
$cont_percent++;
}
#echo $regular_price." - ".$sale_price."%".$percent_max."<br>";
}
if($cont_percent==count($vars)){
$showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>';
}else{
$showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>';
}
}
else{
$regular_price = $product->regular_price;
$sale_price = $product->sale_price;
$percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 );
$showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>';
}
echo $showText;
}
?>
Leather Loafer For Men SB-S1025 | Executive Edition
Original price was: à§³1,980.à§³999Current price is: à§³999.
-65%
<?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;
}
?>
Flower Print Leather Zipper Hand Purse Bag For Women’s SB-W218 | Executive
Original price was: à§³1,999.à§³704Current price is: à§³704.
-45%
<?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;
}
?>
Croco Style Black Leather Gear Belt For Men SB-IB036
Original price was: à§³1,800.à§³990Current price is: à§³990.
-39%
<?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-S513
Original price was: à§³2,200.à§³1,350Current price is: à§³1,350.
-35%
<?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;
}
?>
Maroon Comfort Leather Sandal For Men SB-S1007
Original price was: à§³1,450.à§³940Current price is: à§³940.
-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;
}
?>
Reddish-Brown Textured Leather Tassel Shoes For Men SB-S929
Original price was: à§³2,750.à§³1,714Current price is: à§³1,714.
-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;
}
?>
Classic Black Textured Leather Tassel Shoes For Men SB-S928
Original price was: à§³2,750.à§³1,714Current price is: à§³1,714.
-32%
<?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.à§³1,690Current price is: à§³1,690.
















































