Deleting a published store

When you publish a store using WebSphere Commerce, store assets and database objects are saved within the WebSphere Commerce Server. If you want to delete the store, you must ensure that it is cleaned from the WebSphere Commerce system. You might want to delete a store if you encountered problems when you tried to publish the store, or you have a corrupted store. Once the store is cleaned from the WebSphere Commerce system, you can republish it. The following procedure to delete a published store is not applicable for the toolkit environment as dbClean is not supported in the toolkit. If you want to delete a store, contract, or fulfillment without using dbClean, then refer to the following link, which contains all the dbClean objects Database Cleanup utility objects

Procedure

  1. Open the WebSphere Commerce Accelerator
  2. Close the store and mark it for deletion.
    OptionDescription
    For B2B and B2C stores
    1. Select your store in the Store name options.
    2. Click Store > Open/Close
    3. Click Close Store.
    4. Connect to the development database.
    5. In the STOREENT table, enter '1' for the MARKFORDELETE flag for your store.
    6. In the FFMCENTER table, enter '1' for the MARKFORDELETE flag for your store.
    For Extended Sites stores
    1. Select Extended Sites Hub in the Store name options.
    2. Select Extended Sites > View Stores. If you do not see this menu, then your logon ID does not have the appropriate authority to perform this task. Contact your Site Administrator.
    3. Select the check box to the left of the store that you want to delete.
    4. Click Delete. The page displays the updated list of stores.
    5. Connect to the development database.
    6. In the FFMCENTER table, enter '1' for the MARKFORDELETE flag for your store.
  3. Delete WebSphere Commerce objects from the database:
    1. Delete store objects
    2. WebSphere Commerce Enterprise Delete contract objects
    3. Delete fulfillment center objects (a default fulfillment center is assigned to all stores, so fulfillment center objects must be removed before you can republish the store).
    4. Delete all SEO data objects that are related to the store. These objects can be found in the following tables: SEOURLKEYWORD, SEOURL, SEOREDIRECT, and SEOREDIRECTTRAFFIC.
  4. Delete the store files from the file system using a partial application update.
  5. Republish the store and test that it works. Use the same store name that you used previously. If you encounter issues when you republish your store, see Troubleshooting: Publishing a store archive.