All things Shopify and commerce
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi everyone,
I want to display the barcode of a product on the product page.
I've already tried several things which didn't work as planned.
Changing the theme files, using apps, but nothing worked.
How can I show the barcode of my product on the product page?
I'm using the debut theme, but nothing seems to be working.
Hope to hear from you guys!
Hi There,
Totally doable, question first, your products have variants?
Hi,
I don't have any variants.
Did you ever find a solution for this?
@RPK displaying barcodes is doable on Shopify, what is your precise need here?
I was able to find a solution through custom code on the product card.
{% assign current_variant = product.selected_or_first_available_variant %}
SKU: <span class="variant-sku">{{ current_variant.sku }}</span> |
EAN: <span class="variant-barcode">{{ current_variant.barcode }}</span>
Looks good!
Hi JHK,
I've been trying to reach you for some time about a project I have that is rather large in size. Please reach out to me at david@grimtacticalco.com
Thank you,
Hi,
can you be more specific?
I have same problem.
Thanks