(Enterprise)

Migrate a store to use catalog entry description overrides

If our extended site store is published on a previous level of WebSphere Commerce, migrate the store before we can set descriptions overrides. After you configure our extended site store, we can then load description overrides using the Data Load utility or the Management Center Catalog Upload feature.

We can also use the Management Center Catalogs tool to set store specific descriptions to override inherited catalog entry descriptions in the storefront.


Before beginning


Task info

Description overrides provide the store with the capability to set store-specific storefront descriptions for catalog entries that are inherited from our asset store. When you set a description override, the inherited description no longer displays on the storefront. Your description override displays to shoppers on the storefront for the catalog entry.


Procedure

  1. Determine the internal unique identifier and the member internal unique identifier for our store by running the following SQL statement:

      SELECT STOREENT_ID, MEMBER_ID FROM STOREENT WHERE IDENTIFIER='YourStoreIdentifier'

    where: YourStoreIdentifier is the external identifier of the store.

  2. Add records to the CATOVRGRP and STORECATOVRGRP database tables. We must add records to these tables to create the association between your description overrides and the store catalog entries. Use the following example SQL statements as a guide.

      INSERT INTO CATOVRGRP (CATOVRGRP_ID, MEMBER_ID, IDENTIFIER, STOREENT_ID) VALUES (catalog_override_group_unique_id, 
      store_member_id, identifier, store_id)
      
      INSERT INTO STORECATOVRGRP (STOREENT_ID, CATOVRGRP_ID, SEQUENCE) VALUES (store_id, catalog_override_group_unique_id,  0)

    where:

      store_id
      The store internal unique identifier found in the previous step.

      store_member_id
      The member internal unique identifier found in previous step.

      catalog_override_group_unique_id
      The unique internal identifier assigned to the catalog override group. To find the unique ID, run the following SQL statement:

        SELECT COUNTER FROM KEYS WHERE tablename='catovrgrp'

      Set the counter in the KEYS table so that WebSphere Commerce uses a primary key value greater than the value used in the manual insert. Run the following SQL statement:

        UPDATE KEYS SET COUNTER=key_value WHERE tablename='catovrgrp'

      where:

        key_value
        The catalog_override_group_unique_id used to create the override group plus 1.

  3. Build the WebSphere Commerce search index. For more information about building this index, see building the WebSphere Commerce search index.

  4. Restart the WebSphere Commerce server.


What to do next


Related concepts
Catalog entry description overrides


Related tasks
Adding catalog entry overrides with Catalog Upload


Related reference
Sample: Loading catalog entry description override data