We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0436988 commit 75a5ccbCopy full SHA for 75a5ccb
src/pages/store/products/[handle].tsx
@@ -263,7 +263,14 @@ const ProductDetailPage: React.FC<ProductDetailPageProps> = ({ product }) => {
263
)}
264
265
{/* Options (Size, Color, etc.) */}
266
- {product.options.map((option) => (
+ {product.options
267
+ .filter((option) => {
268
+ // Only show options with multiple values
269
+ // Hide default Shopify "Title" option with "Default Title" value
270
+ return option.values.length > 1 &&
271
+ !(option.name === 'Title' && option.values.includes('Default Title'));
272
+ })
273
+ .map((option) => (
274
<div key={option.id} className="tw-mb-6">
275
<label className="tw-block tw-font-semibold tw-text-secondary tw-mb-3">
276
{option.name}
0 commit comments