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:

    Forms Search Questions (1997) any suggestions for creating a multi-lingual site? (1999) Protect vs Authenicate (1997) [subtotal] (2000) Spaces inside [AppendFile] (1998) View order not right (1997) WebDNA-Talk Digests (1997) Secure Sever and showcart errors (1997) Re:UPS, FEDEX TRACKING (1999) Webcat 2.0.1b1 bug with IE 3.01/4.0p1 (1997) Problems with [Applescript] (1997) Forms Search Questions (1997) Database Updates (1997) Setting up shop (1997) catagories (1997) Database Upload (2000) SHOWNEXT (1999) [ShowIf] and empty fields (1997) Pithy questions on webcommerce & siteedit (1997) changing boxes (2008)