Card Holder
Showing 1–12 of 20 results
-11%
<?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 Card Holder SB-W122 | Premium
Original price was: ৳899.৳799Current price is: ৳799.
Notice: Function regular_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
Notice: Function sale_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
-11%
-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; } ?>
Card Holder Wallet SB-CHB01 | Premium
Original price was: ৳1,500.৳799Current price is: ৳799.
Notice: Function regular_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
Notice: Function sale_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
-47%
-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; } ?>
Card Holder Wallet SB-CHB03 | Premium
Original price was: ৳1,500.৳1,200Current price is: ৳1,200.
Notice: Function regular_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
Notice: Function sale_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
-20%
-70%
<?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 Slim Pocket Card Holder Wallet SB-CH01 | Budget King
Original price was: ৳599.৳179Current price is: ৳179.
Notice: Function regular_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
Notice: Function sale_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
-70%
<?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 Slim Pocket Card Holder Wallet SB-CH02 | Budget King
৳599
-17%
<?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 Slim Pocket Card Holder Wallet SB-CH04 | Budget King
Original price was: ৳599.৳499Current price is: ৳499.
Notice: Function regular_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
Notice: Function sale_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
-17%
-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; } ?>
Leather Card Holder Mini Wallet SB-CH09 | Budget King
Original price was: ৳699.৳499Current price is: ৳499.
Notice: Function regular_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
Notice: Function sale_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
-29%
-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; } ?>
Leather Card Holder Mini Wallet SB-CH11 | Budget King
Original price was: ৳699.৳499Current price is: ৳499.
Notice: Function regular_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
Notice: Function sale_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
-29%
-17%
<?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 Card Holder Wallet SB-CH12 | Premium
Original price was: ৳600.৳499Current price is: ৳499.
Notice: Function regular_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
Notice: Function sale_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
-17%
-17%
<?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 Card Holder Wallet SB-CH13 | Premium
Original price was: ৳600.৳499Current price is: ৳499.
Notice: Function regular_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
Notice: Function sale_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
-17%
-17%
<?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
Driving License Card Holder SB-LC72 | Budget King
Original price was: ৳599.৳499Current price is: ৳499.
Out of stock
Notice: Function regular_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
Notice: Function sale_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
-17%
Notice: Function regular_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
Notice: Function sale_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
-17%
-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; } ?>
Out of Stock
Leather Card Holder AJ-CH01 Brown | Budget King
Original price was: ৳799.৳599Current price is: ৳599.
Out of stock
Notice: Function regular_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
Notice: Function sale_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
-25%
Notice: Function regular_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
Notice: Function sale_price was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/plugins/woocommerce/templates/taxonomy-product-cat.php'), wc_get_template, include('/themes/bricks/archive-product.php'), Bricks\Frontend::render_content, Bricks\Frontend::render_data, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Query->render, call_user_func_array, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Container->render, Bricks\Frontend::render_element, Bricks\Element->init, Bricks\Element_Code->render, eval, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /var/www/html/public_html/wp-includes/functions.php on line 6085
-25%