From 639d789da1ec98a503b02f35d518e8f188320cda Mon Sep 17 00:00:00 2001 From: John Pinkyfloyd Date: Mon, 9 Mar 2026 10:30:02 -0700 Subject: [PATCH] Add debug info to cart and setLineItem Co-Authored-By: Claude Opus 4.5 --- api/orders/getCart.cfm | 3 ++- api/orders/setLineItem.cfm | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/api/orders/getCart.cfm b/api/orders/getCart.cfm index a93761e..158d0b1 100644 --- a/api/orders/getCart.cfm +++ b/api/orders/getCart.cfm @@ -128,7 +128,8 @@ "ItemParentName": qLI.ItemParentName ?: "", "IsCheckedByDefault": val(qLI.IsCheckedByDefault), "IsInvertedGroup": val(qLI.IsInvertedGroup), - "ParentIsInvertedGroup": val(qLI.ParentIsInvertedGroup) + "ParentIsInvertedGroup": val(qLI.ParentIsInvertedGroup), + "_debug": "Qty=#val(qLI.Quantity)# IsChkDef=#val(qLI.IsCheckedByDefault)# ParentInv=#val(qLI.ParentIsInvertedGroup)#" })> diff --git a/api/orders/setLineItem.cfm b/api/orders/setLineItem.cfm index bbbd54c..23a1dcf 100644 --- a/api/orders/setLineItem.cfm +++ b/api/orders/setLineItem.cfm @@ -433,6 +433,22 @@ { datasource = "payfrit" } )> + + + + + + + + +