Class Name

atg.commerce.pricing.PriceRangeDroplet

Component(s)

/atg/commerce/pricing/PriceRangeDroplet

When given a product, this droplet determines the highest and lowest price for the range of SKUs associated with the product.

Input Parameters

productId (required)
The id of product repository item that needs to be priced

pricelist (optional)
The price list to be used for pricing. If it is not set, the the profile’s assigned price list will be used.

salePriceList (optional)
The sale price list to be used for pricing. If it is not set, the the profile’s assigned sale price list will be used.

Output Parameters

lowestPrice
Double representing the lowest price found.

highestPrice
Double representing the highest price found.

Open Paramaters

output
- always serviced

Example

The example here shows the PriceRangeDroplet’s use.

<dsp:droplet name="/atg/commerce/custsvc/pricing/PriceRangeDroplet">
   <dsp:param name="productId" value="productId">
   <dsp:param name="priceList" bean="priceList">
   <dsp:oparam name="output">
      <dsp:valueof param="lowestPrice">no price no price