diff --git a/includes/class-wcqu-actions.php b/includes/class-wcqu-actions.php index f96a610..cb1d824 100755 --- a/includes/class-wcqu-actions.php +++ b/includes/class-wcqu-actions.php @@ -51,7 +51,7 @@ public function apply_product_notification() { } add_action( 'woocommerce_single_product_summary', array( $this, 'display_minimum_quantity_note' ), $priority ); - + add_action( 'woocommerce_after_shop_loop_item_title', array( $this, 'display_minimum_quantity_note' ), 10, 2); } } @@ -65,9 +65,11 @@ public function display_minimum_quantity_note() { global $product; + /*I'm commenting this out so i can show minimum qty on archive. + if ( !is_product() ) { return; - } + }*/ if( $product->product_type == 'grouped' ) return;