Skip to content

Commit

Permalink
Hides BIS for preview products
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-scheele committed Oct 30, 2024
1 parent 22e0ef8 commit 95daec4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sections/main-product.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,9 @@
{%- when 'icon-with-text' -%}
{% render 'icon-with-text', block: block %}
{%- when 'bis_form' -%}
{% render 'klaviyo-bis-form' %}
{% unless product.tags contains 'Badge-Coming Soon' %}
{% render 'klaviyo-bis-form' %}
{% comment %} {% endunless %} {% endcomment %}
{%- endcase -%}

Check failure on line 699 in sections/main-product.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

sections/main-product.liquid#L696-L699

[LiquidHTMLSyntaxError] Attempting to close LiquidTag 'case' before LiquidTag 'unless' was closed
{%- endfor -%}
<a href="{{ product.url }}" class="link product__view-details animate-arrow">
Expand Down

0 comments on commit 95daec4

Please sign in to comment.