My first time diving with Shopify.
Is using an App the only way to post and get data from the shopify database?
like setting custom data for a product and showing them?
from a Wordpress Dev
My first time diving with Shopify.
Is using an App the only way to post and get data from the shopify database?
like setting custom data for a product and showing them?
from a Wordpress Dev
Hi @tim202 !
Ivy here from Shopify.
Firstly let me say welcome to Shopify! I’d be happy to help you out today. I want to be sure I am understanding your query 100% - can you clarify for me please what you mean by “post and get data from the Shopify database” ? What task are you currently trying to carry out, and what steps exactly are you taking to do it? The more details and con text you can share with me, the better I am positioned to help you out as much as possible.
What kind of products are you going to be selling on your store? Is there anything in particular in the store set up process you’d like some advice or help with?
Thanks, Ivy.
Thank you for your swift reply,
I just want to retrieve and post data without hosting my own API Service, Is it possible to use the shopify API without doing so?
I am trying to add division in my product description [Material , size, instruction, production, etc. ] and display it in the product page.
I want to create a custom field inside the admin/products for better UI or using an APP the only way?
Thanks in advance
If you want to implement this on your own, and you need it to be embedded in Shopify’s dashboard, you need a custom / public Shopify app. It’s a lot of hassle to develop it, so try to avoid it if you can.
A simpler way is to build an external web app and install it as a private app (easier authorization). Its backend will hit the Shopify API to add the metafields you want.
An even easier solution is to use Shopify’s GraphiQL Explorer to perform mutations, it’s an app you can install in your store.
So while WordPress gives you access to the backend and the database, Shopify is a service, with whatever benefits that might have.
Displaying these product metafields is possible by adding some Liquid code in the product.liquid template.