|
[ |
|
{ |
|
"key": "group_product_accordions", |
|
"title": "Product Accordions", |
|
"fields": [ |
|
{ |
|
"key": "field_accordion_instructions", |
|
"label": "Instructions", |
|
"name": "", |
|
"aria-label": "", |
|
"type": "message", |
|
"instructions": "", |
|
"required": 0, |
|
"conditional_logic": false, |
|
"wrapper": { |
|
"width": "", |
|
"class": "", |
|
"id": "" |
|
}, |
|
"message": "<strong>💡 Use these fields to create up to five accordion panels for your product page.</strong><br><br>Enable an accordion to reveal its title and content fields. These can be displayed in Elementor using ACF dynamic tags in the Accordion widget.", |
|
"new_lines": "", |
|
"esc_html": 0 |
|
}, |
|
{ |
|
"key": "field_enable_accordion_1", |
|
"label": "Enable Accordion 1", |
|
"name": "enable_accordion_1", |
|
"aria-label": "", |
|
"type": "true_false", |
|
"instructions": "", |
|
"required": false, |
|
"conditional_logic": false, |
|
"wrapper": { |
|
"width": "", |
|
"class": "", |
|
"id": "" |
|
}, |
|
"ui": 1, |
|
"message": "Show Accordion 1 fields", |
|
"default_value": 0, |
|
"ui_on_text": "", |
|
"ui_off_text": "" |
|
}, |
|
{ |
|
"key": "field_accordion_1_title", |
|
"label": "Accordion 1 Title", |
|
"name": "accordion_1_title", |
|
"aria-label": "", |
|
"type": "text", |
|
"instructions": "Enter a title for Accordion 1", |
|
"required": false, |
|
"conditional_logic": [ |
|
[ |
|
{ |
|
"field": "field_enable_accordion_1", |
|
"operator": "==", |
|
"value": "1" |
|
} |
|
] |
|
], |
|
"wrapper": { |
|
"width": "", |
|
"class": "", |
|
"id": "" |
|
}, |
|
"default_value": "", |
|
"maxlength": "", |
|
"placeholder": "", |
|
"prepend": "", |
|
"append": "" |
|
}, |
|
{ |
|
"key": "field_accordion_1_content", |
|
"label": "Accordion 1 Content", |
|
"name": "accordion_1_content", |
|
"aria-label": "", |
|
"type": "wysiwyg", |
|
"instructions": "Enter content for Accordion 1", |
|
"required": false, |
|
"conditional_logic": [ |
|
[ |
|
{ |
|
"field": "field_enable_accordion_1", |
|
"operator": "==", |
|
"value": "1" |
|
} |
|
] |
|
], |
|
"wrapper": { |
|
"width": "", |
|
"class": "", |
|
"id": "" |
|
}, |
|
"tabs": "all", |
|
"toolbar": "full", |
|
"media_upload": 1, |
|
"default_value": "", |
|
"delay": 0 |
|
}, |
|
{ |
|
"key": "field_enable_accordion_2", |
|
"label": "Enable Accordion 2", |
|
"name": "enable_accordion_2", |
|
"aria-label": "", |
|
"type": "true_false", |
|
"instructions": "", |
|
"required": false, |
|
"conditional_logic": false, |
|
"wrapper": { |
|
"width": "", |
|
"class": "", |
|
"id": "" |
|
}, |
|
"ui": 1, |
|
"message": "Show Accordion 2 fields", |
|
"default_value": 0, |
|
"ui_on_text": "", |
|
"ui_off_text": "" |
|
}, |
|
{ |
|
"key": "field_accordion_2_title", |
|
"label": "Accordion 2 Title", |
|
"name": "accordion_2_title", |
|
"aria-label": "", |
|
"type": "text", |
|
"instructions": "Enter a title for Accordion 2", |
|
"required": false, |
|
"conditional_logic": [ |
|
[ |
|
{ |
|
"field": "field_enable_accordion_2", |
|
"operator": "==", |
|
"value": "1" |
|
} |
|
] |
|
], |
|
"wrapper": { |
|
"width": "", |
|
"class": "", |
|
"id": "" |
|
}, |
|
"default_value": "", |
|
"maxlength": "", |
|
"placeholder": "", |
|
"prepend": "", |
|
"append": "" |
|
}, |
|
{ |
|
"key": "field_accordion_2_content", |
|
"label": "Accordion 2 Content", |
|
"name": "accordion_2_content", |
|
"aria-label": "", |
|
"type": "wysiwyg", |
|
"instructions": "Enter content for Accordion 2", |
|
"required": false, |
|
"conditional_logic": [ |
|
[ |
|
{ |
|
"field": "field_enable_accordion_2", |
|
"operator": "==", |
|
"value": "1" |
|
} |
|
] |
|
], |
|
"wrapper": { |
|
"width": "", |
|
"class": "", |
|
"id": "" |
|
}, |
|
"tabs": "all", |
|
"toolbar": "full", |
|
"media_upload": 1, |
|
"default_value": "", |
|
"delay": 0 |
|
}, |
|
{ |
|
"key": "field_enable_accordion_3", |
|
"label": "Enable Accordion 3", |
|
"name": "enable_accordion_3", |
|
"aria-label": "", |
|
"type": "true_false", |
|
"instructions": "", |
|
"required": false, |
|
"conditional_logic": false, |
|
"wrapper": { |
|
"width": "", |
|
"class": "", |
|
"id": "" |
|
}, |
|
"ui": 1, |
|
"message": "Show Accordion 3 fields", |
|
"default_value": 0, |
|
"ui_on_text": "", |
|
"ui_off_text": "" |
|
}, |
|
{ |
|
"key": "field_accordion_3_title", |
|
"label": "Accordion 3 Title", |
|
"name": "accordion_3_title", |
|
"aria-label": "", |
|
"type": "text", |
|
"instructions": "Enter a title for Accordion 3", |
|
"required": false, |
|
"conditional_logic": [ |
|
[ |
|
{ |
|
"field": "field_enable_accordion_3", |
|
"operator": "==", |
|
"value": "1" |
|
} |
|
] |
|
], |
|
"wrapper": { |
|
"width": "", |
|
"class": "", |
|
"id": "" |
|
}, |
|
"default_value": "", |
|
"maxlength": "", |
|
"placeholder": "", |
|
"prepend": "", |
|
"append": "" |
|
}, |
|
{ |
|
"key": "field_accordion_3_content", |
|
"label": "Accordion 3 Content", |
|
"name": "accordion_3_content", |
|
"aria-label": "", |
|
"type": "wysiwyg", |
|
"instructions": "Enter content for Accordion 3", |
|
"required": false, |
|
"conditional_logic": [ |
|
[ |
|
{ |
|
"field": "field_enable_accordion_3", |
|
"operator": "==", |
|
"value": "1" |
|
} |
|
] |
|
], |
|
"wrapper": { |
|
"width": "", |
|
"class": "", |
|
"id": "" |
|
}, |
|
"tabs": "all", |
|
"toolbar": "full", |
|
"media_upload": 1, |
|
"default_value": "", |
|
"delay": 0 |
|
}, |
|
{ |
|
"key": "field_enable_accordion_4", |
|
"label": "Enable Accordion 4", |
|
"name": "enable_accordion_4", |
|
"aria-label": "", |
|
"type": "true_false", |
|
"instructions": "", |
|
"required": false, |
|
"conditional_logic": false, |
|
"wrapper": { |
|
"width": "", |
|
"class": "", |
|
"id": "" |
|
}, |
|
"ui": 1, |
|
"message": "Show Accordion 4 fields", |
|
"default_value": 0, |
|
"ui_on_text": "", |
|
"ui_off_text": "" |
|
}, |
|
{ |
|
"key": "field_accordion_4_title", |
|
"label": "Accordion 4 Title", |
|
"name": "accordion_4_title", |
|
"aria-label": "", |
|
"type": "text", |
|
"instructions": "Enter a title for Accordion 4", |
|
"required": false, |
|
"conditional_logic": [ |
|
[ |
|
{ |
|
"field": "field_enable_accordion_4", |
|
"operator": "==", |
|
"value": "1" |
|
} |
|
] |
|
], |
|
"wrapper": { |
|
"width": "", |
|
"class": "", |
|
"id": "" |
|
}, |
|
"default_value": "", |
|
"maxlength": "", |
|
"placeholder": "", |
|
"prepend": "", |
|
"append": "" |
|
}, |
|
{ |
|
"key": "field_accordion_4_content", |
|
"label": "Accordion 4 Content", |
|
"name": "accordion_4_content", |
|
"aria-label": "", |
|
"type": "wysiwyg", |
|
"instructions": "Enter content for Accordion 4", |
|
"required": false, |
|
"conditional_logic": [ |
|
[ |
|
{ |
|
"field": "field_enable_accordion_4", |
|
"operator": "==", |
|
"value": "1" |
|
} |
|
] |
|
], |
|
"wrapper": { |
|
"width": "", |
|
"class": "", |
|
"id": "" |
|
}, |
|
"tabs": "all", |
|
"toolbar": "full", |
|
"media_upload": 1, |
|
"default_value": "", |
|
"delay": 0 |
|
}, |
|
{ |
|
"key": "field_enable_accordion_5", |
|
"label": "Enable Accordion 5", |
|
"name": "enable_accordion_5", |
|
"aria-label": "", |
|
"type": "true_false", |
|
"instructions": "", |
|
"required": false, |
|
"conditional_logic": false, |
|
"wrapper": { |
|
"width": "", |
|
"class": "", |
|
"id": "" |
|
}, |
|
"ui": 1, |
|
"message": "Show Accordion 5 fields", |
|
"default_value": 0, |
|
"ui_on_text": "", |
|
"ui_off_text": "" |
|
}, |
|
{ |
|
"key": "field_accordion_5_title", |
|
"label": "Accordion 5 Title", |
|
"name": "accordion_5_title", |
|
"aria-label": "", |
|
"type": "text", |
|
"instructions": "Enter a title for Accordion 5", |
|
"required": false, |
|
"conditional_logic": [ |
|
[ |
|
{ |
|
"field": "field_enable_accordion_5", |
|
"operator": "==", |
|
"value": "1" |
|
} |
|
] |
|
], |
|
"wrapper": { |
|
"width": "", |
|
"class": "", |
|
"id": "" |
|
}, |
|
"default_value": "", |
|
"maxlength": "", |
|
"placeholder": "", |
|
"prepend": "", |
|
"append": "" |
|
}, |
|
{ |
|
"key": "field_accordion_5_content", |
|
"label": "Accordion 5 Content", |
|
"name": "accordion_5_content", |
|
"aria-label": "", |
|
"type": "wysiwyg", |
|
"instructions": "Enter content for Accordion 5", |
|
"required": false, |
|
"conditional_logic": [ |
|
[ |
|
{ |
|
"field": "field_enable_accordion_5", |
|
"operator": "==", |
|
"value": "1" |
|
} |
|
] |
|
], |
|
"wrapper": { |
|
"width": "", |
|
"class": "", |
|
"id": "" |
|
}, |
|
"tabs": "all", |
|
"toolbar": "full", |
|
"media_upload": 1, |
|
"default_value": "", |
|
"delay": 0 |
|
}, |
|
{ |
|
"key": "field_69035114615d3", |
|
"label": "Product Video", |
|
"name": "product_video", |
|
"aria-label": "", |
|
"type": "url", |
|
"instructions": "", |
|
"required": 0, |
|
"conditional_logic": 0, |
|
"wrapper": { |
|
"width": "", |
|
"class": "", |
|
"id": "" |
|
}, |
|
"default_value": "", |
|
"allow_in_bindings": 0, |
|
"placeholder": "" |
|
} |
|
], |
|
"location": [ |
|
[ |
|
{ |
|
"param": "post_type", |
|
"operator": "==", |
|
"value": "product" |
|
} |
|
] |
|
], |
|
"menu_order": 0, |
|
"position": "normal", |
|
"style": "default", |
|
"label_placement": "left", |
|
"instruction_placement": "label", |
|
"hide_on_screen": "", |
|
"active": true, |
|
"description": "Create and manage up to five accordions for WooCommerce products using toggles to enable each section.", |
|
"show_in_rest": 0, |
|
"display_title": "" |
|
} |
|
] |