Tiny Store

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19532
interpreted = N
texte = Hi folks, I am trying to modify the Tiny Store example posted on the PCS site. I want to provide a link on the invoice.tpl page to allow people to go back and add further items to the shopping cart. When I did this using,
and went to add another item to my shopping cart it seems to forget my first item. Has anybody done this with the Tiny store example? Any help much appreciated. Below is the 'working's' of the invoice.tpl page which allows users to add multiple items to a shopping cart based on checkboxes.

Your Final Invoice Contains the Following Items

[OrderFile cart=[cart]] [Search db=[db]&neSKUdata=[blank]] [FoundItems] [ShowIf [Interpret][check[index]][/Interpret]=T] [AddLineItem db=[db]&cart=[cart]&sku=[sku]]quantity=[Interpret][qty[index]][/Interpret]&textA =[Interpret][size[index]][/Interpret][/AddLineItem] [/ShowIf] [/FoundItems] [/Search]
[lineItems] [/lineItems]Regards, **************************************************************** Micheal O Se www.elive.ie Internet Hosting Service micheal@elive.ie Database powered websites **************************************************************** Associated Messages, from the most recent to the oldest:

TitleSizeQtyPriceQty*PriceHandling Charge
[title][textA][quantity]$[price]$[format .2f][math][quantity]*[price][/math][/format]$[unitShipCost]
    
  1. Tiny Store: Remove Line Item? (Danz 2000)
  2. Tiny Store / Checkboxes (John Hill 1998)
  3. Re: Tiny Store (PCS Technical Support 1998)
  4. Re: Tiny Store (Mícheál O Sé 1998)
  5. Re: Tiny Store (PCS Technical Support 1998)
  6. Tiny Store (Mícheál O Sé 1998)
Hi folks, I am trying to modify the Tiny Store example posted on the PCS site. I want to provide a link on the invoice.tpl page to allow people to go back and add further items to the shopping cart. When I did this using, [cart]>
and went to add another item to my shopping cart it seems to forget my first item. Has anybody done this with the Tiny store example? Any help much appreciated. Below is the 'working's' of the invoice.tpl page which allows users to add multiple items to a shopping cart based on checkboxes.

Your Final Invoice Contains the Following Items

[cart]>
[OrderFile cart=[cart]] [Search db=[db]&neSKUdata=[blank]] [founditems] [ShowIf [interpret][check[index]][/Interpret]=T] [AddLineItem db=[db]&cart=[cart]&sku=[sku]]quantity=[interpret][qty[index]][/Interpret]&textA =[interpret][size[index]][/Interpret][/AddLineItem] [/ShowIf] [/FoundItems] [/Search]
[cart]> [lineitems] [/lineItems]Regards, **************************************************************** Micheal O Se www.elive.ie Internet Hosting Service micheal@elive.ie Database powered websites **************************************************************** Mícheál O Sé

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Return records from another (1997)[Sum] function? (1997) FileInfo (2004)creator code (1997)Problems with [Applescript] (1997)Math with Time (1997)Re:2nd WebCatalog2 Feature Request (1996)[WebDNA] No more SQL in 7.1? (2012)syntax question, not in online refernce (1997)WebCat2b12 CGI Mac -- Problems propagating the cart through (1997)[math] are you there? (1999)Re1000002: Setting up shop (1997)HELP WITH DATES (1997)Emailer setup (1997)[WriteFile] problems (1997)no template caching (1997)[WebDNA] path traversal (2020)A quickie question (1997)Need help with emailer- 2 issues (1997)Buggy Code (1998)
TitleSizeQtyPriceQty*PriceHandling Charge
[title][textA][quantity]$[price]$[format .2f][math][quantity]*[price][/math][/format]$[unitShipCost]