Skip to content

CartModule

Module in @evolve-framework/sfcc

The active basket on Salesforce Commerce Cloud: cart, creating one, adding, updating and removing lines, discount codes, and the available payment and shipping methods.

import { CartModule } from "@evolve-framework/sfcc/modules";

Serves the Cart part of the GraphQL API: addressValidate, cart, cartBundleAdd, cartChangesAcknowledge, cartCreate, cartDiscountCodeAdd, cartDiscountCodeRemove, cartLineItemsAdd, cartLineItemsRemove, cartLineItemsUpdate, cartPaymentRemove, cartSetDeliveryRemarks, cartSetPurchaseOrderNumber, cartSetVatNumber, cartUpdate.

new CartModule()

Extends AbstractModule<SfccLoaderContext>.

The same module on commercetools and medusa.