Hey @pranto_90
Follow these Steps:
- Go to Online Store
- Edit Code
- Find theme.liquid file
- Add the following code in the bottom of the file above tag.
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi @pranto_90
This is Lucas from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.css
Step 3: Paste the below code at bottom of the file → Save
.mini_cart_wrap label {
display: none !important;
}
Hope that my solution works for you.
Best regards,
Lucas | PageFly
Sorry but this is not working. Shows the line is removed but when I clicked
on checkout it shows ‘you must agree with the terms and conditions of sales
to check out’.
Help me please.
Hey @pranto_90
I apologize for the confusion. It seems that removing the checkbox code alone may not be sufficient to bypass the terms and conditions agreement requirement. To completely remove the requirement from the checkout process in Shopify, you’ll need to modify the theme code further. Here’s an alternative method you can try:
- Access the theme code editor: Follow the steps mentioned earlier to access the theme code editor for the Kalles theme in your Shopify admin.
- Locate the cart form template: Look for the template file that controls the cart form. The filename may vary, but it’s typically something like cart-template.liquid, cart.liquid, or similar.
- Find the cart form code: Within the cart form template, search for the code that starts with {% form ‘cart’ %} or similar. This code represents the beginning of the cart form.
- Remove the terms and conditions code block: Look for a code block within the cart form that includes the terms and conditions checkbox. It may resemble the following:
{% if settings.cart_agree_terms %}
{% endif %}
Remove this entire code block to eliminate the terms and conditions checkbox requirement.
- Save the changes: Once you have removed the code block, click on the “Save” button to save the modified theme.
- Test the checkout process: Proceed to the checkout process on your live website to confirm that the terms and conditions agreement requirement is no longer enforced.
If after following these steps you are still encountering issues or the terms and conditions requirement remains, it’s possible that the requirement is being enforced by another section of the theme or a third-party app. In that case, you may need to reach out to the theme developer or Shopify support for further assistance in disabling the terms and conditions agreement requirement.
Please keep in mind that modifying the theme code can have potential implications, and it’s always recommended to create a backup or work with a professional Shopify developer to ensure the desired changes are implemented correctly.
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Access the theme code editor
then go to main-cart.liquid and delete this code from here to this end ()
{%- when ‘tax’ -%}
{%- capture taxes_shipping_checkout -%}{%- assign page_url = settings.link_ship -%}
{%- if se_stts.show_discount -%}
{%- if cart.taxes_included and page_url != blank -%}
{{ ‘cart.general.taxes_included_discounts_and_shipping_policy_html’ | t: link: page_url }}
{%- elsif cart.taxes_included -%}
{{ ‘cart.general.taxes_included_discounts_but_shipping_at_checkout’ | t }}
{%- elsif page_url != blank -%}
{{ ‘cart.general.taxes_discounts_and_shipping_policy_at_checkout_html’ | t: link: page_url }}
{%- else -%}
{{ ‘cart.general.taxes_discounts_and_shipping_at_checkout’ | t }}
{%- endif -%}
{%- else -%}
{%- if cart.taxes_included and page_url != blank -%}
{{ ‘cart.general.taxes_included_and_shipping_policy_html’ | t: link: page_url }}
{%- elsif cart.taxes_included -%}
{{ ‘cart.general.taxes_included_but_shipping_at_checkout’ | t }}
{%- elsif page_url != blank -%}
{{ ‘cart.general.taxes_and_shipping_policy_at_checkout_html’ | t: link: page_url }}
{%- else -%}
{{ ‘cart.general.taxes_and_shipping_at_checkout’ | t }}
{%- endif -%}
{%- endif -%}
{%- endcapture -%}
{{ taxes_shipping_checkout }}
{%- when ‘agree’ -%}
{%- capture terms_and_conditions -%}{%- assign page_url = settings.link_conditions -%}
{%- if page_url != blank -%}
{{ ‘cart.general.terms_and_conditions_html’ | t: link: page_url }}
{%- else -%}
{{ ‘cart.general.terms_and_conditions’ | t }}
{%- endif -%}
{%- endcapture -%}
{{ terms_and_conditions }}
Hi @Moeed ,
I am using Retina theme, does the steps still the same? Thanks in advance.
Here you go:


