Tutorials > Customize the Consumer Direct sample store > Customizing the consumer direct sample store using snippets

< Previous | Next >


Publish a consumer direct sample store

WebSphere Commerce provides several sample stores for you to use as a for learning about WebSphere Commerce. In this tutorial, we will publish another consumer direct sample store with the name MyApparelStore that uses an apparel catalog.


Procedure

  1. Create a directory called sar...

  2. Navigate to the following directory:

  3. Copy the ConsumerDirect.sar file into the sar directory you created in step 1. The ConsumerDirect.sar should now be available for publishing in the Administration Console.

  4. Open WebSphere Commerce Developer.

  5. Start the WebSphere Commerce Test Server.

  6. Open the Administration Console by entering the following URL in a Web browser:https://localhost:8002/webapp/wcs/admin/servlet/ToolsLogon?XMLFile=adminconsole.AdminConsoleLogon

  7. Log on to the Administration Console. By default, the administrator user name and password are wcsadmin.

  8. On the Administration Console Site/Store Selection page, select Site and click OK.

  9. Click Store Archives > Publish.

  10. From the View list, select Consumer direct.

  11. Select ConsumerDirectOrganizationStructure.sar and click Next. The ConsumerDirectOrganizationStructure.sar contains a sample store archive containing the organization structure, predefined user roles, and necessary access control policies to create a consumer direct environment. There is no store front or catalog associated with this file.

  12. Click Next, Finish, and OK. Depending on the system, the store publish might take a few minutes to over an hour.

  13. When the publishing completes, the Publish Status page displays the success or failure of the store publish. Click Refresh and ensure the publish status for the store is Successful.

  14. Select ConsumerDirectStore.sar and click Next. The ConsumerDirectStore.sar file contains all the assets required for a consumer direct store, including the catalog and store front pages.

  15. On the Parameters page:

    1. In the Store directory field, enter MyApparelStore.

    2. In the Store identifier field, enter MyApparelStore.

    3. From the Organization list, select Seller Organization.

    4. From the Sample data list, select Apparel.

  16. Click Next.

  17. Click Finish.

  18. Click OK. Depending on the system, the store publish might take a few minutes to over an hour.

  19. When the publishing completes, the Publish Status page displays the success or failure of the store publish. Click Refresh and ensure the publish status for the store is Successful.

  20. Ensure you can complete a purchase in MyApparelStore:

    1. In the Administration Console, select the store.

    2. Click Details.

    3. On the Publish Details page, click Launch Store.

    4. Accept the default value for Web application web path for store.

    5. After the store home page loads, add an item to the shopping cart and complete the purchase, ending on the Order confirmation page, similar to the following screen capture:

    6. Refresh the Stores project to display the newly-published store assets:

      1. In WebSphere Commerce Developer, navigate to .

      2. From the Store project's pop-up menu, select Refresh.

< Previous | Next >


+

Search Tips   |   Advanced Search