diff --git a/framework/shopify/utils/get-checkout-id.ts b/framework/shopify/utils/get-checkout-id.ts index 4f5b4f7b3..5d35513a5 100644 --- a/framework/shopify/utils/get-checkout-id.ts +++ b/framework/shopify/utils/get-checkout-id.ts @@ -1,8 +1,8 @@ import Cookies from 'js-cookie' -import { SHOPIFY_CHECKOUT_COOKIE } from '..' +import { SHOPIFY_CHECKOUT_ID_COOKIE } from '../const' const getCheckoutId = (id?: string) => { - const checkoutID = id ?? Cookies.get(SHOPIFY_CHECKOUT_COOKIE) + const checkoutID = id ?? Cookies.get(SHOPIFY_CHECKOUT_ID_COOKIE) console.log(checkoutID) return checkoutID }