Skip to content

Commit

Permalink
Featured product cont'd
Browse files Browse the repository at this point in the history
  • Loading branch information
katycobb committed Dec 19, 2024
1 parent e76cbf7 commit 274b345
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 45 deletions.
69 changes: 36 additions & 33 deletions locales/en.default.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@
"name": "Product rating",
"settings": {
"paragraph": {
"content": "To display a rating, add a product rating app. [Learn more](https://help.shopify.com/manual/online-store/themes/theme-structure/theme-features#featured-product-rating)"
"content": "An app is required for product ratings. [Learn more](https://help.shopify.com/manual/online-store/themes/theme-structure/theme-features#featured-product-rating)"
}
}
}
Expand Down Expand Up @@ -1858,7 +1858,7 @@
},
"show_rating": {
"label": "Show product rating",
"info": "To display a rating, add a product rating app. [Learn more](https://help.shopify.com/manual/online-store/themes/theme-structure/page-types#product-grid-section-settings)"
"info": "An app is required for product ratings. [Learn more](https://help.shopify.com/manual/online-store/themes/theme-structure/page-types#product-grid-section-settings)"
},
"header__1": {
"content": "Filtering and sorting"
Expand Down Expand Up @@ -1987,7 +1987,7 @@
"default": "Text block"
},
"text_style": {
"label": "Text style",
"label": "Style",
"options__1": {
"label": "Body"
},
Expand Down Expand Up @@ -2022,11 +2022,10 @@
}
},
"inventory_threshold": {
"label": "Low inventory threshold",
"info": "Choose 0 to always show in stock if available."
"label": "Low inventory threshold"
},
"show_inventory_quantity": {
"label": "Show inventory count"
"label": "Inventory count"
}
}
},
Expand Down Expand Up @@ -2064,8 +2063,8 @@
"name": "Buy buttons",
"settings": {
"show_dynamic_checkout": {
"label": "Show dynamic checkout buttons",
"info": "Using the payment methods available on your store, customers see their preferred option, like PayPal or Apple Pay. [Learn more](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)"
"label": "Dynamic checkout buttons",
"info": "Customers will see their preferred payment option. [Learn more](https://help.shopify.com/manual/using-themes/change-the-layout/dynamic-checkout)"
},
"show_gift_card_recipient": {
"label": "Recipient info form for gift cards",
Expand Down Expand Up @@ -2109,7 +2108,6 @@
"name": "Collapsible row",
"settings": {
"heading": {
"info": "Include a heading that explains the content.",
"label": "Heading",
"default": "Collapsible row"
},
Expand Down Expand Up @@ -2272,31 +2270,31 @@
"name": "Product rating",
"settings": {
"paragraph": {
"content": "To display a rating, add a product rating app. [Learn more](https://help.shopify.com/manual/online-store/themes/theme-structure/page-types#product-rating-block)"
"content": "An app is required for product ratings. [Learn more](https://help.shopify.com/manual/online-store/themes/theme-structure/page-types#product-rating-block)"
}
}
},
"complementary_products": {
"name": "Complementary products",
"settings": {
"paragraph": {
"content": "To select complementary products, add the Search & Discovery app. [Learn more](https://help.shopify.com/manual/online-store/search-and-discovery/product-recommendations)"
"content": "Manage complementary products in the [Search & Discovery app](https://help.shopify.com/manual/online-store/search-and-discovery/product-recommendations)"
},
"heading": {
"label": "Heading",
"default": "Pairs well with"
},
"make_collapsible_row": {
"label": "Show as collapsible row"
"label": "Collapsible row"
},
"icon": {
"info": "Visible when collapsible row is displayed."
"info": "Shown when collapsible row is selected"
},
"product_list_limit": {
"label": "Maximum products to show"
"label": "Products"
},
"products_per_page": {
"label": "Number of products per page"
"label": "Products per page"
},
"pagination_style": {
"label": "Pagination style",
Expand All @@ -2317,7 +2315,7 @@
}
},
"enable_quick_add": {
"label": "Enable quick add button"
"label": "Quick add"
}
}
},
Expand All @@ -2333,41 +2331,47 @@
"label": "Vertical"
}
},
"content": {
"label": "Content",
"info": "Choose an icon or add an image for each column or row."
"pairing_1": {
"label": "Pairing 1",
"info": "Choose an icon or add an image for each pairing"
},
"heading": {
"info": "Leave the heading label blank to hide the icon column."
"info": "Leave blank to hide this pairing"
},
"icon_1": {
"label": "First icon"
"label": "Icon"
},
"image_1": {
"label": "First image"
"label": "Image"
},
"heading_1": {
"label": "First heading",
"label": "Heading",
"default": "Heading"
},
"pairing_2": {
"label": "Pairing 2"
},
"icon_2": {
"label": "Second icon"
"label": "Icon"
},
"image_2": {
"label": "Second image"
"label": "Image"
},
"heading_2": {
"label": "Second heading",
"label": "Heading",
"default": "Heading"
},
"pairing_3": {
"label": "Pairing 3"
},
"icon_3": {
"label": "Third icon"
"label": "Icon"
},
"image_3": {
"label": "Third image"
"label": "Image"
},
"heading_3": {
"label": "Third heading",
"label": "Heading",
"default": "Heading"
}
}
Expand Down Expand Up @@ -2491,8 +2495,8 @@
"label": "Show vendor"
},
"show_rating": {
"label": "Show product rating",
"info": "To display a rating, add a product rating app. [Learn more](https://help.shopify.com/manual/online-store/themes/theme-structure/page-types#search-results-section-settings)"
"label": "Product rating",
"info": "An app is required for product ratings. [Learn more](https://help.shopify.com/manual/online-store/themes/theme-structure/page-types#search-results-section-settings)"
},
"header__1": {
"content": "Product card"
Expand Down Expand Up @@ -2863,7 +2867,7 @@
},
"show_rating": {
"label": "Show product rating",
"info": "To display a rating, add a product rating app. [Learn more](https://help.shopify.com/manual/online-store/themes/theme-structure/page-types#product-recommendations-section-settings)"
"info": "An app is required for product ratings. [Learn more](https://help.shopify.com/manual/online-store/themes/theme-structure/page-types#product-recommendations-section-settings)"
},
"header_mobile": {
"content": "Mobile Layout"
Expand Down Expand Up @@ -3281,7 +3285,6 @@
"settings": {
"heading": {
"default": "Collapsible row",
"info": "Include a heading that explains the content.",
"label": "Heading"
},
"row_content": {
Expand Down
22 changes: 10 additions & 12 deletions sections/main-product.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,6 @@
"min": 0,
"max": 100,
"step": 1,
"info": "t:sections.main-product.blocks.inventory.settings.inventory_threshold.info",
"default": 10
},
{
Expand Down Expand Up @@ -930,14 +929,6 @@
"id": "share_label",
"label": "t:sections.main-product.blocks.share.settings.text.label",
"default": "t:sections.main-product.blocks.share.settings.text.default"
},
{
"type": "paragraph",
"content": "t:sections.main-product.blocks.share.settings.featured_image_info.content"
},
{
"type": "paragraph",
"content": "t:sections.main-product.blocks.share.settings.title_info.content"
}
]
},
Expand All @@ -961,7 +952,6 @@
"type": "text",
"id": "heading",
"default": "t:sections.main-product.blocks.collapsible_tab.settings.heading.default",
"info": "t:sections.main-product.blocks.collapsible_tab.settings.heading.info",
"label": "t:sections.main-product.blocks.collapsible_tab.settings.heading.label"
},
{
Expand Down Expand Up @@ -1482,8 +1472,8 @@
},
{
"type": "header",
"content": "t:sections.main-product.blocks.icon_with_text.settings.content.label",
"info": "t:sections.main-product.blocks.icon_with_text.settings.content.info"
"content": "t:sections.main-product.blocks.icon_with_text.settings.pairing_1.label",
"info": "t:sections.main-product.blocks.icon_with_text.settings.pairing_1.info"
},
{
"type": "select",
Expand Down Expand Up @@ -1681,6 +1671,10 @@
"label": "t:sections.main-product.blocks.icon_with_text.settings.heading_1.label",
"info": "t:sections.main-product.blocks.icon_with_text.settings.heading.info"
},
{
"type": "header",
"content": "t:sections.main-product.blocks.icon_with_text.settings.pairing_2.label"
},
{
"type": "select",
"id": "icon_2",
Expand Down Expand Up @@ -1877,6 +1871,10 @@
"label": "t:sections.main-product.blocks.icon_with_text.settings.heading_2.label",
"info": "t:sections.main-product.blocks.icon_with_text.settings.heading.info"
},
{
"type": "header",
"content": "t:sections.main-product.blocks.icon_with_text.settings.pairing_3.label"
},
{
"type": "select",
"id": "icon_3",
Expand Down

0 comments on commit 274b345

Please sign in to comment.