How to remove a "Enter discount code here" section in debutify theme

Solved

How to remove a "Enter discount code here" section in debutify theme

huju
Tourist
6 0 3

I'm facing the problem that in my cart section I got message like: "Enter Discount Code Here". I want to remove it from the cart section. I saw multiple Shopify community posts, but still I'm facing this issue. My store URL is: "ummahcollections.com"

Accepted Solution (1)

theycallmemakka
Shopify Partner
1770 432 453

This is an accepted solution.

Hi @huju ,

 

I have written custom CSS for this solution. Please follow below steps and let me know your feedback.

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code just above tag </body>

<style>
.dbtfy-cart-discount {
    display: none;
}
</style>

theycallmemakka_0-1733379182156.png

 

If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
Makka

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

View solution in original post

Replies 6 (6)

theycallmemakka
Shopify Partner
1770 432 453

This is an accepted solution.

Hi @huju ,

 

I have written custom CSS for this solution. Please follow below steps and let me know your feedback.

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code just above tag </body>

<style>
.dbtfy-cart-discount {
    display: none;
}
</style>

theycallmemakka_0-1733379182156.png

 

If you require further help to optimize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!

 

Best Regards,
Makka

Support Me: Buy me a Coffee


For quick response - Message Me


Ping me at: theycallmemakka@gmail.com

huju
Tourist
6 0 3

Thanks, my issue is almost solved after applying your custom css code. But I also want to remove a drop down menu presented Facebook, and other social media in the cart section. Kindly help me to resolve this. URL: ummahcollections.com

Jennifer20
Navigator
755 18 4

To remove the dropdown menu for social media in the cart section:

  1. Inspect the Element: Use browser developer tools to find the class or ID of the dropdown menu.

  2. Add Custom CSS:

    css
    .dropdown-class { display: none !important; }

    Replace .dropdown-class with the actual class or ID.

  3. JavaScript (Optional):

    javascript
    document.addEventListener("DOMContentLoaded", () => { document.querySelector('.dropdown-class')?.remove(); });
  4. Save and Test: Apply the code and refresh the page to confirm.

Web and Mobile App Expert 🙂
Skype - live:jennifer.wcoast (Jennifer Smith)
Mail- jennifer.wrexim@gmail.com / sales@wreximinfotech.com
LinkedIn- https://www.linkedin.com/in/gayatri-jennifer-wreximinfotech/
huju
Tourist
6 0 3

I have no idea in coding. So it is not possible for me to change anything from inspect element

 

Jennifer20
Navigator
755 18 4

 

  • Log in to Shopify Admin:
    Go to Online Store > Themes > Customize.

  • Check for Customization Options:

    • Look in the Theme Editor for settings under Header, Footer, or Cart sections.
    • Some Shopify themes have toggles to show/hide social media buttons or dropdowns.
  • Disable Social Media Links:
    If there’s an option like "Enable Social Media Links" or "Show Dropdown," turn it off. Save the changes.

    @huju  I think this process would be helpful for you. If you are still facing the same issue I can assist you on-call

 

 

Web and Mobile App Expert 🙂
Skype - live:jennifer.wcoast (Jennifer Smith)
Mail- jennifer.wrexim@gmail.com / sales@wreximinfotech.com
LinkedIn- https://www.linkedin.com/in/gayatri-jennifer-wreximinfotech/

Jennifer20
Navigator
755 18 4

Hi @huju 

I have checked your Shopify store URL- ummahcollections.com

as you want to remove "Enter Discount Code Here" you need to check cart.liquid page, find the discount code field, and add some code like <input type="text" name="discount">.

It is workable for this problem, If you are still facing an issue then let's discuss it further.

Thank you!

 

Web and Mobile App Expert 🙂
Skype - live:jennifer.wcoast (Jennifer Smith)
Mail- jennifer.wrexim@gmail.com / sales@wreximinfotech.com
LinkedIn- https://www.linkedin.com/in/gayatri-jennifer-wreximinfotech/