Re: Show shoppingcart after remove last item

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12585
interpreted = N
texte = Grant Hulbert wrote:> >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. > > I don't know what you mean when you say it closes all databases. What do you see that makes you think they are closed? Also, are you sure this is not a problem with the Netscape cache -- maybe Netscape thinks it has seen this page before, and you need to put PRAGMA NOCACHE into the headers.No, in an other Window I open the Webcat Admin, and I see alls databases are closed after I try this command.> > >When I have no product in the Shoppingcart, it's the same thing if I > >call it with a showcart command. > > What is the purpose of [numcommande]? Is there a reason not to use [cart]?Yes, because this shopping cart is not the last one, I use the unique number of billing informations stored in a database. Each time somes professionnal clients comes they use a shopping cart, but when they comes again, I use the same number, but the shopping cart is stored in a special folder.As I have this problem, I try using a other way, an [orderfile] context in my page in place of $showcart command to call the page and this work fine. Have a loock to my new tags :-)And thank'sJacques VERNAY=================================================== Zarcrom Order Page > [showif [op]=a] [addlineitem cart=[numcommande]&sku=[order]&db=bases/catalog.txt]quantity=1&texta=[textA]&textB=[textB]&header20=[header20]&header21=[header21]&header22=[header22]&header23=[header23]&header30=[header30]&header31=[header31][/addlineitem] [hideif [formorder1]=noinfotechnique][include file=incfiles/order2.inc][/hideif] [/showif] [showif [op]=d] [delete db=bases/technique.txt&eqtec_numtechniquedata=[numtechnique]] [removelineitem cart=[numcommande]&index=[line]] [/showif] [showif [op]=d] [/showif]
[orderfile cart=[numcommande]]

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]
  • [/orderfile]





    -- _________________________________________________________________ | - 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)
    Grant Hulbert wrote:> >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. > > I don't know what you mean when you say it closes all databases. What do you see that makes you think they are closed? Also, are you sure this is not a problem with the Netscape cache -- maybe Netscape thinks it has seen this page before, and you need to put PRAGMA NOCACHE into the headers.No, in an other Window I open the Webcat Admin, and I see alls databases are closed after I try this command.> > >When I have no product in the Shoppingcart, it's the same thing if I > >call it with a showcart command. > > What is the purpose of [numcommande]? Is there a reason not to use [cart]?Yes, because this shopping cart is not the last one, I use the unique number of billing informations stored in a database. Each time somes professionnal clients comes they use a shopping cart, but when they comes again, I use the same number, but the shopping cart is stored in a special folder.As I have this problem, I try using a other way, an [orderfile] context in my page in place of $showcart command to call the page and this work fine. Have a loock to my new tags :-)And thank'sJacques VERNAY=================================================== Zarcrom Order Page > [showif [op]=a] [addlineitem cart=[numcommande]&sku=[order]&db=bases/catalog.txt]quantity=1&texta=[textA]&textB=[textB]&header20=[header20]&header21=[header21]&header22=[header22]&header23=[header23]&header30=[header30]&header31=[header31][/addlineitem] [hideif [formorder1]=noinfotechnique][include file=incfiles/order2.inc][/hideif] [/showif] [showif [op]=d] [delete db=bases/technique.txt&eqtec_numtechniquedata=[numtechnique]] [removelineitem cart=[numcommande]&index=[line]] [/showif] [showif [op]=d] [/showif]
    [orderfile cart=[numcommande]]

    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]
    [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]
  • [/orderfile]





    -- _________________________________________________________________ | - 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:

    WebDNA on OS X Tiger (2006) emailer error 103 part ii (1997) Best way to download a db (2003) textarea data entry and display (2000) expire headers in mac305b11 (1999) Sum of [founditems] ? (2004) .db-tmp (2000) HideIf ip= OR ip (1998) emailer 150 (1997) [cart] (1998) Bug? (1997) Banner DNA (1997) Virtual hosting and webcatNT (1997) Interfacing WebMerchant to www.fedex.com (1997) NT version (1997) WebCat2 several catalogs? (1997) Incrementing a number (1998) Math Problem - Format? (1997) Strange intermittent WebDNA problems (2008) Transfer of data from Invoice to thank you templates (1998)