Develop > Presentation layer > Customize IBM Sales Center > Customizing Sales Center support for large shopping carts


Enable and disabling the doPrice parameter for quote commands

To enable and disable the doPrice parameter for the IBM Sales Center, to invoke related quote commands such as QuoteItemAdd and QuoteItemUpdate.

To enable the doPrice parameter for quote commands in the IBM Sales Center:


Procedure

  1. Open the SyncQuoteBODMapping.xml file found in the WC_EAR \xml\messaging\ directory.

  2. To enable the doPrice parameter:

    1. Add a Constant element into the body of the QuoteItemAddCmd command element...

      <Command
      CommandName="com.ibm.commerce.quote.commands.QuoteItemAddCmd">   
      <Constant Field="doPrice">Y</Constant>
      </Command>
      

    2. Make the same update to the Command element of the QuoteItemUpdateCmd:

      <Command
      CommandName="com.ibm.commerce.quote.commands.QuoteItemUpdateCmd"
      >   
      <Constant Field="doPrice">Y</Constant>
      </Command>
      

  3. To disable the doPrice parameter:

    1. Update the <Constant Field="doPrice"> element in the QuoteItemAddCmd element by entering an "N" into the body of the element:

      <Command
      CommandName="com.ibm.commerce.quote.commands.QuoteItemAddCmd">   
      <Constant Field="doPrice">N</Constant>
      </Command>
      

    2. Make the same update to the Command element of the QuoteItemUpdateCmd:

      <Command
      CommandName="com.ibm.commerce.quote.commands.QuoteItemUpdateCmd"
      >   
      <Constant Field="doPrice">N</Constant>
      </Command>
      

  4. Restart the WCS instance.


Related concepts

Performance improvements for large shopping cart


Related tasks

Enable and disabling large shopping cart performance enhancements


+

Search Tips   |   Advanced Search