Browsed by
Tag: ruby on rails

Create and retrieve metafield for shop resource in shopify

Create and retrieve metafield for shop resource in shopify

This is a quick guide to create and retrieve metafield for shop resource in shopify using ruby on rails. Just a reminder, shop resource in shopify is a global resource for the shopify store and metafield associated with shop resource is accessible throughout the store. Once this metafield is associated with your shopify store you can access it on any liquid files. This post assume that you have a clear understanding of Ruby on Rails , use of shopify_app gem…

Read More Read More

Insert asset files in shopify theme programatically using Asset API

Insert asset files in shopify theme programatically using Asset API

Are you a shopify app developer? Then you may have come accross the situation where you may need to add the asset file (like images or may be liquid files under snippets/sections/templates) programatically through shopify API. The scenario for this use case is that you may need to add a liquid file to the theme when a merchant installs your app in their shopify store. This short tutorial will guide you through the use of the shopify Asset API in…

Read More Read More

Access shopify asset API from rails App

Access shopify asset API from rails App

Hey Fellas!! This post is a part of shopify app development in rails. You may be aware that shopify let’s you access the assets of your shopify store through shopify asset API. These could be then read and modified from your app. Shopify assets API lets you access the store theme and its liquid files. You can programatically add new liquid files and also modify the existing files. I came across this requirement but didn’t find complete resource of its…

Read More Read More