Problems with cart is empty page

Topic summary

A user encountered an unwanted “Popular Picks” section displaying on their empty cart page. Since they only sell one product, they wanted to remove this section while keeping the “cart is empty” message.

Initial troubleshooting attempts:

  • Other users suggested sharing the store URL or editing theme code files (cart.liquid/main-cart.liquid)
  • One response provided technical instructions to locate and comment out recommendation code within the empty cart condition
  • The user shared their cart.liquid code but found it didn’t match the suggested structure

Resolution:

  • The user found a simpler solution through the theme customization interface
  • They navigated to the page dropdown menu, selected “cart and checkout,” and directly deleted the Popular Picks section
  • No code editing was required

Status: Resolved. The user successfully removed the unwanted section and shared the fix for others experiencing the same issue.

Summarized with AI on October 30. AI used: claude-sonnet-4-5-20250929.

Hi,

Please see attached image of my “cart is empty” page. The site is almost finished and I’m trying everything out before it goes live. I added an item to my cart, continued to checkout (to see if it worked) then removed the item. This is the page I was shown. I only have one product for sale so I don’t want these blank “popular picks” to show up. The cart is empty is fine but is there a way to remove the popular picks section beneath this?

I’ve looked all over the theme and checkout options and can’t find a way of removing it.

Thanks in advance

2 Likes

Hey @HYBRID

Share your store URL and Password if enabled.

Best Regards,

Moeed

Hello @HYBRID

Go to Online Store > Themes.

Click Actions > Edit Code.

In the search bar, look for cart.liquid or main-cart.liquid (depending on your theme).

Find the section of code that includes “Popular Picks” or “recommendations” (usually inside {% if cart.item_count == 0 %} condition).

Comment out or remove the related code.

Here is the code from the file you mentioned. It doesn’t read exactly as you said. Could you please tell me what to delete and what to put in its place (if needed)

Thank you

{%- render ‘breadcrumbs’ -%}

{{ 'cart.general.title' | t }}

{{ 'cart.general.continue_browsing_html' | t: url: routes.all_products_collection_url }}

{{ 'cart.general.empty' | t }}

{%- if cart.item_count > 0 -%}

{{ 'cart.label.quantity' | t }}
{{ 'cart.label.total' | t }}
{%- for item in cart.items -%} {%- render 'cart-item', product: item, sizeVariable: '150px', fallback: '90px', -%} {%- endfor -%}
{%- if settings.cart_notes_enable -%}
{{ 'cart.general.note' | t }} {{ cart.note }}
{%- endif -%}
{% if cart.cart_level_discount_applications != blank %}
{{ 'cart.general.discounts' | t }}
{% for cart_discount in cart.cart_level_discount_applications %}
{{ cart_discount.title }} (-{{ cart_discount.total_allocated_amount | money }})
{% endfor %}
{% endif %}
{{ 'cart.general.subtotal' | t }}
{{ cart.total_price | money }}

{%- assign cartTotalDiscounts = cart.total_discounts | money -%}

{{ 'cart.general.savings_html' | t: savings: cartTotalDiscounts }}
{{ 'cart.general.shipping_at_checkout' | t }}

{%- if settings.cart_terms_conditions_enable -%}

{% if settings.cart_terms_conditions_page != blank %} {{ 'cart.general.terms_html' | t: url: settings.cart_terms_conditions_page.url }} {% else %} {{ 'cart.general.terms' | t }} {% endif %}
{%- endif -%}
{{ 'cart.general.checkout' | t }}

{%- if additional_checkout_buttons and settings.cart_additional_buttons -%}

{{ content_for_additional_checkout_buttons }}
{%- endif -%}
{%- endif -%}

{% schema %}
{
“name”: “t:sections.main-cart.name”
}
{% endschema %}

Thanks for your replies but I’ve manage to sort this. For anyone else having this probelm

In the main customisation page where you have a list of pages in the dropdown at the top (home page, products, collections etc), I found cart and checkout. On that page a I deleted the popular picks section and saved. Simple fix that I couldn’t find before

1 Like