I want to add some code which displays the number of variants available on the product collection image in addition to the Item Name and Price. Can someone tell me which file contains the code which needs to get modified?
Thanks in advance.
I want to add some code which displays the number of variants available on the product collection image in addition to the Item Name and Price. Can someone tell me which file contains the code which needs to get modified?
Thanks in advance.
It depends on themes. You can check collection.json to find out which section and drill down from there.
It should be normally main-collection.liquid or something similar.
Thanks friend. The theme is Dawn 4.0, BTW.
Thanks, in that case, it will be “main-collection-product-grid.liquid” under Sections or “card-product.liquid” from Snippets.