Is it Possible to Get Product Details in Custom Page?

Is it Possible to Get Product Details in Custom Page?

dblack
Shopify Partner
7 0 4

We are creating part pages for some of our products which have replacement parts using the REST API to generate the markup for each page based on data in our system. Currently we are grabbing the price and setting it directly in the HTML for the page, but this will not change as pricing is updated in the system and would require updating the markup each time a price changes. 

 

We were wondering if it would be possible to have this pricing automatically set on the page based on the current price in shopify for the product. I'm hoping something like this would be possible:

 

{{object:"gid://shopify/Product/7443531595916" , field: "price"}}

 

If something like this is not possible in the page markup, would there be another way to achieve this?

Replies 0 (0)