Creating a default shipping mode

In order to set a default shipping mode for the store, you must 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 in the following directory:
    • WC_installdir/schema/xml
    • WebSphere Commerce Developer WCDE_installdir/schema/xml
  2. Using the following example as your guide, in your 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"       
    />