How to set default values for checkbox options in Honey theme?

Hello, I’m new to Shopify and I’m using the Honey theme. I thought I was facing a simple task, but I had to realize that my programming skills are not sufficient for this.

Specifically, I have several checkbox-type options and wanted to set default values.

I added the code “default_value”: “Zitrone” to the product.name.json file in the template folder, but unfortunately, it didn’t work.

Is there perhaps another place where I need to make this change? Could someone please help me out? I am reaching out to the community seeking your expertise and assistance in resolving this matter. Your help would be greatly appreciated.

product_custom_option_gYhePC": {

“type”: “product_custom_option”,
“settings”: {
“type”: “checkbox”,
“option_name”: “Kopfnote”,
“label”: “Kopfnote”,
“required”: false,
“values”: “None, Bergamotte, Zitrone, Grapefruit, Mandarine, Orange, Lavendel, Orangenblüte, Pfirisch, Mango, Lemongras, Minze, Rosmarin, Pffeferminz, Salbei, Wintergrün, Teebaum”,
“default_Value”: “Zitrone”,
“color_swatch_shape”: “square”,
“swatch_size”: 50,
“min_selected_options”: 0,
“max_selected_options”: 3,
“max_date”: “”

}

Best regards,
LittleDay

Hi @LittleDay ,

You can consider using the Easify Product Options app to effortlessly create Checkbox options with the added benefit of setting a Default selected option value. This particular feature is available in the Free version of the app. Hope you can give it a try :hugs: !

Storefront: