Internal Structure
Class CheckoutLineItemsQuery
CheckoutLineItemsQueryimport {CheckoutLineItemsQuery} from '@scandipwa/shopify-checkout-line-items/src/api/CheckoutLineItems.query.js'Description: Query declaration for Checkout line items. Read more: Query controller, TypedQuery
Namespace: ShopifyCheckoutLineItems/Api/CheckoutLineItems/Query/CheckoutLineItemsQuery
Method getCheckoutLineItemsField
getCheckoutLineItemsFieldDescription: Get line items in checkout query getter [returns node]
Method getLineItemsAddField
getLineItemsAddFieldDescription: Add line items to checkout mutation getter [returns node]
Method getLineItemsRemoveField
getLineItemsRemoveFieldDescription: Remove line items from checkout mutation getter [returns node]
Method getLineItemsUpdateField
getLineItemsUpdateFieldDescription: Update line items in checkout mutation getter [returns node]
Variable ADD_LINE_ITEMS
ADD_LINE_ITEMSDescription: A type of CheckoutLineItemsQuery associated with getLineItemsAddField function.
Usage examples:
Variable CHECKOUT_LINE_ITEMS
CHECKOUT_LINE_ITEMSDescription: A type of CheckoutLineItemsQuery associated with getCheckoutLineItemsField function.
Usage examples:
Variable REMOVE_LINE_ITEMS
REMOVE_LINE_ITEMSDescription: A type of CheckoutLineItemsQuery associated with getLineItemsRemoveField function.
Usage examples:
Variable UPDATE_LINE_ITEMS
UPDATE_LINE_ITEMSDescription: A type of CheckoutLineItemsQuery associated with getLineItemsUpdateField function.
Usage examples:
Class LineItemComponent
LineItemComponentDescription: Line Item component
Namespace: ShopifyCheckoutLineItems/Component/LineItem/Component/LineItemComponent
Member sortedRenderMap
sortedRenderMapDescription: The list of elements to be displayed in the line item block. Read more: SortedRenderMap
Class LineItemContainer
LineItemContainerDescription: Line item block container. Used to initialize the Line Items Context.
Namespace: ShopifyCheckoutLineItems/Component/LineItem/Container/LineItemContainer
Function LineItemFallback
LineItemFallbackDescription: The component to be used as fallback while the line item block is loading
Namespace: ShopifyCheckoutLineItems/Component/LineItemFallback/Index/LineItemFallback
Class LineItemPriceComponent
LineItemPriceComponentDescription: Line item price component
Namespace: ShopifyCheckoutLineItems/Component/LineItemPrice/Component/LineItemPriceComponent
Class LineItemQuantityComponent
LineItemQuantityComponentDescription: Line item quantity component.
Namespace: ShopifyCheckoutLineItems/Component/LineItemQuantity/Component/LineItemQuantityComponent
Class LineItemQuantityContainer
LineItemQuantityContainerDescription: Conainer for line item block. Used to define event handlers and other logic.
Namespace: ShopifyCheckoutLineItems/Component/LineItemQuantity/Container/LineItemQuantityContainer
Class LineItemsComponent
LineItemsComponentDescription: Line items component. Used to render a list of line items.
Namespace: ShopifyCheckoutLineItems/Component/LineItems/Component/LineItemsComponent
Class LineItemsProvider
LineItemsProviderDescription: 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
getContextValueDescription: 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.
Last updated
Was this helpful?