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 I never see when I do a simple store.I have a complex Shoppingcart who work fine when I remove items, but not the last one. When I try to remove the last one, WebCat remove it in the shoppingcart but close alls databases (no error message in the error.db) and don't charge 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 I call 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 showcart command---------- 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 Commande est Vide

[/showif] [showif A[lineItems][lineindex][/lineitems]!A]

Your Shopping Cart contain 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:

        
    1. Re: Show shoppingcart after remove last item (Grant Hulbert 1997)
    2. Re: Show shoppingcart after remove last item (Jacques VERNAY 1997)
    3. Re: Show shoppingcart after remove last item (Grant Hulbert 1997)
    4. Re: Show shoppingcart after remove last item (Jacques VERNAY 1997)
    5. Re: Show shoppingcart after remove last item (Grant Hulbert 1997)
    6. Show shoppingcart after remove last item (Jacques VERNAY 1997)
    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 I never see when I do a simple store.I have a complex Shoppingcart who work fine when I remove items, but not the last one. When I try to remove the last one, WebCat remove it in the shoppingcart but close alls databases (no error message in the error.db) and don't charge 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 I call 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 showcart command---------- 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]
    [math]dompackage[/math]> [math]MBpackage[/math]>

    Zarcrom Ordering Template


    [showif A[lineitems][lineindex][/lineitems]=A]

    Votre Bon de Commande est Vide

    [/showif] [showif A[lineitems][lineindex][/lineitems]!A]

    Your Shopping Cart contain 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:

    New Site Announcement (1998) RE: Suggestions for Topics to be covered in an Advanced WebDNACourse... (1998) Shipcost lookup? (1997) syntax question, not in online refernce (1997) HELP..Changing Price after adding to cart. (1999) GuestBook example (1997) pc (1997) Calendar (1997) Not really WebCat (1997) vs (1997) Webten&Webcat (1998) [WriteFile] problems (1997) Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997) Looking up two prices in database? (1997) X etc.... (1999) Auto Unsubscribe (2000) Nested tags count question (1997) # fields limited? (1997) math problems (2000) Apache 2.0 question (AddModule mod_webcatalog.cpp) (2008)