Show shoppingcart after remove last item
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12567
interpreted = N
texte = Hello WebCat'sCould somebody help me ? (and understand my bad English)I try to do a special site with WebCat (WC 2) and I have a problem Inever see when I do a simple store.I have a complex Shoppingcart who work fine when I remove items, but notthe last one.When I try to remove the last one, WebCat remove it in the shoppingcartbut close alls databases (no error message in the error.db) and don'tcharge the page.The browser source code in the template seem's good.When I have no product in the Shoppingcart, it's the same thing if Icall it with a showcart command.Please, see my code.Thank you for your help.Jacques VERNAYMy Webdna code---shoppingcart.tmpl call by a add action, remove or showcartcommand----------
Zarcrom Order Page>[showif [command]=add][include file=incfiles/order2.inc][/showif][showif [command]=Remove] [delete db=bases/technique.txt&eqtec_numtechniquedata=[numtechnique]][/showif][showif [command]=Remove] [/showif]
| 
Your Shopping Cart
[showif A[lineItems][lineindex][/lineitems]!A]
[/showif] | | Zarcrom Ordering Template
[showif A[lineItems][lineindex][/lineitems]=A]Votre Bon de Commandeest Vide[/showif][showif A[lineItems][lineindex][/lineitems]!A]Your Shopping Cartcontain the following Items[lineItems] [convertchars][textA][/convertchars]$[format .2f][price][/format] DELETE ITEM[/lineItems] Grand Total : $ [format .2f][Grandtotal][/format][/showif] | |
-- _________________________________________________________________| - ABSIDIAL - Web Ingenierie - || Tel. (+33) 01.40.36.46.59 || http://www.zarcromcorp.com/absidial - absidial@zarcromcorp.com || ABSIDIAL SARL partenaire de ZARCROM Industries Corp. USA | �����������������������������������������������������������������>
Associated Messages, from the most recent to the oldest:
Hello WebCat'sCould somebody help me ? (and understand my bad English)I try to do a special site with WebCat (WC 2) and I have a problem Inever see when I do a simple store.I have a complex Shoppingcart who work fine when I remove items, but notthe last one.When I try to remove the last one, WebCat remove it in the shoppingcartbut close alls databases (no error message in the error.db) and don'tcharge the page.The browser source code in the template seem's good.When I have no product in the Shoppingcart, it's the same thing if Icall it with a showcart command.Please, see my code.Thank you for your help.Jacques VERNAYMy Webdna code---shoppingcart.tmpl call by a add action, remove or showcartcommand----------
Zarcrom Order Page>[showif [command]=add][include file=incfiles/order2.inc][/showif][showif [command]=Remove] [delete db=bases/technique.txt&eqtec_numtechniquedata=[numtechnique]][/showif][showif [command]=Remove] [/showif]
| 
Your Shopping Cart
[showif A[lineitems][lineindex][/lineitems]!A]
[/showif] | | Zarcrom Ordering Template
[showif A[lineitems][lineindex][/lineitems]=A]Votre Bon de Commandeest Vide[/showif][showif A[lineitems][lineindex][/lineitems]!A]Your Shopping Cartcontain the following Items[lineitems] [convertchars][textA][/convertchars]$[format .2f][price][/format] [url][sku][/url]&cart=[numcommande]&form_dompackage=[math]dompackage[/math]&form_100package=[math]MBpackage[/math]&numclient=[numclient]&numcommande=[numcommande]&numfacture=[numfacture]&clitype=[clitype]&numtechnique=[textB]>DELETE ITEM[/lineItems] Grand Total : $ [format .2f][Grandtotal][/format][/showif] | |
-- _________________________________________________________________| - ABSIDIAL - Web Ingenierie - || Tel. (+33) 01.40.36.46.59 || http://www.zarcromcorp.com/absidial - absidial@zarcromcorp.com || ABSIDIAL SARL partenaire de ZARCROM Industries Corp. USA | �����������������������������������������������������������������>
Jacques VERNAY
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:
[url] (1997)
Help :( (2001)
WebCat2: Items xx to xx shown, etc. (1997)
Alais Shopping Cart Directory (1998)
WebCat2_Mac RETURNs in .db (1997)
View order not right (1997)
Problem displaying search result (1997)
WebCat2b15MacPlugin - showing [math] (1997)
problems with 2 tags shakur (1997)
[WebDNA] Mac OS X Server ("Maverick") - Not Authorized (2014)
This is probably a stupid question... (2004)
Summing fields (1997)
[isfile] ? (1997)
OT - New Ti Books (2002)
New site announcement + Showing once on a founditems (1997)
WebCatalog NT beta 18 now available (1997)
Multiple catalog databases and showcart (1997)
Can I determine where they are coming from? (2000)
Webcat Security (1998)
Max Record length restated as maybe bug (1997)