How to remove a section from the "cart page"

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.

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.

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;
}

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

https://prnt.sc/adhmnLDTUJ-W

https://prnt.sc/4_5zLrvTfmYP

Strange

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

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

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


@AvadaCommerce very good point. No we don’t have theme.css only theme.css.liquid.

@MarinaPetrovic Thank you so much, it works now.

Have a great day

@NikiSoulMart Go to assets/theme.css and paste

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

below css at bottom of file.