I'm learning SS 8.1 and I have major difficulties understanding how it actually works. Below is the Default More Info Page Template where I have put in comments. I want the image to be above the descriptive text etc. I also wonder howcome there are <html> tags in an include file?
The source that SS creates as final generated page contains nested <html> tags!!!
Does anyone know how to create a new row?
Why nested <html> tags?
### Default More Info Page Template ###
<html>
[-- INCLUDE MoreInfo-Head PROCESS --]
#[-- INCLUDE Classic-MoreInfo.css PROCESS --]
</head>
[-- VAR.PageMargins "No" --]
[-- INCLUDE MoreInfo-Body PROCESS --]
[-- IF MORE_INFO.DisplayPageHeader --]
<div class="header">[-- HEADER --]</div>
[-- END_IF --]
[-- IF PRODUCT.MoreInformationGraphic --]
<img [-- PRODUCT.MoreInformationGraphic Remove_HTML --] align="left">
[-- END_IF --]
#START A NEW ROW HERE ---------------
[-- IF PRODUCT.DisplayName --]
[-- IF PRODUCT.Subproduct --]
<h2>[-- PRODUCT.Name --]</h2>
[-- ELSE_IF PRODUCT.VariablePrice? --]
[-- IF PRODUCT.VariableName? --]
[-- STORE.ProductName --]: <input type=text name="[-- PRODUCT.RecordNumber --]:name" size="20" maxlength="100" value="">
[-- ELSE --]
<h2>[-- PRODUCT.Name --]</h2>
[-- END_IF --]
[-- ELSE --]
<h2>[-- PRODUCT.Name --]</h2>
[-- END_IF --]
[-- END_IF --]
[-- IF PRODUCT.QuantityPricing --]
#do nothing
[-- ELSE --]
[-- INCLUDE Product-Price PROCESS --]
[-- END_IF --]
[-- IF PRODUCT.Subproduct --]
# don't display the SKU
[-- ELSE --]
[-- INCLUDE Product-Sku PROCESS --]<br>
[-- END_IF --]
<br>[-- PRODUCT.MoreInformationText --]
<br>
[-- IF PRODUCT.Subproduct --]
# Product has subproducts
[--LOOP SUBPRODUCTS--]
[--SUBPRODUCTS--]
[--END_LOOP SUBPRODUCTS--]
[-- ELSE --]
# Product does not have subproducts
#######################
# ADD TO CART BUTTON #
#######################
<center>
<form action="[-- SHOPPING_CART_URL BASE --]/order.cgi" method=post>
[-- INCLUDE Product-AddToCartButton PROCESS --]</form>
</center>
# end the IF PRODUCT.subproducts
[--END_IF--]
#END NEW ROW HERE----------------------------------
<br>
[-- IF MORE_INFO.DisplayPageFOOTER --]
[-- FOOTER --]
[-- END_IF --]
</body>
</html>