I figured out how to get the products to display 3 across the page but I'm having trouble with displaying the subproduct information in the price box. If I want to only display the subproducts item #, description, and price do I need to have a separate [-- Define Subproduct --] & then call that with an IF statement from the [--Define Product --] template? Am I on the right path?
- Code: Select all
[-- DEFINE PRODUCT --]
<!-- Format product as one column using CSS Divs -->
<div class="supply_outline">
<h2>[-- PRODUCT.Name --]</h2>
[-- IF Product.Graphic --][-- Product.Graphic --][-- END_IF --]
<p>[-- Product.ProductDescription --]</p>
<table width="315" border="0" cellspacing="0" cellpadding="0">
<tr>
<th width="17%" scope="col">Item #</th>
<th width="44%" scope="col">Description</th>
<th width="24%" scope="col">Price</th>
<th width="15%" scope="col"> </th>
</tr>
<tr>
<td>[-- PRODUCT.SKU --]</td>
<td>[-- PRODUCT.Name --]</td>
<td>[-- PRODUCT.Price --]</td>
<td> </td>
</tr>
[-- IF SUBPRODUCTS --]
[--LOOP SUBPRODUCTS --]
[-- SUBPRODUCT --]
[-- END LOOP_SUBPRODUCTS --]
</table>
</div>
[-- END_DEFINE PRODUCT --]
- Code: Select all
[-- DEFINE SUBPRODUCT --]
<tr>
<td>[-- PRODUCT.SKU --]</td>
<td>[-- PRODUCT.Name --]</td>
<td>[-- PRODUCT.Price --]</td>
<td> </td>
</tr>
[-- END_DEFINE SUBPRODUCT --}