Solved

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

MrP
Excursionist
49 0 8

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:

 

<p class="cart_subtotal js-cart_subtotal">
<span class="right">
<span class="money">
{%
render 'price-element',
price: cart.total_price
%}
</span>
</span>
<span>{{ 'cart.general.subtotal' | t }}</span>
</p>

{%- 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 -%}

<p class="cart-message meta">{{ taxes_shipping_checkout }}</p>

{% if section.settings.display_savings and total_saving > 0 or section.settings.display_savings and cart.total_discount > 0 %}
<p class="cart_savings js-cart_savings sale">
<span class="right">
<span class="money">
{% assign total_savings = total_saving | plus: cart.total_discount %}


can any one help?

Accepted Solution (1)

AvadaCommerce
Shopify Partner
3879 839 955

This is an accepted solution.

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.

AvadaCommerce_0-1653981539067.png

 

Hope this helps.

 

 

banned

View solution in original post

Replies 8 (8)

JHKCreate
Shopify Expert
3571 639 917

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!

Did we solve your issue? Like & Mark As Solution to help the community
Should you need any direct help: contact@jhkcreate.com

Learn more about us: jhkcreate.com
MrP
Excursionist
49 0 8

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

 

chirag_viradiya
Shopify Partner
17 2 4

@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 }}

 

  • Linked-in
  • Github
  • Whatsapp
  • Twitter
MrP
Excursionist
49 0 8

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. 

AvadaCommerce
Shopify Partner
3879 839 955

This is an accepted solution.

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.

AvadaCommerce_0-1653981539067.png

 

Hope this helps.

 

 

banned
MrP
Excursionist
49 0 8

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

AvadaCommerce
Shopify Partner
3879 839 955

Hi @MrP 

 

Glad to hear that.

banned

Technologic
Shopify Partner
8 0 7

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

{{ taxes_shipping_checkout }} is settable there.