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] TCPConnect assist (2016) _ in front of field name (1998) CASTEGORIES IN DIFFERENT FRAMES (1997) 09:45:00 -> 9.75 (2001) More on IE5 (2000) politeness (was searches with dash...) Please Read (2000) StoreBuilder UPS/XML code question ... (2003) Running WebCat from a CD-ROM (1997) Help! WebCat2 bug (1997) Processing stops (2006) Database not found in Include (2002) Various Problems (1997) searching multiple databases (1997) Possible Shownext from Listfiles???? (2000) Separate SSL Server (1997) blank fields (1999) WebDNA deletes major DB data big time (2004) Help name our technology! (1997) Anomaly ? causes NT application event log to overflow (1997) Frames and WebCat (1997)