Solved

How to remove a section from the "cart page"

NikiSoulMart
New Member
7 0 0

Hey guys.

 

Hope you have a good day. Any idea how we can remove the section "Goes great with" from the "cart page"?

Website: https://soulmart.ca  (pass: kona)

cart page example: https://prnt.sc/soQlHbE3mdip

Expanse theme

 

I was trying to do it myself, with no success.

 

Thank you in advance for any help.

Accepted Solution (1)
MarinaPetrovic
Shopify Partner
559 124 182

This is an accepted solution.

If you can't find theme.css, as @AvadaCommerce  mentioned, go to edit code > sections > cart.liquid or snippets > cart.liquid and add this:

<style>
.cart__item-row.cart-recommendations{
display:none!important;
}
</style>
M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution

View solution in original post

Replies 8 (8)

AvadaCommerce
Shopify Partner
3879 839 966

Hi @NikiSoulMart,

 

Please edit your theme code to remove it:

- From you Shopify admin, go to Sales channel > Online Store > Theme > Actions > Edit code

- Open the Assets/theme.css file and paste this code at the bottom of the file

.cart__item-row.cart-recommendations{
  display: none !important;
}

- Hit Save

 

I hope it helps.

banned
NikiSoulMart
New Member
7 0 0

Code has been added, unfortunately, nothing has changed. Please see below:

https://prnt.sc/adhmnLDTUJ-W

https://prnt.sc/4_5zLrvTfmYP

 

Strange

MarinaPetrovic
Shopify Partner
559 124 182

Hi @NikiSoulMart  easiest way, go to edit code > assets > theme.css and add this at the beginning of the file:

.cart__item-row.cart-recommendations{
display:none!important;
}
M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
NikiSoulMart
New Member
7 0 0

I tried this one too and nothing has changed, hmmm.

AvadaCommerce
Shopify Partner
3879 839 966

Do you have theme.css file? The one you showed is theme.css.liquid

banned
MarinaPetrovic
Shopify Partner
559 124 182

This is an accepted solution.

If you can't find theme.css, as @AvadaCommerce  mentioned, go to edit code > sections > cart.liquid or snippets > cart.liquid and add this:

<style>
.cart__item-row.cart-recommendations{
display:none!important;
}
</style>
M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
NikiSoulMart
New Member
7 0 0

@AvadaCommercevery good point. No we don't have theme.css only theme.css.liquid.

 

@MarinaPetrovicThank you so much, it works now.

Have a great day

DelightCart
Shopify Partner
1238 82 157

@NikiSoulMart  Go to assets/theme.css and paste

.index-section
{
display:none !important ;
}

below css at bottom of file.

 

 

Delight Cart - It's time to turn your visitors into loyal shoppers! 

Delight Loyalty - Increase repeat sales quickly and build lifelong customers loyalty.