Data Load best practices for Price

The following best practices are recommended when you use the Data Load utility to load price data.

Price rules

Product-level pricingWebSphere Commerce supports items or SKUs without price details if loaded using data load. When you create an item or SKU in Management Center, price details are mandatory. But if you load them using data load, then you can load an item or SKU without price details. The system will automatically pick the item's parent price if it's own price is not available. The pricing logic allows an item using its parent product price. The price rule engine will find the item-level price first, and if it does not find a price, it will then find its corresponding item parent price.

Price lists

Mark price lists for deletionThe markPriceListForDelete attribute is used to mark the price list for deletion when you load your price data. This attribute is set to true by default. To disable markPriceListForDelete, set the attribute to false as shown:
<_config:BusinessObjectMediator className="com.ibm.commerce.price.dataload.mediator.PriceListMediator">
	<_config:property name="markPriceListForDelete" value="false" />
</_config:BusinessObjectMediator>
Use the unique ID to load price listsThe price list can be loaded by specifying:
  1. Price list unique ID: The price list is loaded according to the price list unique ID.
  2. Price list name and price list unique ID: If both the price list name and price list unique ID are provided in the CSV file, the price list is loaded according to the price list unique ID.
  3. Price list name: The price list is loaded according to the price list name.
Use the first option to load your price list data to achieve the best performance.

Offers

Mark offers for deletionThe markOfferForDelete attribute is used to mark offer for deletion when you load the offer data. This attribute is set to true by default. To disable markOfferForDelete, set the attribute to false as shown:
<_config:BusinessObjectMediator className="com.ibm.commerce.price.dataload.mediator.OfferMediator">
	<_config:property name="markOfferForDelete" value="false" />
</_config:BusinessObjectMediator>
Use price list and catalog entry name and unique ID to load offersThe offer list can be loaded by specifying:
  • Price list name and catalog entry part number
  • Price list name, price list unique ID, and catalog entry part number: If both the price list name and price list unique ID are provided in the input file, the Data Load utility loads according to the price list unique ID.
  • Price list name, catalog entry unique ID, and catalog entry part number: If both the catalog entry part number and catalog entry unique ID are provided in the input file record, the Data Load utility loads according to the catalog entry unique ID.
  • Price list name, price list unique ID, catalog entry part number, and catalog entry unique ID: The offer list is loaded according to price list unique ID and catalog entry unique ID.
Use the fourth option to achieve the best performance.
Note: If you do not specify the price list name or price list unique ID in the input file, the offer is loaded into the default price list of the catalog entry.

Use one Currency modeUse one currency price per record in your input file to ease maintenance, and enhance performance when you load large offers in a single file.