Internal Structure
Class CheckoutQuery
CheckoutQuery
Description: Checkout query declaration. Read more: Query controller, TypedQuery
Namespace: ShopifyCheckout/Api/Checkout/Query/CheckoutQuery
Method _getCheckoutFields
_getCheckoutFields
Description: Function that returns an array of checkout fields. Read more: Extending Query controllers
Method getCheckoutField
getCheckoutField
Description: Checkout by ID fields getter [returns node]
Method getCreateCheckoutField
getCreateCheckoutField
Description: Create checkout fields getter [returns node]
Function processCheckout
processCheckout
Description: Checkout processor. Returns void, instead it modifies the passed argument.
Namespace: ShopifyCheckout/Api/Checkout/Processor/processCheckout
Variable CREATE_CHECKOUT
CREATE_CHECKOUT
Description: A type of CheckoutQuery
associated with getCreateCheckoutField
function.
Usage examples:
Variable FETCH_CHECKOUT
FETCH_CHECKOUT
Description: A type of CheckoutQuery
associated with getCheckoutField
function.
Usage examples:
Function CartFallbackPage
CartFallbackPage
Description: The component to be used as fallback while the cart page is loading
Namespace: ShopifyCheckout/Component/CartFallbackPage/Index/CartFallbackPage
Class CartPageComponent
CartPageComponent
Description: Cart page component
Namespace: ShopifyCheckout/Component/CartPage/Component/CartPageComponent
Member sortedRenderMap
sortedRenderMap
Description: The list of sections to be displayed on the cart page. Read more: SortedRenderMap
Class CheckoutProvider
CheckoutProvider
Description: Provider class for Checkout Context. Used to make checkout data available to every component in the app
Namespace: ShopifyCheckout/Context/Checkout/Provider/CheckoutProvider
Method getContextValue
getContextValue
Description: A function which returns an object that will be visible in the Checkout Context
🔮 Common extension point: Add more fields to Checkout Context outside of Shopify API
Last updated