How can I remove 'tax included' from my Turbo theme cart?

I want to remove the words “tax included” from my cart. I use the Turbo theme by out of the sand box.
I’m a “i’ll give it a go coder” so please excuse me if I’m wrong here.

I have found the code I believe it’s related to in the cart-template.liquid shown in orange below but I don’t know what to delete:

{% render 'price-element', price: cart.total_price %} {{ 'cart.general.subtotal' | t }}

{%- capture taxes_shipping_checkout -%}
{%- if cart.taxes_included and shop.shipping_policy.body != blank -%}
{{ ‘cart.general.taxes_included_and_shipping_policy_html’ | t: link: shop.shipping_policy.url }}
{%- elsif cart.taxes_included -%}
{{ ‘cart.general.taxes_included_but_shipping_at_checkout’ | t }}
{%- elsif shop.shipping_policy.body != blank -%}
{{ ‘cart.general.taxes_and_shipping_policy_at_checkout_html’ | t: link: shop.shipping_policy.url }}
{%- else -%}
{{ ‘cart.general.tax_and_shipping’ | t }}
{%- endif -%}
{%- endcapture -%}

{{ taxes_shipping_checkout }}

{% if section.settings.display_savings and total_saving > 0 or section.settings.display_savings and cart.total_discount > 0 %}

{% assign total_savings = total_saving | plus: cart.total_discount %}

can any one help?

This is the call to remove:

{%- capture taxes_shipping_checkout -%}
{%- if cart.taxes_included and shop.shipping_policy.body != blank -%}
{{ 'cart.general.taxes_included_and_shipping_policy_html' | t: link: shop.shipping_policy.url }}
{%- elsif cart.taxes_included -%}
{{ 'cart.general.taxes_included_but_shipping_at_checkout' | t }}
{%- elsif shop.shipping_policy.body != blank -%}
{{ 'cart.general.taxes_and_shipping_policy_at_checkout_html' | t: link: shop.shipping_policy.url }}
{%- else -%}
{{ 'cart.general.tax_and_shipping' | t }}
{%- endif -%}
{%- endcapture -%}

Give it a go and let us know!

@MrP
Please remove the below code from the red mark and your goal will be achieve
Need to remove/modify elseif from red color code:

{%- elsif cart.taxes_included -%}
{{ 'cart.general.taxes_included_but_shipping_at_checkout' | t }}

Before:

{%- capture taxes_shipping_checkout -%}
{%- if cart.taxes_included and shop.shipping_policy.body != blank -%}
{{ 'cart.general.taxes_included_and_shipping_policy_html' | t: link: shop.shipping_policy.url }}
{%- elsif cart.taxes_included -%}
{{ 'cart.general.taxes_included_but_shipping_at_checkout' | t }}
{%- elsif shop.shipping_policy.body != blank -%}
{{ 'cart.general.taxes_and_shipping_policy_at_checkout_html' | t: link: shop.shipping_policy.url }}
{%- else -%}
{{ 'cart.general.tax_and_shipping' | t }}

After:

{%- capture taxes_shipping_checkout -%}
{%- if cart.taxes_included and shop.shipping_policy.body != blank -%}
{{ 'cart.general.taxes_included_and_shipping_policy_html' | t: link: shop.shipping_policy.url }}
{%- elsif shop.shipping_policy.body != blank -%}
{{ 'cart.general.taxes_and_shipping_policy_at_checkout_html' | t: link: shop.shipping_policy.url }}
{%- else -%}
{{ 'cart.general.tax_and_shipping' | t }}

thanks. oddly when i remove the whole section it has no effect on the whole line of copy. It stays there

I tried that too but it had no effect. I deleted all the orange text above too and it had no effect on the preview either. hmmm this is puzzling.

Hi @MrP

You could remove this text by editing your theme language. The following steps below may help you achieve what you want so make sure you’ll check it out.

  • From Online Store, navigate to Theme > Actions > Edit Theme Language
  • Enter " Tax included" into the search field and you should find all the field containing this text.
  • In the Taxes included and shipping policy html field, remove " Tax included" and hit Save.

Hope this helps.

Brilliant. I didn’t even think to look there! That worked!

Hi @MrP

Glad to hear that.

Go to theme page, press thee dot menu on the theme, edith default theme content, text display via

{{ taxes_shipping_checkout }} is settable there.