Hiding the discount code box?

Highlighted
Excursionist
29 0 6

Is there a way to disable or hide the discount code text and box? I've looked around the admin page and nothing seems to come up, even in the html portions.

I don't use discount codes very often, and I find the presense of that box on checkout just gets people to ask for a discount code more than anything else. If I had a way to easily turn it on and off as needed, that would be handy for the few times it does help.

0 Likes
Highlighted
Shopify Expert
10007 116 1818

You'd be able to hide the discount sections with css if you really don't need them. The css needed will differ between responsive and old checkout. Which you are using?

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes
Highlighted
New Member
2 0 0

In my openion you should use some validation and give featers to display.

 

0 Likes
Highlighted
Excursionist
29 0 6

I would guess I'm using the old checkout, save for a couple theme changes, I haven't changed the checkout over the years I've been here.

0 Likes
Highlighted
Shopify Expert
10007 116 1818

For the old checkout add this to your checkout.css.liquid file. You'll need to make the file if you don't have one already.

#discounts {
  display: none;
  visibility: hidden;
}

 

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
1 Like
Highlighted
Excursionist
29 0 6

Thank you Jason, I will try it out soon.

0 Likes
Highlighted
Shopify Expert
2 0 0

Sorry, a mistake.

0 Likes
Highlighted
Excursionist
38 0 4

Hi @Jason 

Does a responsive checkout mean the checkout of Shopify Plus?

And what is the best way to hide the discount code field in Checkout?

And can we hide the discount code field on checkout and move it to the cart?

Thank you.

0 Likes