Hello All!
I am trying to get Shopify Subscription items to display the correct price details on Shopify Integrated Checkout.
Currently, the Subscription items display the correct price when they are added to the cart.
When I go to checkout on Shopify Integrated Checkout, the Subscription Item displays the One-Time purchase price, and not the Subscription price.
Inside the createCart object, sellingPlanId is not included. I am trying to get the sellingPlanId into the createCart object, but having difficulty.
Here is a screenshot of our current createCart object:
Shopify has informed me, that in order for the Subscription item to display the correct price in checkout, sellingPlanId must be in this object.
I have added sellingPlanGroups connection into the PRODUCT_QUERY, but am experiencing difficulty connecting the sellingPlanId to the cart.
For context, I am using Hydrogen 2 with Remix, and on StorefrontAPI 2023-10.
If anyone has any information or can assist with this, it would be greatly appreciated.
I am able to share code if needed.
Thank you!