Skip to content

Commit ef87109

Browse files
committed
fix: remove blank default values from press section schemas
Shopify rejects sections with empty string defaults on textarea/text settings. Remove default="" from intro_text (hero) and source (quotes) so the sections save without schema errors. https://claude.ai/code/session_01YYptL6XzKziDt7xGKhz4Tn
1 parent 3ec5bb0 commit ef87109

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

sections/gk-press-hero.liquid

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,6 @@
263263
"type": "textarea",
264264
"id": "intro_text",
265265
"label": "Intro Paragraph (optional)",
266-
"default": "",
267266
"info": "Optional second line of supporting copy beneath the subheading."
268267
},
269268
{

sections/gk-press-quotes.liquid

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,6 @@
281281
"type": "text",
282282
"id": "source",
283283
"label": "Source Label (optional)",
284-
"default": "",
285284
"info": "Optional secondary line below attribution — e.g. an article title or date."
286285
},
287286
{
@@ -303,7 +302,6 @@
303302
"settings": {
304303
"quote": "The best guitarist working today.",
305304
"attribution": "Palm Beach Arts Paper",
306-
"source": "",
307305
"emphasis": true
308306
}
309307
},
@@ -312,7 +310,6 @@
312310
"settings": {
313311
"quote": "A master of tone, groove, and musical personality.",
314312
"attribution": "Vintage Guitar Magazine",
315-
"source": "",
316313
"emphasis": false
317314
}
318315
},
@@ -321,7 +318,6 @@
321318
"settings": {
322319
"quote": "Add Joe Bonamassa quote here — enter the approved wording in the theme editor.",
323320
"attribution": "Joe Bonamassa",
324-
"source": "",
325321
"emphasis": false
326322
}
327323
}

0 commit comments

Comments
 (0)