Posted - February 10 2005 : 15:51:39
| I'm not really answering your questions directly, but I'll give you an example of what i've done.
if you go here:
you'll see that each product has links for "instructions" and "buy factory mounts". In the template for the products (tmp_productformat.asp) the code to view those is just
what I gather is that you want to be able to add your own [ ] tags to your template files. in shopproductformat_template.asp there is this (line 69)
Sub Handle_Product (isub)
select case isub
'added by sean 10/12/04
If ProductSelect="Yes" then
debugwrite "Unknown sub"
if you noticed I added my own formatproductoptions to the list, now all you have to do is add the sub "formatproductoptions" to shopproductformat.asp. When your template file has [whatever] it goes tot he product_template file and finds the subrutine, then in productformat it runs it.
so for you, you can either edit exsisting VPASP code to grab the values from the DB for you, or write your own sub (I reccomend that). use shopopendatabase yourConnObj query the DB for the items you want, and write them to the screen.
hope this helps a bit!