From 4351978c1068eccd098090f884fff8a37e07830e Mon Sep 17 00:00:00 2001 From: John Mizerek Date: Mon, 2 Mar 2026 19:45:28 -0800 Subject: [PATCH] Fix Toast menu import for new URL format and prices array - Add item.prices array support to first code path (was only checking item.price scalar, but Toast now uses prices: [4.50] array) - Extract individual address fields (addressLine1, city, state, zip) from ROOT_QUERY restaurant data for saveWizard compatibility - Update modifier extraction URL detection to match any toasttab.com domain (not just order.toasttab.com) - Update slug-based URL construction to use www.toasttab.com/local/order/ format instead of deprecated order.toasttab.com/online/ format Co-Authored-By: Claude Opus 4.6 --- api/setup/analyzeMenuUrl.cfm | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) diff --git a/api/setup/analyzeMenuUrl.cfm b/api/setup/analyzeMenuUrl.cfm index 6336968..1511a93 100644 --- a/api/setup/analyzeMenuUrl.cfm +++ b/api/setup/analyzeMenuUrl.cfm @@ -397,7 +397,9 @@ - + + + @@ -450,7 +452,9 @@ - + + + @@ -1052,11 +1056,24 @@ - + + - - - + + + + + + + + + + + + + + + @@ -1307,7 +1324,7 @@ - + @@ -1316,14 +1333,14 @@ - + - +