JE Shore wrote:
Anyone have a real life sample of a product template used with multi-add
forms? The Shopsite example is just confusing me more that I ever
thought possible.
Thanks
JE Shore
The multi-product add requires both a custom page and custom product
template. The page template defines the form and the submit parts of
the form and the product template defines the input= for each of the
products.
Below is the product template from my store page
http://beeutahful.com/store/arachne2003_sale.html (note that it is
copied directly from the ShopSite help on page
http://www.shopsite.com/help/6.3/en-US/ ... i-add.htmlJim
-----------
[-- DEFINE PRODUCT --]
#NOTE: No opening or closing FORM tags appear here-
#those must be placed in the PAGE Template
#Generate the checkbox - notice the name is itemnum
#and its value is the database record number
<P><input type=checkbox name=itemnum value=[-- PRODUCT.RECORDNUMBER --]>
#if a Quantity is required generate the quantity box
[-- IF product.DisplayOrderQuantity? --]
Quantity <input type=text size=2 name="[-- PRODUCT.RECORDNUMBER
--]:qnty"
value="1">
[-- END_IF --]
[--PRODUCT.Name--]
[--PRODUCT.Price--]
#<BR>[-- Product.ProductDescription --]
# Generate the Ordering Option Menus
[-- IF PRODUCT.DisplayOrderingOptions --]
<BR>
[-- PRODUCT.OptionText --]
[-- ORDER_OPTION_MENU LINE --]
[-- END_IF --]
</P>
[-- END_DEFINE PRODUCT --]