Use product name as-is for merchant feed title

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-17 00:56:07 +00:00
parent 69f09a257c
commit 67caf9ad3b
+1 -2
View File
@@ -34,8 +34,7 @@ foreach ($products as $p) {
$grindNote = $p['category'] === 'Bean'
? 'Available as whole bean so you can grind fresh for maximum flavor.'
: 'Pre-ground to a versatile medium grind, ready to brew right out of the bag.';
$nameSuffix = stripos($p['name'], 'coffee') !== false ? '' : ' ' . $categoryLabel . ' Coffee';
$title = htmlspecialchars($p['name'] . $nameSuffix);
$title = htmlspecialchars($p['name']);
$rawDesc = $p['description'] ?? '';
if (!empty($rawDesc)) {
$desc = htmlspecialchars(