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 pricingHCL 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
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>
- Price list unique ID: The price list is loaded according to the price list unique ID.
- 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.
- Price list name: The price list is loaded according to the price list name.
Offers
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>
- 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 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.