I don't know why, but the drop down menus I try to create do not display, although the customer comments box does show up.
any idea why?
# 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.Form no --]
[-- VAR.Options no --]
[-- VAR.Quantity no --]
[-- VAR.Graphic no --]
### Start the form for Add to Cart button ###
[-- 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 --]
#######################
# ADD TO CART BUTTON #
#######################
[-- INCLUDE Product-AddToCartButton PROCESS --]
# end the IF PRODUCT.subproducts
[-- END_IF --]
###########################
# PRODUCT GRAPHIC #
# align=right, wrap=off #
###########################
[-- INCLUDE Product-GraphicRight PROCESS --]
[-- IF PRODUCT.Subproduct --]
# do nothing
[-- ELSE --]
</form>
[-- END_IF --]
[-- END_DEFINE PRODUCT --]
#############################
[-- DEFINE MORE_INFO_PAGE --]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
#############################
[-- VAR.MoreInfo "yes" --]
[-- IF VAR.MoreInfoTemplate --]
[-- INCLUDE VAR.MoreInfoTemplate PROCESS --]
[-- ELSE --]
[-- INCLUDE Classic-MoreInfoPage PROCESS --]
[-- END_IF --]
[-- VAR.MoreInfo "" --]
[-- END_DEFINE MORE_INFO_PAGE --]
Users browsing this forum: No registered users and 156 guests