Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove Debugging statements

  • Loading branch information...
commit 52b641f90cd3c6476d55a860548550ff64a0c56f 1 parent 7da4b94
@1bigidea authored
View
2  inc/class.admin_product.php
@@ -197,8 +197,6 @@ function save_pricing_info($post_id){
update_post_meta( $post_id, '_tax_status', stripslashes( $_POST['_tax_status_bulk'] ) );
update_post_meta( $post_id, '_tax_class', stripslashes( $_POST['_tax_class_bulk'] ) );
-kickout('save_pricing_info', $_POST, $post_id, $per_unit_table, $date_from, $date_to);
-
return;
}
View
4 inc/class.printing_product.php
@@ -23,7 +23,7 @@ public function __construct( $product ) {
}
function set_min_quantities($args, $product){
-kickout('set_min_quantities_variable', $args, $product);
+
$args['input_value'] = $args['min_value'] = $this->min_order_qty;
return $args;
@@ -49,7 +49,7 @@ function __construct($variation, $args = array() ){
}
function set_min_quantities($args, $product){
-kickout('set_min_quantities_variation', $args, $product);
+
$args['input_value'] = $args['min_value'] = $this->min_order_qty;
return $args;
View
3  loader.php
@@ -107,7 +107,7 @@ function front_enqueue(){
}
function initiate_product($classname, $product_type, $post_type, $product_id){
-kickout('initiate_product', $classname, $product_type, $post_type, $product_id, FILE_APPEND);
+//kickout('initiate_product', $classname, $product_type, $post_type, $product_id, FILE_APPEND);
// switch($classname){
// case 'WC_Product_Variable':
@@ -147,7 +147,6 @@ function determine_price($the_product, $qty, $price_level = 'regular'){
if( !($date_from <= time() && time() <= $date_to) ) // Product not on sale (per schedule)
return '';
-kickout('determine_price', time(), $date_from, $date_to);
}
$bulk_pricing = get_post_meta($the_product->id, NonoPrintPricing::$pricing_table_key, true);
Please sign in to comment.
Something went wrong with that request. Please try again.