Dawn theme - morningragecoffee.com
Currently, in the default collection product grid, there is a subtitle for Vendor - which we are using for a flavor description. This doesn’t work well when exporting to other websites as they are looking for brand name in that field.
So we created a metafield under products called flavor_description. We want to replace the vendor field displayed under the product name with the flavor_description metafield.
Thanks for any tips
1 Like
Hi @NewtoAllThis ,
Please follow the instructions below
- From your Admin Page, click Online Store > Themes >Actions > Edit code
- In the Snippet folder, open the card-product.liquid
- Find the {% if show_vendor %}, you will find two codes with this. Both replace the inner part of the code, the code in between the {% if …%} and {% endif %}. Refer to the code inside the box in the image below
NOTE: change the metafields.custom.text to the namespace you have for this metafield. Make sure to change product to card_product
{{ card_product.metafields.custom.text.value }}
1 Like