REDDIT 原始帖子
How do I add labels to collection pages underneath each product?
I want to add quite little summaries, to help people identify the best option, as a label or a tag, and for it to display under the product image on collection pages. Can anybody suggest how to code this or an app that makes this possible? I wasn't sure how…
I want to add quite little summaries, to help people identify the best option, as a label or a tag, and for it to display under the product image on collection pages. Can anybody suggest how to code this or an app that makes this possible? I wasn't sure how best to describe this so I've mocked something up on Canva. https://cdn.shopify.com/s/files/1/0731/4102/7121/files/Your_paragraph_text_1.png?v=1777548561
已收录讨论
Your comment in r/shopify was automatically removed as your 'post' karma is below 10 (we do not consider your total karma; your post and comment karma are separate numbers and must both meet their minimum requirement). You can increase your post karma by posting in other areas of Reddit to earn upvotes. The higher quality the content, the higher your karma will become. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
There are threads like this one over on Community about adding a custom metadata field to your product cards Once you've got the field displaying it's usually just a case of fiddling until it displays how you want it. Idk what the prevailing opinion of Sidekick/Claude coding for minor stuff like this is over here, but I wouldnt think twice about it for something like this.
Your comment in r/shopify was automatically removed as your 'post' karma is below 10 (we do not consider your total karma; your post and comment karma are separate numbers and must both meet their minimum requirement). You can increase your post karma by posting in other areas of Reddit to earn upvotes. The higher quality the content, the higher your karma will become. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
Product meta field then render that on your theme.
If you’re on Shopify, you can do it by Metafields Metafields (best long-term solution) Create a product metafield (e.g. “label” or “short summary”) Populate it per product in admin Edit your collection product card (usually card-product.liquid or similar) and output it under the image: {% if product.metafields.custom.label %} <div class="product-label"> {{ product.metafields.custom.label }} </div> {% endif %} Then style it with CSS
这条评论已被删除。
这条评论已被删除。