The atg.commerce.endeca.index.producer.PriceListPairVariantProducer class produces a separate record for each price list pair. It obtains the price list pair for each site from the values of the defaultListPriceList and defaultSalePriceList properties of the site’s siteConfiguration item.

The Guided Search integration includes a component of this class, /atg/commerce/search/PriceListPairVariantProducer, which is added to the ProductCatalogOutputConfig.variantProducers property by the DCS.Endeca.Index module. The following are key properties of PriceListPairVariantProducer.

priceListPairUniqueParamName

The name of the query parameter used to specify the price list pair in the URL identifying a product or SKU. By default, this property is set to priceListPair. For example, the value of the product.url property in a record might be:

atgrep:/ProductCatalog/sku/xsku2099?_product=xprod2099&catalog=
  homeStoreCatalog&locale=en_US&priceListPair=plist3080003_plist3080002
languagesPropertyName

The name of the property of the siteConfiguration item that specifies the languages for the site. By default, this property is null. If this property is set, PriceListPairVariantProducer uses the value of the specified siteConfiguration property to exclude unneeded variants.

Note that by default the Oracle Commerce Platform does not have a property for languages on the siteConfiguration item. If the languagesPropertyName is not set to a valid siteConfiguration property, records are generated for all possible combinations of language and price list pair.


Copyright © 1997, 2019 Oracle and/or its affiliates. All rights reserved. Legal Notices