Administer > Manage WebSphere Commerce features > Enable Workspaces


Enable shopping flow preview for workspaces

Enable shopping flow preview in workspaces allows users to preview how their changes will impact a customer's experience.


Procedure

  1. Copy the following file to a temporary location:

    • WC_EAR/xml/content-management/wc-order-resource-managers.xml

    This file should never be directly modified. For more information, refer to XML configuration directory.

  2. Open the temporary copy of the file in a text editor.

  3. Find the <wc:OperationalResources> element. Add the following information to the element:

    <wc:OperationalResource name="ORDTAX" 
          resourceClassName="com.ibm.commerce.taxation.objects.OrderTaxAccessBean" 
          managed="true" resource="ORDTAX" />         
    <wc:OperationalResource name="ORDITAX" 
          resourceClassName="com.ibm.commerce.taxation.objects.OrderItemTaxAccessBean" 
          managed="true" resource="ORDITAX" />         
    <wc:OperationalResource name="SHIPINFO" 
          resourceClassName="com.ibm.commerce.order.objects.ShipInfoAccessBean" 
          managed="true" resource="SHIPINFO" />         
    <wc:OperationalResource name="OICOMPLIST" 
          resourceClassName="com.ibm.commerce.order.objects.OrderItemComponentAccessBean" 
          managed="true" resource="OICOMPLIST" />         
    <wc:OperationalResource name="ORDIOFFER" 
          resourceClassName="com.ibm.commerce.order.objects.OrderItemOfferRelationshipAccessBean" 
          managed="true" resource="ORDIOFFER" />         
    <wc:OperationalResource name="ORDITRD" 
          resourceClassName="com.ibm.commerce.order.objects.OrderItemTradingRelationshipAccessBean" 
          managed="true" resource="ORDITRD" />         
    <wc:OperationalResource name="ORDPROMOCD" 
          resourceClassName="com.ibm.commerce.order.objects.OrderPromotionCodeAccessBean" 
          managed="true" resource="ORDPROMOCD" />         
    <wc:OperationalResource name="ORDITPROMOCD" 
          resourceClassName="com.ibm.commerce.order.objects.OrderItemPromotionCodeAccessBean" 
          managed="true" resource="ORDITPROMOCD" />
    

  4. Save the changes.

  5. Update WebSphere Commerce with the updated file. See the Update applications topic in the WebSphere Application Server Information Center for instructions. Ensure that you follow the instructions for updating a single file.

    You will need the following information:

    Option Description
    Enterprise application name WC_enterprise_application
    Relative path to file xml/config/wc-workspace.xml

  6. Run the UpdateWorkspacesSchemaTable Ant script to migrate these tables from unmanaged assets to operational assets in the workspace. Refer to ANT target: CM_updateWorkspacesTable.

  7. Stop and restart WebSphere Commerce.


+

Search Tips   |   Advanced Search