diff --git a/api/menu/items.cfm b/api/menu/items.cfm index b10aea6..f035544 100644 --- a/api/menu/items.cfm +++ b/api/menu/items.cfm @@ -203,7 +203,7 @@ LEFT JOIN Stations s ON s.ID = i.StationID WHERE i.BusinessID = :bizId AND i.IsActive = 1 - AND i.CategoryID IN (#visibleCategoryIds#) + AND (i.CategoryID IN (#visibleCategoryIds#) OR (i.CategoryID = 0 AND i.ParentItemID > 0)) AND NOT EXISTS (SELECT 1 FROM lt_ItemID_TemplateItemID tl WHERE tl.TemplateItemID = i.ID) AND NOT EXISTS (SELECT 1 FROM lt_ItemID_TemplateItemID tl2 WHERE tl2.TemplateItemID = i.ParentItemID) AND NOT (i.ParentItemID = 0 AND i.CategoryID = 0 AND i.Price = 0) @@ -529,13 +529,14 @@ - + + @@ -546,6 +547,9 @@ + + + @@ -564,6 +568,7 @@ "BRANDCOLOR": brandColor, "HEADERIMAGEURL": headerImageUrl, "TAXRATE": val(businessTaxRate), + "PAYFRITFEE": val(businessPayfritFee), "Menus": menuList, "SelectedMenuID": requestedMenuID })>