Liquid, JavaScript, themes, sales channels
Solved! Go to the solution
This is an accepted solution.
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:
{% if settings.cart_agree_terms %}
<div class="checkbox">
<input type="checkbox" id="cart-terms" name="cart-terms" value="1" required>
<label for="cart-terms">{{ 'cart.general.terms_of_service' | t }}</label>
</div>
{% endif %}
Remove this entire code block to eliminate the terms and conditions checkbox requirement.
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
Hey @pranto_90
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag.
<style>
p.pr.db.mb__5.fs__12 {
display: none;
}
</style>
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
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:
{% if settings.cart_agree_terms %}
<div class="checkbox">
<input type="checkbox" id="cart-terms" name="cart-terms" value="1" required>
<label for="cart-terms">{{ 'cart.general.terms_of_service' | t }}</label>
</div>
{% endif %}
Remove this entire code block to eliminate the terms and conditions checkbox requirement.
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
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
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023