# Generic Product Template with No "View Cart" button
#########################
[-- DEFINE SUBPRODUCT --]
#########################
[-- IF VAR.MoreInfoTemplate --]
<div class="Subproduct">
[-- IF ANALYTICS_MULTI_DOMAIN --]
<form action="[-- SHOPPING_CART_URL BASE --]/order.cgi" method="post" onSubmit="javascript:__utmLinkPost(this)">
[-- ELSE --]
<form action="[-- SHOPPING_CART_URL BASE --]/order.cgi" method="post">
[-- END_IF --]

[-- INCLUDE Subproduct-Name PROCESS --]
[-- INCLUDE Subproduct-Price PROCESS --]
[-- INCLUDE Subproduct-AddToCartButton PROCESS --]
</div>
[-- ELSE --]
[-- INCLUDE Subproduct-Name PROCESS --]
[-- INCLUDE Product-Price PROCESS --]
[-- INCLUDE Subproduct-AddToCartButton PROCESS --]
[-- END_IF --]

#############################
[-- END_DEFINE SUBPRODUCT --]
#############################



######################
[-- DEFINE PRODUCT --]
######################
### Set a bunch of variables ###
[-- VAR.TableLayout no --]
[-- VAR.Options no --]
[-- VAR.Quantity no --]
[-- VAR.Graphic no --]

### Start the form for Add to Cart button ###
[-- IF PRODUCT.UseMultiMenus  checked --]
[-- ELSE_IF PRODUCT.Subproduct --]
# do nothing
[-- ELSE --]
  [-- IF ANALYTICS_MULTI_DOMAIN --]
  <form action="[-- SHOPPING_CART_URL BASE --]/order.cgi" method="post" onSubmit="javascript:__utmLinkPost(this)">
  [-- ELSE --]
  <form action="[-- SHOPPING_CART_URL BASE --]/order.cgi" method="post">
  [-- END_IF --]
[-- END_IF --]

#####################
# GRAPHIC ALIGNMENT #
#####################
[-- INCLUDE Product-GraphicAlign PROCESS --]

####################
#  PRODUCT GRAPHIC #
####################
[-- INCLUDE Product-Graphic PROCESS --]

########################
#    PRODUCT NAME      #
########################
[-- INCLUDE Product-Name PROCESS --]

########################
#  PRODUCT SUBPRODUCTS #
########################
[-- IF PRODUCT.Subproduct --]
# Product has subproducts, so just show description for this product
# and then loop through subproducts
  [-- INCLUDE Product-Description PROCESS --]

  [-- VAR.MoreInfo no --]

  [-- LOOP SUBPRODUCTS --]
    [-- SUBPRODUCTS --]
  [-- END_LOOP SUBPRODUCTS --]

[-- ELSE --]
# Product does not have subproducts

####################
#  PRODUCT PRICE   #
####################
[-- IF PRODUCT.QuantityPricing --]
#do nothing
[-- ELSE --]
  [-- INCLUDE Product-Price PROCESS --]
[-- END_IF --]

########################
#    PRODUCT SKU       #
########################
[-- INCLUDE Product-Sku PROCESS --]

########################
#  PRODUCT DESCRIPTION #
########################
[-- INCLUDE Product-Description PROCESS --]

########################
#   WISHLIST/WISHPOT   #
########################
[-- IF WishList --][-- WishList --][-- END_IF --]

#######################
#  ADD TO CART BUTTON #
#######################
[-- IF PRODUCT.UseMultiMenus  checked --]
  [-- IF PRODUCT.DisplayMoreInformationPage --]
    [-- IF MOREINFOIMAGE? --]
      <br><nobr><a href="[-- PRODUCT.MoreInfoURL --]"><img [-- MOREINFOIMAGE --] border="0"></a></nobr>
    [-- ELSE --]
      <br><nobr><a href="[-- PRODUCT.MoreInfoURL --]" class="btn">[-- MOREINFOTEXT --]</a></nobr>
    [-- END_IF --]
  [-- END_IF --]
[-- ELSE --]
[-- INCLUDE Product-AddToCartButton PROCESS --]
[-- END_IF --]

# end the IF PRODUCT.subproducts
[-- END_IF --]

###########################
#  PRODUCT GRAPHIC        #
#  align=right, wrap=off  #
###########################
[-- INCLUDE Product-GraphicRight PROCESS --]

[-- IF PRODUCT.UseMultiMenus  checked --]
[-- ELSE_IF PRODUCT.Subproduct --]
# do nothing
[-- ELSE --]
  </form>
[-- END_IF --]

[-- END_DEFINE PRODUCT --]


#############################
[-- DEFINE MORE_INFO_PAGE --]
#############################
[-- VAR.MoreInfo "yes" --]

[-- IF VAR.MoreInfoTemplate --]
  [-- INCLUDE VAR.MoreInfoTemplate PROCESS --]
[-- ELSE --]
  [-- INCLUDE Classic-MoreInfoPage PROCESS --]
[-- END_IF --]

[-- VAR.MoreInfo "" --]
[-- END_DEFINE MORE_INFO_PAGE --]