Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- begin cartadd template -->
- <div id="addtocart">
- <ss:if test="$product.attributeLists">
- <div id="attributes">
- <div> Please select options:</div>
- <dl id="attr-list">
- <ss:foreach item="productAttrList" within="$product.attributeLists">
- <ss:if test="$productAttrList.attributeValues">
- <ss:if test="$productAttrList.attributeValues.size > 1">
- <ss:if test="$productAttrList.displayType == DisplayType.RADIO">
- <ss:foreach item="attributeValue" within="$productAttrList.attributeValues">
- <ss:if test="$counter.currentRow==1">
- <dt><ss:font source="$font.paragraph"><b><ss:value source="$productAttrList.attributeLabel"/></b></ss:font></dt>
- </ss:if>
- <dd><ss:radio name="$system.concat('attributevalue_', $productAttrList.listNumber)" source="$attributeValue" checked="$counter.currentRow==1"/><ss:font source="$font.paragraph"><ss:value source="$attributeValue"/></ss:font><br>
- </ss:foreach>
- <ss:else/>
- <dt><ss:font source="$font.paragraph"><b><ss:value source="$productAttrList.attributeLabel"/>:</b> </ss:font></dt>
- <dd><ss:select source="$productAttrList.attributeValues" name="$system.concat('attributevalue_', $productAttrList.listNumber)"/></dd>
- </ss:if>
- <ss:else/>
- <dt><ss:font source="$font.paragraph"><b><ss:value source="$productAttrList.attributeLabel"/>:</b> </ss:font></dt>
- <dd><ss:value source="$productAttrList.valuesText"/></dd>
- <input type="hidden" name="$system.concat('attributevalue_', $productAttrList.listNumber)" value="$productAttrList.valuesText"/>
- </ss:if>
- </ss:if>
- </ss:foreach>
- </dl>
- </div>
- </ss:if>
- <ss:if test="$product.customService1Enabled || $product.customService2Enabled">
- <div id="servicetable">
- <dl id="custom-services">
- <ss:if test="$product.customService1Enabled">
- <ss:if test="$string.matches($product.customService1Title, 'NULL')">
- <ss:else/>
- <dt><label for="custom-service-1"><ss:value source="$product.customService1Title"/><ss:comment><span class="cost"><ss:value source="$product.customService1Fee" format="currency"/></span></ss:comment></label></dt>
- <dd><input id="custom-service-1" type="text" name="custom1" maxlength="50" size="20"></dd>
- </ss:if>
- </ss:if>
- <ss:if test="$product.customService2Enabled">
- <ss:if test="$string.matches($product.customService1Title, 'NULL')">
- <ss:else/>
- <dt><label for="custom-service-2"><ss:value source="$product.customService2Title"/><ss:comment><ss:if test="$product.customService2Fee"><span class="cost"><ss:value source="$product.customService2Fee" format="currency"/></span></ss:if></ss:comment></label></dt>
- <dd><input id="custom-service-2" type="text" name="custom2" maxlength="50" size="20"></dd>
- </ss:if>
- </ss:if>
- </dl>
- </div>
- </ss:if>
- <span style="float: left; margin: 17px 0; width: 100%;">Quantity: <input type="text" name="qty" value="1" size="3"></span><ss:comment><ss:link shortcut="BuyIt" image="$templateSet.images['buyit.gif']"/></ss:comment><input type="image" src="$templateSet.images['buyit.gif']" value="Add To Cart" style="float: left;"/>
- </div>
- <!-- end cartadd template -->
Add Comment
Please, Sign In to add comment