How to remove discount code from cart page?

The cart page is showing the discount code that I give exclusively to subscribed members, how can I remove it but keep the discount code field?

1 Like

Hi @KitLing ,

Please share your store URL and if your store is password protected then please provide password too.

So that we can help you.

Thank you.

Hi @KitLing ,

Removing discount can be tricky or complex task.

But to work around it. Please create a group of subscribed customer’s.

Assign your coupon to that group now coupon will be available to your subscribe users only.

Hope it will help.

Hello @KitLing ,

It’s the GemPages Support Team and we are glad to assist you today!

Could you please share your store URL ( with the password if your store password is enabled ) then I can see and suggest something for you?

Best regards,
GemPages Support Team

password: 1357sanjora

http://www.sanjorajewelry.com

Hi @KitLing ,

This is Kate from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/theme.liquid->Paste below code before :

{% unless customer %}

{% endunless %}

I hope it would help you
Best regards,

Kate | PageFly

is it theme.css?

Also I couldn’t find

Could you provide more guidance?

1 Like

Hi @GemPages

Maybe you made a mistake.

Is theme.liquid file, NOT theme.css file

HELLO,

the discount code is still here at the top of the cart page

Hi @KitLing ,

You can replace previous code by below code in theme.liquid (before ):

{% unless customer %}

{% endunless %}

I hope it would help you
Best regards,

Kate | PageFly