Skip to content

Commit

Permalink
Update section settings
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenekasimov committed Oct 17, 2023
1 parent c6ed860 commit 49e01e6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 12 deletions.
14 changes: 14 additions & 0 deletions locales/en.default.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2742,6 +2742,20 @@
"name": "Quick order list"
}
},
"quick-order-form": {
"name": "Quick order form",
"settings": {
"show_variant_image": {
"label": "Show variant images"
},
"show_sku": {
"label": "Show SKUs"
}
},
"presets": {
"name": "Quick order list"
}
},
"related-products": {
"name": "Related products",
"settings": {
Expand Down
24 changes: 12 additions & 12 deletions sections/quick-order-form.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -194,35 +194,35 @@

{% schema %}
{
"name": "Quick Order form",
"name": "t:sections.quick-order-form.name",
"settings": [
{
"type": "collection",
"id": "collection",
"label": "Select collection"
},
{
"type": "header",
"content": "t:sections.all.padding.section_padding_heading"
},
{
"type": "checkbox",
"id": "show_image",
"default": false,
"label": "t:sections.quick-order-list.settings.show_image.label"
"label": "t:sections.quick-order-form.settings.show_variant_image.label"
},
{
"type": "checkbox",
"id": "show_sku",
"default": false,
"label": "t:sections.quick-order-list.settings.show_sku.label"
"label": "t:sections.quick-order-form.settings.show_sku.label"
},
{
"type": "collection",
"id": "collection",
"label": "Select collection"
},
{
"type": "color_scheme",
"id": "color_scheme",
"label": "t:sections.all.colors.label",
"default": "background-1"
},
{
"type": "header",
"content": "t:sections.all.padding.section_padding_heading"
},
{
"type": "range",
"id": "padding_top",
Expand Down

0 comments on commit 49e01e6

Please sign in to comment.