Per product banner

Highlighted
Tourist
44 0 1

I sell products from a number of vendors. One of those vendors just informed me of significant shipping delays on some of their products. I would like to add a banner or other type of notification along the lines of "Due to heavy demand, shipping of this product may be delayed by 1-2 weeks".

I can go in and edit every single product to include that as part of the text. But that's going to be a maintenence nightmare so I'm looking for ways to quickly select a bunch of products and then add a banner, popup or whatever.

In case it is relevant, I am using the ShowTime theme.

Any ideas?

Thanks

0 Likes
Highlighted
Shopify Partner
1365 24 238

If you have the vendor set up on the products, see https://docs.shopify.com/themes/liquid/objects/product#product-vendor, you can set a conditional statement that will add the banner:

{% if product.ventor == 'Some Vendor' %}
  // show banner
{% endif %}

 

https://sections.design tips, tricks & Shopify sections
0 Likes