Enabling shopping flow preview for workspaces
Enabling shopping flow preview in workspaces allows users to preview how their changes affect the experience of a customer when the customer is completing a shopping flow.
When you enable the shopping flow preview for workspaces, some objects and actions are not
supported:
Procedure
-
Copy the following file to a temporary location:
- WC_eardir/xml/content-management/wc-order-resource-managers.xml
Do not directly modify this file. For more information, see XML configuration directory.
- Open the temporary copy of the file in a text editor.
-
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" />
- Save your changes.
-
Update WebSphere Commerce with the updated file. For more information, see the Updating enterprise application files topic. Ensure that you follow the instructions for updating a
single file.
You need the following information:
Option Description Enterprise application name WC_enterprise_application Relative path to file xml/config/wc-workspace.xml -
Run the UpdateWorkspacesSchemaTable Ant script to migrate these tables from unmanaged assets to
operational assets in the workspace.
Refer to Ant target: CM_updateWorkspacesTable.
- Stop and restart WebSphere Commerce.