Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi, I am trying to build an app for shopify. I am using typescript, nodejs, react for dashboard and also theme app extension for storefront.
The main problem is that I have one line text meta field and there are two options true or false. I am trying to check this meta field value in my embed app block, If the value is true then the app block should be shown, If not then it should not be shown. I was running this fine before when I was using product metafield.
{% if product.metafields.custom.check == "true" %} this was working
but right now
{% if variant.metafields.custom.check == "true" %}
When I try this, I cannot run it in any way, my goal is that users can edit whether the app-block element appears or not, that is, it should appear in x variant or not in y variant.
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025