In the storefront product page, I have access to the relevant selling plan groups. I have access to an id (https://shopify.dev/docs/themes/liquid/reference/objects/selling-plan-group#selling_plan_group-id) but would like to get the GraphQL id. I need it to fetch some data from our servers.
I tried `window.atob` but it just returns gibberish.
I'm also looking to solve a similar conundrum. I'm in a situation where I have a Selling Plan Group id, retrieved from the Product AJAX api, and I'm trying to find a sane way of correlating that with Selling Plan Group's actual id.
Through the Admin GraphQL api, I can retrieve a Selling Plan Group Id, "gid://shopify/SellingPlanGroup/91521195". The same Selling Plan Group, when returned as part of the response from the Product AJAX API, is returned as "443f8160e8514d187603d97741c928a440bd9240". The example shown in the Product AJAX API reference shows a number being returned for the selling_plan_group_id, but instead it seems to be returning a hex value
Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...By Gabe Jan 6, 2023
How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...By Skye Dec 30, 2022