A bundle product can be treated exactly as a normal product. However, since bundles have some special properties, we decided to create a special template to display them in the Pioneer Cycling store,. You can view this template in <ATG2007.3dir>/PioneerCyclingJSP/j2ee-apps/pioneer/web-app/en/catalog/product_bundle.jsp. This template displays the names of all the component SKUs, and their inventory status. It tells customers exactly what is in each bundle, and assures them that every part of it is in stock. It also displays the list price of each component SKU, so customers notice their savings.

To print out the names and list prices of all the component SKUs in a bundle SKU, we simply iterated over the SKU’s bundleLinks attribute. For example, the bundle SKU in the bundleSKU parameter:

<dsp:droplet name="/atg/dynamo/droplet/ForEach">
  <dsp:param name="array" param="Product.childSKUs[0].bundleLinks"/>
  <dsp:param name="elementName" value="link"/>
  <dsp:oparam name="output">
       <dsp:valueof param="link.item.displayName">Nothing</dsp:valueof>
       <dsp:valueof converter="currency" param="link.item.listPrice">no
            price</dsp:valueof>
       <br>
  </dsp:oparam>
  </dsp:oparam>
</dsp:droplet>
 
loading table of contents...