Remove discount code from Check out and add it in Cart page

Mathirajesh
New Member
4 0 0

I have tried to hide the Discount code in Checkout page and add Discount code in Cart page, but i can't find any option to remove the discount code from checkout page, can any one please help me to sort it out. The theme iam working is "Sabujcha - Matcha Shopify Theme" .

Replies 14 (14)

oscprofessional
Shopify Partner
15843 2371 3073

Hello @Mathirajesh 

Please share your store URL and reference site URL.

So that I can check and let you know the exact solution for this.

Thanks...

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing
Mathirajesh
New Member
4 0 0

Thanks for the Reply @oscprofessional , Please check the URL:  https://goodstate.com/

oscprofessional
Shopify Partner
15843 2371 3073

Hello @Mathirajesh 

For Remove discount code from Check out :

Add this css at the bottom of

Online Store->Theme->Edit code->Assets->theme.scss.liquid

.order-summary .order-summary__section.order-summary__section--discount {
	display: none;
	border-top: none;
}

Hope this will work for you.
Thanks!

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing
Mathirajesh
New Member
4 0 0

Hi @oscprofessional  thanks for the reply, I have checked but there is no file named theme.scss.liquid, and one thing is in the checkout page totally 3 css files are loading from the server directly as follows, please check it. 

1. https://cdn.shopify.com/app/services/xxxxxxxxxx/assets/xxxxxxxxxxxxx/checkout_stylesheet/v2-ltr-edge...

2. https://cdn.shopify.com/xxxxx/assets/xxxxxxxxxx/main-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...

3. https://cdn.shopify.com/xxxxxx/assets/admin/style-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...

oscprofessional
Shopify Partner
15843 2371 3073

@Mathirajesh,

check the css file which is appearing on checkout page, I thought checkout.scss.liquid

then add the code in it..

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing
Uza
Tourist
6 0 2

Hi,

 

I have a similar problem - the discount code doesn't work on the cart page- how can I remove it?/ fix it..

 

Thanks

oscprofessional
Shopify Partner
15843 2371 3073

try to add in style.css

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Custom Pricing Wholesale App : Free | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing
powerguy
Explorer
46 3 18

I do not have a style.css  liquid file or assets file on my Dawn theme.

Proudly
Tourist
10 0 3

Useful tip, thanks. But doesn't work until you add the necessary space between

_section

and

.order:
.order-summary .order-summary__section .order-summary__section--discount   

 

nuova-idea
Explorer
46 0 20

The code does not work for me on Minimal theme.

 

Any working solutions?

basically
Tourist
22 0 0

Thankss a lot dude!! that worked for me (Dawn 11)

PrateekGoyal
Shopify Partner
10 0 1

I am not sure how your solution will work for people having stores below Shopify Plus Plan, because shopify doesn't let you alter anything on the checkout pages.

powerguy
Explorer
46 3 18

I do not have a theme.scss.liquid file on my Dawn theme.

modiste
Visitor
1 0 0

Hi there! Are you able to help me with this for my website? https://modiste.shop/