Help centre

Cross Sell
Education & Resources

Related Articles

No items found.

Can I restrict the popup or product cross sells from showing for certain products?

Last updated on
September 26, 2023

Short answer: Yes, but this also means product (or cart) page cross sells will also not show. This will depend on where additional code below is added; additional code to handle filtering cross sells will affect the template it's on.

We (or your developer) will need to add some liquid code to your product or cart template to get this done.

You'll first need to know how to identify or classify those products. For example, we'll need to know if those products belong to a specific collection, tag, type or if you only have handles to filter them by. We'll then add some code like the one below to restrict or enable cross sells on those items:

{% unless product.handle == 'black-shirt' %}

{% include 'cross-sell' %}

{% endunless %}

Above will not show cross sells if the url/handle of the product is "black-shirt". More possible control flows can be found here: https://shopify.github.io/liquid/tags/control-flow/

Need this done? Get in touch.

Still need help? Email us at support@csell.co.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Supercharge Sales with Our Customizable Cross-Selling & Upselling!