# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- Base (BASE)
+++ Locally Modified (Based On LOCAL)
@@ -419,7 +419,7 @@
   $found_errors = FALSE;
   // Check each line item
   foreach ($order_wrapper->commerce_line_items as $index => $line_item_wrapper) {
-    if(in_array($line_item_wrapper->type->value(), commerce_product_line_item_types())) {
+    if ($line_item_wrapper->getBundle() == 'product' && in_array($line_item_wrapper->type->value(), commerce_product_line_item_types())) {
       $product_id = $line_item_wrapper->commerce_product->product_id->value();
       $product = commerce_product_load($product_id);
       $qty_ordered = commerce_stock_check_cart_product_level($product_id);
