How can I find specific code within my templates. I can inspect the page, and find it but when I search the source I can’t find how to track. My template is Kalles v4.3.0 official for Variator. Code issue says it occurs on collections/cookware. Specific code below occurs for every product in the collection.
Obviously you would not find a direct match. I see that in t4s-pr-6104834637985 the number is a product ID,
so the code would be t4s-pr-{{ product.id }} or similar, the data-product-options=“…” is data-product-options=‘{{product | json}}’ and so on.
I’d be searching by “data-product-options” – it would give you small enough number of occurrences to look into.
Also, often it’s better to look for either parent or child element – may have more distinctive classnames/properties, for example in this case the child element has class t4s-product-wrapper…
Most probably it’s a snippet similar to card-product.liqiud in Dawn or product-grid-item in old Shopify themes…
Thank you. The specific code I am looking for is aria-hidden=“true”. It occurs after the brackets for data-product-options, and I did not find it in the product grid snippets. I searched for t4s and checked those and couldn’t find it being called anywhere. Is there another place I could look?