Add helper function to parse settings graphql queries and return value (might be ideal to refactor this logic in the future with maybe lodash or simply better logic
conditionally show/hide add to cart based on netlify cms value.
This paves the way for more configurable options in netlify cms which get parsed at build time (gatsby's static query)
This paves the way for more configurable options in netlify cms which get parsed at build time (gatsby's static query)