Shopify themes, liquid, logos, and UX
Can anyone give advice on how to add product SKUs under products in collections?
Example collection on my site: https://milkymotorsports.com/collections/fox-offroad-shocks
yes you can add this code card product snippet file this
<div class="product-sku">{{ product.first_available_variant.sku }}</div>
For an OS2.0 theme see if there are custom-liquid blocks/sections for the template type the area in you want to display the additional information.
If a custom-liquid setting is present,
For the first variant of products used in a collection product-grid:
{{ product.first_available_variant.sku }}
On product pages , for the currently selected variant theme shows a ?variant= parameter in the url:
{{ product.selected_variant.sku }}
https://shopify.dev/api/liquid/objects/product#product-first_available_variant
https://shopify.dev/api/liquid/objects/product#product-selected_variant
https://shopify.dev/api/liquid/objects/variant#variant-sku
If there is no appropriate custom-liquid setting the template itself will have to be modified to use one of the above liquid outputs.
Search similar - { theme name } { issue }
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025