How to implement a conditional cart banner or notice?

Hello -

We are looking to add a cart banner / popup / notice that is conditional to the cart total value OR total items in cart.

How would i go about implementing such a feature? Is there an app? Or could I just code it in? I do not have Shopify Plus.

I am using the Be Yours Shopify Theme.

Hi @bluewhippet ,

you can achieve it via custom coding in the theme.

editing the code would depend where you want to show it.

you need a pop up code for that you can use bootstrap to create HTML.

https://getbootstrap.com/docs/4.0/components/modal/

Read the cart object and check for

cart.total_price

and put your logic which will show the pop up

1 Like

Try this app https://apps.shopify.com/easy-banners