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 <noreply@anthropic.com>
This commit is contained in:
chris 2026-06-18 12:01:54 -04:00
parent 528fb90303
commit c72699da16

View File

@ -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'