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:

    really wierd browser truncating (1997) [OT] HTML Table Cell Problem (2003) Another Flash Question (2000) 2 Nt's (1998) auto enter dates (1998) garbage on page (2000) Show shoppingcart after remove last item (1997) ftp access on Macos X (2000) FEA REQ: One .hdr, multiple .db's (2003) frames & carts (1997) limiting found items (2001) Frames and WebCat (1997) Help! (2000) Claris HomePage messes up the code (1997) how to use WebCat w. SSL & CyberCash (1998) Newbie - Search question (1998) [protect] on NT? (1997) My new discussion forum (2003) Robert Minor duplicate mail (1997) RE: Formulas.db + Users.db (1997)