Shopify themes, liquid, logos, and UX
Hi everyone!
I am trying to remove "Shipping and discount codes are added at checkout" from my cart. Does anyone have any idea where in the store's code this is located? Any recommendations on whether I should just remove the entire line or change the text?
Thanks!
Hi @Chardia,
I'm not sure why you wish to remove the text or if you just want to remove, go to your Shopify Admin, click "Customize" and then "Edit code". In the Dawn theme, you need to find file called main-cart-footer.liquid
And then find this element with the following class and remove the entire "small" element.
<small class="tax-note caption-large rte">
If you're using another theme, you need to check other cart.liquid files and find out which one is relevant for your theme as well as use the developers tools in your browser to find the element with the text and then find it in the file and remove it.
Hope this helps!
Hi @Niki_K,
Thank you for your response. I was trying to remove the note about the shipping since I don't have any physical product to ship. I am using the debut theme so I did not find the exact code you were referring to. But I did discover that the additional note is tied to the buy button, so I could remove the text using the buy button customization panel before copying the code.
@Chardia Since you using debut if your on standard plan and above contact shopify support and you can use some of your free design time to have such text removed.
Also would be a good time to remind them this text is pointless for digital products and there should be a check for that instead of always rendering.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Hi @Chardia,
in the debut theme, find the following piece of code in the cart-template.liquid file.
<div class="cart__shipping rte">{{ taxes_shipping_checkout }}</div>
You might need to add a margin to the following element (which is the button element).
Hope this helps!
Do you know this same answer for the Soul theme? I found "tax-note" in the main-cart-footer.liquid under this section:
<span class="tax-note rte body-md">
{%- if cart.taxes_included and shop.shipping_policy.body != blank -%}
{{ 'sections.cart.taxes_included_and_shipping_policy_html' | t: link: shop.shipping_policy.url }}
{%- elsif cart.taxes_included -%}
{{ 'sections.cart.taxes_included_but_shipping_at_checkout' | t }}
{%- elsif shop.shipping_policy.body != blank -%}
{{ 'sections.cart.taxes_and_shipping_policy_at_checkout_html' | t: link: shop.shipping_policy.url }}
{%- else -%}
{{ 'sections.cart.taxes_and_shipping_at_checkout' | t }}
{%- endif -%}
</span>
But when I remove this whole block, nothing happens. Soul says "Taxes, Discounts, and shipping calculated at checkout." Shipping links to the shipping policy. The note has a capitalization inconsistency and it's also incorrect because discounts are applied in the cart. I'm not sure why it's like this but I need to fix it.
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024