From afe0f2a3a8fd4b92b7700382807fb7503fda1502 Mon Sep 17 00:00:00 2001 From: Thomas Roberts <5656702+opr@users.noreply.github.com> Date: Fri, 6 Jan 2023 15:05:01 +0000 Subject: [PATCH] Ensure checkout order summary and totals block cannot be removed (#7873) --- .../inner-blocks/checkout-order-summary-block/block.json | 3 ++- .../checkout/inner-blocks/checkout-totals-block/block.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-block/block.json b/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-block/block.json index 7bc0a7a04e7..508e8e70a1b 100644 --- a/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-block/block.json +++ b/assets/js/blocks/checkout/inner-blocks/checkout-order-summary-block/block.json @@ -9,7 +9,8 @@ "html": false, "multiple": false, "reusable": false, - "inserter": false + "inserter": false, + "lock": false }, "attributes": { "lock": { diff --git a/assets/js/blocks/checkout/inner-blocks/checkout-totals-block/block.json b/assets/js/blocks/checkout/inner-blocks/checkout-totals-block/block.json index 61eaeef919f..ed4795f0ec6 100644 --- a/assets/js/blocks/checkout/inner-blocks/checkout-totals-block/block.json +++ b/assets/js/blocks/checkout/inner-blocks/checkout-totals-block/block.json @@ -9,7 +9,8 @@ "html": false, "multiple": false, "reusable": false, - "inserter": false + "inserter": false, + "lock": false }, "attributes": { "className": {