{% if section.settings.title_status %}
{% endif %}
{% if section.settings.type_ryviu == 'default' %}
{% elsif section.settings.type_ryviu == 'carousel' %}
{% else %}
{% assign product = all_products[section.settings.product] %}
{% endif %}
{% schema %}
{
"name": "Ryviu Section",
"class": "index-section",
"settings": [
{
"type": "text",
"id": "title_heading",
"label": "Title",
"default": "Happy Customer"
},
{
"type": "checkbox",
"id": "title_status",
"label": "Show title",
"default": true
},
{
"type": "select",
"id": "type_ryviu",
"label": "Type reviews",
"default": "default",
"info": "Featured reviews supports Ryviu's paid members only",
"options": [
{
"label": "Masonry Featured Reviews",
"value": "default"
},
{
"label": "Carousel Featured Reviews",
"value": "carousel"
},
{
"label": "Product's Review",
"value": "product"
}
]
},
{
"type": "product",
"id": "product",
"info": "For Product's Review option",
"label": "Select Product"
}
],
"presets": [
{
"name": "Ryviu Section",
"category": "Ryviu App"
}
]
}
{% endschema %}
{% stylesheet %}
{% endstylesheet %}
{% javascript %}
{% endjavascript %}