thetrevorharmon / gatsby-theme-shopify-manager

The easiest way to start a Shopify shop on Gatsby.
https://gatsby-theme-shopify-manager.netlify.app/
MIT License
121 stars 11 forks source link

How to expose Metafields in the the theme #79

Closed adinjesuha closed 3 years ago

adinjesuha commented 3 years ago

Hi bro... greate work with this theme.

I need to know how to implement custom configuration in the gatsby-source-shopify plugin directly from the theme, your theme doesn't have options to do that. Or I missing something??

Thanks for your helpe with this!

thetrevorharmon commented 3 years ago

Hi there, what version are you on? On 0.1.18, it requires you to install gatsby-source-shopify separately, and you'll be able to do all the config you need to do on that

thetrevorharmon commented 3 years ago

You'll also need to pass shouldConfigureSourcePlugin: false to the theme options (forgot to mention that)

adinjesuha commented 3 years ago

Thanks man, just make shouldConfigureSourcePlugin: true and expose the metafields via storefront api...

thetrevorharmon commented 3 years ago

@adinjesuha I think your issue is probably solved; reopen this if you are still facing the issue