What's your biggest current challenge? Have your say in Community Polls along the right column.

Re: Remove code from cart drawer

Solved

Remove code from cart drawer

Nattlig
Excursionist
16 0 9

Hey guys, I recently added an app that added a "you got free shipping" in the cart drawer. I removed the app and no longer offer free shipping, but the code is still thee, even though the app has been removed.

 

Can someone show me where I remove the code?

 

Here is the website link: nattlig.no

 

Here is an image:

Skjermbilde 2024-11-30 kl. 11.39.47.png

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
9133 2180 2688

This is an accepted solution.

Oh, check this one. 

Add this one on the theme.liquid. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes"
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

<style>
.free_shipping_card_wrapper_cm2by5nx96016619v3lkjtcwu4.placement_side_cart.cart_page.no_products {
    display: none !important; 
}
</style>

 

  • And Save. 

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
9133 2180 2688

Hi @Nattlig 

Do you mean this one?

Made4uoRibe_0-1732967958861.png

If it is try this.

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.cart-notice.text-size--small {
    display: none !important;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_1-1732968029630.png

     

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
Nattlig
Excursionist
16 0 9

Hey that was the wrong website. Can you check it for www.nattlig.no?

 

It is the bar with to emojies in the cart slider.

Made4uo-Ribe
Shopify Partner
9133 2180 2688

This is an accepted solution.

Oh, check this one. 

Add this one on the theme.liquid. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes"
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

<style>
.free_shipping_card_wrapper_cm2by5nx96016619v3lkjtcwu4.placement_side_cart.cart_page.no_products {
    display: none !important; 
}
</style>

 

  • And Save. 

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
Nattlig
Excursionist
16 0 9

Thank you so much!