Skip to content

Instantly share code, notes, and snippets.

@odessy
Last active December 5, 2024 17:04
Show Gist options
  • Save odessy/01b90721c726a0700145cd05c79ba708 to your computer and use it in GitHub Desktop.
Save odessy/01b90721c726a0700145cd05c79ba708 to your computer and use it in GitHub Desktop.
Cart taxes_included
{% if cart.taxes_included %}
<p class="product__block__price" style="--PB: 18px;">{{ 'cart.general.shipping_at_checkout' | t }}</p>
{% endif %}
{% if cart.taxes_included %}{{ 'cart.general.shipping_at_checkout' | t }}{% endif %}
{% if cart.taxes_included %}
<p class="product__block__price" style="--PB: 18px;">Shipping & taxes calculated at checkout</p>
{% else %}
<p class="product__block__price" style="--PB: 18px;">Taxes excluded</p>
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment