Loading
Salesforce B2B Commerce
Inhalt
Filter auswählen

          Keine Ergebnisse
          Keine Ergebnisse
          Hier sind einige Suchtipps

          Überprüfen Sie die Schreibweise Ihrer Stichwörter.
          Verwenden Sie allgemeinere Suchbegriffe.
          Wählen Sie weniger Filter aus, um Ihre Suche auszuweiten.

          Gesamte Salesforce-Hilfe durchsuchen
          Enable Duplicate Cart Items for a B2B Store

          Enable Duplicate Cart Items for a B2B Store

          Let customers add duplicate cart items to their carts, instead of increasing the quantity of a single cart item.

          Required Editions

          Enable duplicate cart items.
          1. Click Setup at the top of the page, and then 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, OptionsDuplicateCartItemsEnabled FROM WebStore WHERE id = :storeId LIMIT 1];
            store.OptionsDuplicateCartItemsEnabled = 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.
           
          Laden
          Salesforce Help | Article