Search code examples
reactjsshopifyliquidstorefront

Include App liquid in shopify theme with GastbyJS + Storefront API


I'm currently building a Shopify site with Gatsby and trying to implement a subscription with the Shopify App (Paywhirl). According to the instructions, I need to INCLUDE the liquid provided by the Paywhirl App in the theme.

Snippet example is below.

{% include 'paywhirl-subscriptions-cart-selling-plans', item: item %}

We can insert liquid variables in modules like react-liquid, but is there a way to include Liquid in React?


Solution

  • If you build an eCommerce store with the headless approach and Shopify then there is a common issue regarding the APP integration, default liquid integration is not working anymore, you need to check the API's from APP developers and use the same in your headless approach.img-link

    Here is the article regarding the same issue mentioned in the headless approach Read More