CStores

{% schema %} { "name": "Featured promotions", "class": "featured-promotions-section", "max_blocks": 4, "settings": [ { "type": "range", "id": "featured_promos_per_row", "label": "Promotions per row", "min": 2, "max": 4, "step": 1, "default": 3 }, { "type": "select", "id": "featured_links_style", "label": "Animation", "options": [ { "value": "", "label": "None" }, { "value": "animate_in", "label": "Fade In" }, { "value": "animate_up", "label": "Fade Up" }, { "value": "animate_down", "label": "Fade Down" } ], "default": "animate_down" }, { "type": "checkbox", "id": "rounded_image", "label": "Rounded images", "default": true }, { "type": "checkbox", "id": "show_divider", "default": true, "label": "Show divider" } ], "blocks": [ { "type": "image", "name": "Promotion", "settings": [ { "type": "image_picker", "id": "image", "label": "Image", "info": "840px wide recommended" }, { "type": "url", "id": "link", "label": "Link" }, { "type": "text", "id": "title", "label": "Header", "default": "Promotion" }, { "type": "richtext", "id": "text", "label": "Text", "default": "

This is a featured promotion block, add some text here to talk about your promotion.

" } ] } ], "presets": [{ "name": "Featured promotions", "category": "Image", "settings": { }, "blocks": [ { "type": "image", "settings": { "image": "", "link": "", "title": "Promotion", "text": "

This is a featured promotion block, add some text here to talk about your promotion.

" } }, { "type": "image", "settings": { "image": "", "link": "", "title": "Promotion", "text": "

This is a featured promotion block, add some text here to talk about your promotion.

" } }, { "type": "image", "settings": { "image": "", "link": "", "title": "Promotion", "text": "

This is a featured promotion block, add some text here to talk about your promotion.

" } } ] }] } {% endschema %}