Product Template Sample

This is an archive of old posting to the User Forum

Product Template Sample

Postby JE Shore » Tue Sep 02, 2003 2:56 pm

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
JE Shore
 

Re: Product Template Sample

Postby Jim » Wed Sep 03, 2003 2:17 pm

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.html
Jim
-----------

[-- 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 --]
Jim
 


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 24 guests