A theme app extension boilerplate that highlights the basic structure and features that are available to developers who want to integrate their apps with Shopify Online Stores.
We are introducing a sample app block that uses available_if property. This block is conditionally enabled on storefronts only when the referenced app-owned metafield has a value of true.
A partner can create an app-owned metafield using metafieldSet mutation of the 2022-04 Admin API or above.
We are introducing a sample app block that uses
available_if
property. This block is conditionally enabled on storefronts only when the referenced app-owned metafield has a value of true.A partner can create an app-owned metafield using metafieldSet mutation of the 2022-04 Admin API or above.
Example mutation:
Mutation Variables:
In order to get app installation ID, use the following Admin API GraphQL query: