Loading
Feature degradation | Gmail Email delivery failureRead More
Salesforce B2B Commerce
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Enable Shipping to Multiple Addresses for Custom Checkout

          Enable Shipping to Multiple Addresses for Custom Checkout

          Let customers ship items in one order to multiple addresses in a B2B store or a Pay Now site. At checkout, customers can split a single cart into multiple shipments. You can’t use split shipping with managed checkout or with digital or subscription products.

          Required Editions

          1. Enable split shipping.
            1. At the top of the page, click Setup and select Developer Console.
            2. From Debug, click Open Execute Anonymous Window.
              An Apex editor window opens.
            3. Copy this code snippet into the Apex editor window.
              ID storeId = '0ZExx0000000000000'; // !! REPLACE WITH YOUR STORE ID !!
              
              WebStore store = [ select id, OptionsSplitShipmentEnabled FROM WebStore WHERE id = :storeId LIMIT 1];
              store.OptionsSplitShipmentEnabled = true;
              update store;
              
            4. Replace the store ID with your 18-character ID.
              You can find your ID in your store’s home page URL. It begins with “webStoreId=”.

              Webstore ID highlighted in a store URL.

            5. Execute the code, and return to your store’s home page.
          2. If your store was created before the Spring ’24 release, update your store’s shipping integration Apex class.
            Before implementing this change, consult with your developer so that you don’t overwrite custom modifications made to this class.
            1. At the top of the page, click Setup and select Setup.
            2. In the Quick Find box, enter Apex Classes, and then select Apex Classes.
            3. Find the B2CDeliverySample class, and click Edit.
            4. From GitHub, copy the code from the B2CDeliverySample.cls code block.
            5. Paste the code into your org’s B2CDeliverySample Apex Class window.
            6. Save your changes.
          3. If you have an Aura store created before the Spring ’24 release and the Cart Calculate API is disabled, update your store’s price check integration to use standard pricing.
            1. In the navigation sidebar, select a store from the Store dropdown.
            2. Select Settings | Store.
            3. To choose a custom pricing provider, on the Price Check tab, click Link Integration and select Standard Pricing. To unlink an existing provider, click the Dropdown arrow and select Unlink.
            4. Save your changes.

          To increase the delivery group limit for your Salesforce org, contact your Salesforce administrator.

           
          Loading
          Salesforce Help | Article