Skip to content

Commit

Permalink
Update from Shopify for theme dawn/main
Browse files Browse the repository at this point in the history
Committed from shop: Unico & Multiplo
  • Loading branch information
shopify[bot] authored Aug 30, 2024
1 parent 2a12708 commit 798d18b
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions sections/main-product.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,16 @@
{%- case block.type -%}
{%- when '@app' -%}
{% render block %}
{%- when 'qty_disclaimer' -%}
<div id="qty-disclaimer-{{ section.id }}" {{ block.shopify_attributes }}>
{% if product.selected_or_first_available_variant.inventory_quantity <= 0 %}
{% if product.metafields.custom.banner-spedizione-in-gg != blank %}

Check notice on line 95 in sections/main-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/main-product.liquid#L95

[SpaceInsideBraces] Too many spaces after '{%'
<p>Spedito in {{ product.metafields.custom.banner-spedizione-in-gg }} giorni</p>
{% endif %}
{% endif %}
</div>
{%- when 'variant_sku' -%}
<div id="sku-{{ section.id }}" {{ block.shopify_attributes }} style="margin-top: -15px;">
<div id="sku-{{ section.id }}" {{ block.shopify_attributes }}>
{% if product.selected_or_first_available_variant.sku != blank %}
<p id="product-sku">{{ product.selected_or_first_available_variant.sku }} </p>
{% endif %}
Expand Down Expand Up @@ -739,10 +747,16 @@
{
"type": "@app"
},
// Custom quantity disclaimer block.
{
"type": "qty_disclaimer",
"name": "Quantity disclaimer",
"limit": 1
},
// Custom Variant SKU block.
{
"type": "variant_sku",
"name": "⚡️ Variant SKU",
"name": "Variant SKU",
"limit": 1
},
{
Expand Down

0 comments on commit 798d18b

Please sign in to comment.