The discount code field does not disappear even if there are no active discount codes.

The discount code field does not disappear even if there are no active discount codes.

Jiwya
Excursionist
41 1 14

I have no active discount codes on my site, even then the discount code field shows up in the checkout page. Need help to remove it.

www.jiwya.com

Replies 2 (2)

anupam1607
Shopify Partner
58 11 14

Hey @Jiwya 

In Shopify, the discount code field at checkout is a default feature that cannot be removed directly via the admin interface, even if there are no active discount codes. However, there are specific approaches to address this issue based on the type of Shopify plan you are using.

If you are on a Shopify Plus plan, you can customize the checkout process by modifying the checkout.liquid file. This file allows you to directly control the appearance of elements in the checkout process.
Open the checkout.liquid file.

{% if shop.discounts_count == 0 %}
  <style>
    .order-summary__section--discount {
      display: none;
    }
  </style>
{% endif %}
Buy me a coffee.
- Was your question answered? Mark it as an Accepted Solution. ❤️
- Don't forget to give me Thumbs Up.
- Store, Product and Collection Modifications | Apps and Sales Channel | Animation
- Lets connect anupammistry1607@gmail.com 

Zohaib8
Tourist
10 0 1

Hi @Jiwya,

 

The discount code field is a default feature in Shopify’s checkout and cannot be removed unless you're on the Shopify Plus plan, which allows for advanced checkout customizations.

 

Here’s what you can check:

Ensure there are no automatic discounts active under the Discounts section in your admin.
If you're not on Shopify Plus, the field will remain visible, but you can inform customers through messaging (e.g., in the cart or product pages) that discounts aren’t currently available.
For a complete solution, consider upgrading to Shopify Plus or consulting a Shopify Expert. Let me know if you have further questions!

 

Kind regards,
Zohaib