Hello Developers,
I am trying to get some product related information such as product price, I have only productID , How can I fetch product information by productID ?
Hello Developers,
I am trying to get some product related information such as product price, I have only productID , How can I fetch product information by productID ?
Try this one with your liquid files
{% for product in collections.all.products %}
{% if product.id == 6687973638353 %}
{% assign shopifyProduct = product %}
{% endif %}
{% endfor %}
I need it from backend nodejs. not in liquid .
Hey Masumluf, what is your exact setup? Are you using a headless Shopify or are you creating a Shopify app?
Shopify App.
The best I can suggest is to check out the Node JS API docs, you will probably need to craft a GraphQL query: https://github.com/Shopify/shopify-node-api
Yeah I know but I am unable to find out exact which api should I call to get product info.