AAJ
-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
Leather Half Shoes for men SB-S267 | Premium
Original price was: ৳2,490.৳1,990Current price is: ৳1,990.
-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
Leather Half Shoes for men SB-S268 | Premium
Original price was: ৳2,490.৳1,990Current price is: ৳1,990.
-12%
<?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
Pati Leather Tassel Shoes SB-S234 | Premium
Original price was: ৳2,499.৳2,199Current price is: ৳2,199.
-29%
<?php global $product; if (!$product->is_in_stock()) { $showText = '<span class="out">Out of stock</span>'; echo $showText; } if ($product->is_on_sale()){ if ( $product->get_type() == 'variable' ) { $vars = $product->get_available_variations(); $var_cero = $vars[0]['variation_id']; $variable_product = wc_get_product($var_cero); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent_max=0; } $cont_percent=0; foreach ($vars as $varID) { $variable_product = wc_get_product($varID['variation_id']); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent=0; } if($percent_max!=$percent){ if($percent_max>$percent){ $percent_max=$percent_max; }else{ $percent_max=$percent; } }else{ $cont_percent++; } #echo $regular_price." - ".$sale_price."%".$percent_max."<br>"; } if($cont_percent==count($vars)){ $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>'; }else{ $showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>'; } } else{ $regular_price = $product->regular_price; $sale_price = $product->sale_price; $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>'; } echo $showText; } ?>
Out of Stock
Leather Mouse Pad SB-MP02
Original price was: ৳699.৳499Current price is: ৳499.
-29%
<?php global $product; if (!$product->is_in_stock()) { $showText = '<span class="out">Out of stock</span>'; echo $showText; } if ($product->is_on_sale()){ if ( $product->get_type() == 'variable' ) { $vars = $product->get_available_variations(); $var_cero = $vars[0]['variation_id']; $variable_product = wc_get_product($var_cero); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent_max=0; } $cont_percent=0; foreach ($vars as $varID) { $variable_product = wc_get_product($varID['variation_id']); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent=0; } if($percent_max!=$percent){ if($percent_max>$percent){ $percent_max=$percent_max; }else{ $percent_max=$percent; } }else{ $cont_percent++; } #echo $regular_price." - ".$sale_price."%".$percent_max."<br>"; } if($cont_percent==count($vars)){ $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>'; }else{ $showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>'; } } else{ $regular_price = $product->regular_price; $sale_price = $product->sale_price; $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>'; } echo $showText; } ?>
Out of Stock
Leather Mouse Pad SB-MP01
Original price was: ৳699.৳499Current price is: ৳499.
-50%
<?php global $product; if (!$product->is_in_stock()) { $showText = '<span class="out">Out of stock</span>'; echo $showText; } if ($product->is_on_sale()){ if ( $product->get_type() == 'variable' ) { $vars = $product->get_available_variations(); $var_cero = $vars[0]['variation_id']; $variable_product = wc_get_product($var_cero); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent_max=0; } $cont_percent=0; foreach ($vars as $varID) { $variable_product = wc_get_product($varID['variation_id']); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent=0; } if($percent_max!=$percent){ if($percent_max>$percent){ $percent_max=$percent_max; }else{ $percent_max=$percent; } }else{ $cont_percent++; } #echo $regular_price." - ".$sale_price."%".$percent_max."<br>"; } if($cont_percent==count($vars)){ $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>'; }else{ $showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>'; } } else{ $regular_price = $product->regular_price; $sale_price = $product->sale_price; $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>'; } echo $showText; } ?>
Out of Stock
Brown Cotton Loafer Socks for Men SB-AAJ01
Original price was: ৳299.৳150Current price is: ৳150.
-50%
<?php global $product; if (!$product->is_in_stock()) { $showText = '<span class="out">Out of stock</span>'; echo $showText; } if ($product->is_on_sale()){ if ( $product->get_type() == 'variable' ) { $vars = $product->get_available_variations(); $var_cero = $vars[0]['variation_id']; $variable_product = wc_get_product($var_cero); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent_max=0; } $cont_percent=0; foreach ($vars as $varID) { $variable_product = wc_get_product($varID['variation_id']); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent=0; } if($percent_max!=$percent){ if($percent_max>$percent){ $percent_max=$percent_max; }else{ $percent_max=$percent; } }else{ $cont_percent++; } #echo $regular_price." - ".$sale_price."%".$percent_max."<br>"; } if($cont_percent==count($vars)){ $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>'; }else{ $showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>'; } } else{ $regular_price = $product->regular_price; $sale_price = $product->sale_price; $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>'; } echo $showText; } ?>
Out of Stock
Ash Cotton Loafer Socks for Men SB-AAJ02
Original price was: ৳299.৳150Current price is: ৳150.
-50%
<?php global $product; if (!$product->is_in_stock()) { $showText = '<span class="out">Out of stock</span>'; echo $showText; } if ($product->is_on_sale()){ if ( $product->get_type() == 'variable' ) { $vars = $product->get_available_variations(); $var_cero = $vars[0]['variation_id']; $variable_product = wc_get_product($var_cero); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent_max=0; } $cont_percent=0; foreach ($vars as $varID) { $variable_product = wc_get_product($varID['variation_id']); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent=0; } if($percent_max!=$percent){ if($percent_max>$percent){ $percent_max=$percent_max; }else{ $percent_max=$percent; } }else{ $cont_percent++; } #echo $regular_price." - ".$sale_price."%".$percent_max."<br>"; } if($cont_percent==count($vars)){ $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>'; }else{ $showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>'; } } else{ $regular_price = $product->regular_price; $sale_price = $product->sale_price; $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>'; } echo $showText; } ?>
Out of Stock
Black Cotton Loafer Socks for Men SB-AAJ03
Original price was: ৳299.৳150Current price is: ৳150.
-50%
<?php global $product; if (!$product->is_in_stock()) { $showText = '<span class="out">Out of stock</span>'; echo $showText; } if ($product->is_on_sale()){ if ( $product->get_type() == 'variable' ) { $vars = $product->get_available_variations(); $var_cero = $vars[0]['variation_id']; $variable_product = wc_get_product($var_cero); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent_max=0; } $cont_percent=0; foreach ($vars as $varID) { $variable_product = wc_get_product($varID['variation_id']); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent=0; } if($percent_max!=$percent){ if($percent_max>$percent){ $percent_max=$percent_max; }else{ $percent_max=$percent; } }else{ $cont_percent++; } #echo $regular_price." - ".$sale_price."%".$percent_max."<br>"; } if($cont_percent==count($vars)){ $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>'; }else{ $showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>'; } } else{ $regular_price = $product->regular_price; $sale_price = $product->sale_price; $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>'; } echo $showText; } ?>
Out of Stock
Black Step Cotton Loafer Socks for Men SB-AAJ04
Original price was: ৳299.৳150Current price is: ৳150.
-43%
<?php global $product; if (!$product->is_in_stock()) { $showText = '<span class="out">Out of stock</span>'; echo $showText; } if ($product->is_on_sale()){ if ( $product->get_type() == 'variable' ) { $vars = $product->get_available_variations(); $var_cero = $vars[0]['variation_id']; $variable_product = wc_get_product($var_cero); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent_max=0; } $cont_percent=0; foreach ($vars as $varID) { $variable_product = wc_get_product($varID['variation_id']); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent=0; } if($percent_max!=$percent){ if($percent_max>$percent){ $percent_max=$percent_max; }else{ $percent_max=$percent; } }else{ $cont_percent++; } #echo $regular_price." - ".$sale_price."%".$percent_max."<br>"; } if($cont_percent==count($vars)){ $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>'; }else{ $showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>'; } } else{ $regular_price = $product->regular_price; $sale_price = $product->sale_price; $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>'; } echo $showText; } ?>
Out of Stock
Black Premium Ankle Socks For Men SB-AAJ06
Original price was: ৳349.৳199Current price is: ৳199.
-43%
<?php global $product; if (!$product->is_in_stock()) { $showText = '<span class="out">Out of stock</span>'; echo $showText; } if ($product->is_on_sale()){ if ( $product->get_type() == 'variable' ) { $vars = $product->get_available_variations(); $var_cero = $vars[0]['variation_id']; $variable_product = wc_get_product($var_cero); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent_max=round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent_max=0; } $cont_percent=0; foreach ($vars as $varID) { $variable_product = wc_get_product($varID['variation_id']); $regular_price = $variable_product->get_regular_price(); $sale_price = $variable_product->get_sale_price(); if($sale_price){ $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); }else{ $percent=0; } if($percent_max!=$percent){ if($percent_max>$percent){ $percent_max=$percent_max; }else{ $percent_max=$percent; } }else{ $cont_percent++; } #echo $regular_price." - ".$sale_price."%".$percent_max."<br>"; } if($cont_percent==count($vars)){ $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent_max. '%</span>'; }else{ $showText = '<span class="onsale">'. __('Up to -', 'woocommerce' ). $percent_max. '%</span>'; } } else{ $regular_price = $product->regular_price; $sale_price = $product->sale_price; $percent = round( ( ( $regular_price - $sale_price ) / $regular_price ) * 100 ); $showText = '<span class="onsale">'. __('-', 'woocommerce' ). $percent . '%</span>'; } echo $showText; } ?>
Out of Stock
Gray With Black Strap Socks For Men SB-AAJ07
Original price was: ৳349.৳199Current price is: ৳199.
-64%
<?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
AAJ Gray Strap With Premium Socks For Men SB-AAJ09
Original price was: ৳349.৳124Current price is: ৳124.