Develop > Persistence layer > Data assets > Create store data assets


Create a default shipping mode

In order to set a default shipping mode for the store, add information to the STOREDEF table. A default shipping mode is the combination of the shipping carrier, (the company that provides shipping services from a fulfillment center to a customer) and the shipping service offered by that carrier (XYZ Courier, Overnight service is a shipping mode) that will be pre-selected on the store's Checkout pages. You can set the default shipping mode by using the WebSphere Commerce Accelerator, or by loading information to the STOREDEF table.


Procedure

  1. Create an XML file that follows the wcs.dtd. The DTD files are located...

  2. Use the following example as the guide, in the XML file, specify the default shipping mode for the store by adding information to the STOREDEF table:

    <storedef
       store_id="@storeent_id_1"
       shipmode_id="@shipmode_id_1"       
    />
    


Related tasks

Load a store

Load database asset groups

Set the default shipping mode

Related reference

Store data model

Database asset groups dependencies


+

Search Tips   |   Advanced Search