Skip to main content
All CollectionsGetting StartedCustomization Support
The mixed cart warning is displaying on all pages. How to ensure it only displays on Cart Page?
The mixed cart warning is displaying on all pages. How to ensure it only displays on Cart Page?
Updated over 4 months ago

To ensure that the Mixed Cart warning only displays on the cart page, please follow the steps below:

1. In the Shopify Admin, go to Sales Channel -> Online Store -> Themes.

2. Click the three dots or more options.

3. Select "Edit code."

4. Edit the theme.liquid file by clicking the pencil button.

5. Scroll down and look for the </head> tag or use the find feature(Ctrl + F for PC or Command + F for Mac).

6. Add the following code before the </head> tag:

{% if template contains 'index' or template contains 'collection' or template == "product" %}
<style>
#pn-mixed-cart-warning{
display: none !important;
}
</style>
{% endif %}

7. Click the Save button.


If you have any other questions, please don't hesitate to let us know!

Did this answer your question?