From c72699da16c341aba23aecd6979f08c18d7155f2 Mon Sep 17 00:00:00 2001 From: chris Date: Thu, 18 Jun 2026 12:01:54 -0400 Subject: [PATCH] Fix bouquet builder detection: use name match instead of tags Tags are never populated from Square, so the tag check never worked. Any item whose name starts with "Build Your" now opens the bouquet picker. Co-Authored-By: Claude Sonnet 4.6 --- estore/src/components/ProductCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/estore/src/components/ProductCard.tsx b/estore/src/components/ProductCard.tsx index 4f0b6a7..92f8637 100644 --- a/estore/src/components/ProductCard.tsx +++ b/estore/src/components/ProductCard.tsx @@ -31,7 +31,7 @@ export default function ProductCard({ item }: Props) { : null const { soldOut, lowStock, lowestAvailable: stock } = stockStats(item) - const isBouquetBuilder = item.tags.includes('bouquet-builder') + const isBouquetBuilder = item.name.toLowerCase().startsWith('build your') const priceDisplay = item.price ? `From ${fmt(item.price)}` : 'Custom quote'