How to specify product appearance in Collections & Search Results by product theme template

Hello,

Our store has 2 product templates: default and in-store-only.

We need products using the in-store-only template to display differently when viewed in Collections and Search Results.

Where might I find the code to edit the appearance of only those products?

Thank you in advance.

Hi @mcowles

you can use ‘template_suffix’, pls check it in product object.

https://shopify.dev/api/liquid/objects#product

and then if you only want those products have special view, just edit it on product-item.liquid (maybe called other name on your theme