I just realized that the ProductVariant ID that was used by the CartLineItem in my cart was non-existent. I have no idea where this ProductVariant ID came from. When doing a query for a productByHandle, I get this ProductVariant ID :
//query
{
productByHandle(handle:"pacifica-beauty-ginger-root-10-in-1-hair-volumizer-spray-root-booster-for-hair-volume-lightweight-formula-for-all-hair-types-vitamins-antioxidants-sulfate-free-silicone-free-vegan"){
variants(first:10){
nodes {
id
}
}
}
}
//output
{
"data": {
"productByHandle": {
"variants": {
"nodes": [
{
"id": "gid://shopify/ProductVariant/45693587161409"
}
]
}
}
},
But looking at my Cart, this is the ProductVariant for that CartLineItem:
{
"id":"gid://shopify/ProductVariant/45576784970049",
"product":{
"handle":"pacifica-beauty-ginger-root-10-in-1-hair-volumizer-spray-root-booster-for-hair-volume-lightweight-formula-for-all-hair-types-vitamins-antioxidants-sulfate-free-silicone-free-vegan",
"title":"Pacifica Beauty, Ginger Root 10 In 1 Hair Volumizer Spray, Root Booster For Hair Volume, Lightweight Formula, For All Hair Types, Vitamins + Antioxidants, Sulfate Free, Silicone Free, Vegan",
"id":"gid://shopify/Product/8337199399233"
}
}
Has anyone ever encountered this discrepancy?