{
  "product_slug": "discount-rules-woocommerce-pro",
  "recorded_at": "2026-10-17",
  "results": {
    "discount-fixture.json": {
      "product_ids": [
        11,
        12
      ],
      "rule_id": 4,
      "rule": {
        "title": "Notebook bulk fixed unit price",
        "enabled": 1,
        "discount_type": "wdr_bulk_discount",
        "filters": [
          {
            "type": "products",
            "method": "in_list",
            "value": [
              11
            ]
          }
        ],
        "bulk_adjustments": {
          "operator": "product_cumulative",
          "ranges": [
            {
              "from": 3,
              "to": 5,
              "type": "fixed_price",
              "value": 80,
              "label": "3\u20135 notebooks"
            },
            {
              "from": 6,
              "to": "",
              "type": "fixed_price",
              "value": 70,
              "label": "6+ notebooks"
            }
          ]
        },
        "conditions": [],
        "additional": {
          "condition_relationship": "and"
        }
      },
      "cart_page_id": 13,
      "tested_at": "2026-10-17T11:04:39+00:00",
      "versions": {
        "woocommerce": "11.2.1",
        "core": "2.6.18",
        "pro": "2.6.18"
      }
    },
    "discount-eligible-2.json": {
      "product": "eligible",
      "quantity": 2,
      "base_unit_price": 100,
      "expected_unit_price": 100,
      "observed_unit_price": 100,
      "pass": true,
      "engine_details": false,
      "tested_at": "2026-10-17T11:04:58+00:00"
    },
    "discount-eligible-3.json": {
      "product": "eligible",
      "quantity": 3,
      "base_unit_price": 100,
      "expected_unit_price": 80,
      "observed_unit_price": 80,
      "pass": true,
      "engine_details": {
        "initial_price": 100,
        "discounted_price": 80,
        "initial_price_with_tax": 100,
        "discounted_price_with_tax": 80,
        "total_discount_details": {
          "4": {
            "set_discount": 0,
            "bulk_discount": {
              "discount_type": "fixed_price",
              "discount_value": 80,
              "discount_quantity": 3,
              "discount_price_per_quantity": 20,
              "discount_price": 20
            },
            "simple_discount": 0
          }
        },
        "apply_as_cart_rule": [
          "no"
        ],
        "discount_lines": {
          "non_applied": {
            "quantity": 0,
            "discount": 0,
            "price": 100,
            "calculate_discount_from": 100
          },
          "0": {
            "quantity": 3,
            "discount": 20,
            "original_price": 100,
            "discounted_price": 80
          }
        }
      },
      "tested_at": "2026-10-17T11:04:41+00:00"
    },
    "discount-eligible-5.json": {
      "product": "eligible",
      "quantity": 5,
      "base_unit_price": 100,
      "expected_unit_price": 80,
      "observed_unit_price": 80,
      "pass": true,
      "engine_details": {
        "initial_price": 100,
        "discounted_price": 80,
        "initial_price_with_tax": 100,
        "discounted_price_with_tax": 80,
        "total_discount_details": {
          "4": {
            "set_discount": 0,
            "bulk_discount": {
              "discount_type": "fixed_price",
              "discount_value": 80,
              "discount_quantity": 5,
              "discount_price_per_quantity": 20,
              "discount_price": 20
            },
            "simple_discount": 0
          }
        },
        "apply_as_cart_rule": [
          "no"
        ],
        "discount_lines": {
          "non_applied": {
            "quantity": 0,
            "discount": 0,
            "price": 100,
            "calculate_discount_from": 100
          },
          "0": {
            "quantity": 5,
            "discount": 20,
            "original_price": 100,
            "discounted_price": 80
          }
        }
      },
      "tested_at": "2026-10-17T11:05:00+00:00"
    },
    "discount-eligible-6.json": {
      "product": "eligible",
      "quantity": 6,
      "base_unit_price": 100,
      "expected_unit_price": 70,
      "observed_unit_price": 70,
      "pass": true,
      "engine_details": {
        "initial_price": 100,
        "discounted_price": 70,
        "initial_price_with_tax": 100,
        "discounted_price_with_tax": 70,
        "total_discount_details": {
          "4": {
            "set_discount": 0,
            "bulk_discount": {
              "discount_type": "fixed_price",
              "discount_value": 70,
              "discount_quantity": 6,
              "discount_price_per_quantity": 30,
              "discount_price": 30
            },
            "simple_discount": 0
          }
        },
        "apply_as_cart_rule": [
          "no"
        ],
        "discount_lines": {
          "non_applied": {
            "quantity": 0,
            "discount": 0,
            "price": 100,
            "calculate_discount_from": 100
          },
          "0": {
            "quantity": 6,
            "discount": 30,
            "original_price": 100,
            "discounted_price": 70
          }
        }
      },
      "tested_at": "2026-10-17T11:05:01+00:00"
    },
    "discount-excluded-6.json": {
      "product": "excluded",
      "quantity": 6,
      "base_unit_price": 40,
      "expected_unit_price": 40,
      "observed_unit_price": 40,
      "pass": true,
      "engine_details": false,
      "tested_at": "2026-10-17T11:05:03+00:00"
    }
  },
  "browser_observations": "Actual classiccart:3x80=240;6x70=420;plus6excludedx40=660total."
}