I have successfully added SKU to the default product page, but can;t work out where to place the code for doing the same on the product cards on the default collection page. Any help much appreciated!
1 Like
Hello @LanceAllison
You need to put this code in the card-product.liquid file for the product sku.
Code :- {{ card_product.selected_or_first_available_variant.sku }}
Hopefully that helps.
4 Likes
Your solution is lovely. I searched so much for ‘card_product’ but no where I could find the way to get SKU on the store-front. Thanks a lot buddy!!
1 Like
where do you put it in file?
1 Like