Shopify themes, liquid, logos, and UX
Hi there,
For each product in my store, the EAN code for the respective product is displayed.. This is the custom Liquid code I am using:
{% if product.variants.size > 0 %}
<p style="font-size: 12px;">EAN: {{ product.variants.first.barcode }}</p>
{% else %}
<p style="font-size: 12px;">EAN: No barcode available.</p>
{% endif %}
I have tried to move this information into the collapsible product description. Is it possible to solve this with CSS?
URL: doftnoter.se
Passw: test12345
Thanks!
Solved! Go to the solution
This is an accepted solution.
Case solved. I added the code directly in main-product.liquid instead of using a custom liquid.
This is an accepted solution.
Case solved. I added the code directly in main-product.liquid instead of using a custom liquid.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024