Permalink
Browse files

Remove Debugging statements

  • Loading branch information...
1 parent 7da4b94 commit 52b641f90cd3c6476d55a860548550ff64a0c56f @1bigidea committed Apr 23, 2013
Showing with 3 additions and 6 deletions.
  1. +0 −2 inc/class.admin_product.php
  2. +2 −2 inc/class.printing_product.php
  3. +1 −2 loader.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;
}
@@ -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
@@ -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);

0 comments on commit 52b641f

Please sign in to comment.