Internal Structure

Class CheckoutLineItemsQuery

import {CheckoutLineItemsQuery} from '@scandipwa/shopify-checkout-line-items/src/api/CheckoutLineItems.query.js'

Description: Query declaration for Checkout line items. Read more: Query controllerarrow-up-right, TypedQueryarrow-up-right

Namespace: ShopifyCheckoutLineItems/Api/CheckoutLineItems/Query/CheckoutLineItemsQuery

Method getCheckoutLineItemsField

Description: Get line items in checkout query getter [returns node]

Method getLineItemsAddField

Description: Add line items to checkout mutation getter [returns node]

Method getLineItemsRemoveField

Description: Remove line items from checkout mutation getter [returns node]

Method getLineItemsUpdateField

Description: Update line items in checkout mutation getter [returns node]

Variable ADD_LINE_ITEMS

Description: A type of CheckoutLineItemsQuery associated with getLineItemsAddField function.

Usage examples:

Variable CHECKOUT_LINE_ITEMS

Description: A type of CheckoutLineItemsQuery associated with getCheckoutLineItemsField function.

Usage examples:

Variable REMOVE_LINE_ITEMS

Description: A type of CheckoutLineItemsQuery associated with getLineItemsRemoveField function.

Usage examples:

Variable UPDATE_LINE_ITEMS

Description: A type of CheckoutLineItemsQuery associated with getLineItemsUpdateField function.

Usage examples:

Class LineItemComponent

Description: Line Item component

Namespace: ShopifyCheckoutLineItems/Component/LineItem/Component/LineItemComponent

Member sortedRenderMap

Description: The list of elements to be displayed in the line item block. Read more: SortedRenderMap

Class LineItemContainer

Description: Line item block container. Used to initialize the Line Items Context.

Namespace: ShopifyCheckoutLineItems/Component/LineItem/Container/LineItemContainer

Function LineItemFallback

Description: The component to be used as fallback while the line item block is loading

Namespace: ShopifyCheckoutLineItems/Component/LineItemFallback/Index/LineItemFallback

Class LineItemPriceComponent

Description: Line item price component

Namespace: ShopifyCheckoutLineItems/Component/LineItemPrice/Component/LineItemPriceComponent

Class LineItemQuantityComponent

Description: Line item quantity component.

Namespace: ShopifyCheckoutLineItems/Component/LineItemQuantity/Component/LineItemQuantityComponent

Class LineItemQuantityContainer

Description: Conainer for line item block. Used to define event handlers and other logic.

Namespace: ShopifyCheckoutLineItems/Component/LineItemQuantity/Container/LineItemQuantityContainer

Class LineItemsComponent

Description: Line items component. Used to render a list of line items.

Namespace: ShopifyCheckoutLineItems/Component/LineItems/Component/LineItemsComponent

Class LineItemsProvider

Description: Provider class for Line Items Context. Used to make line item data available to all children components.

Namespace: ShopifyCheckoutLineItems/Context/LineItems/Provider/LineItemsProvider

Method getContextValue

Description: A function which returns an object that will be visible in the Line Item Context

🔮 Common extension point: Add more fields to Line Item Context.

triangle-exclamation

This page is automatically generated

Last updated

Was this helpful?