Re: [WebDNA] Cart error message handling

This WebDNA talk-list message is from

2015


It keeps the original formatting.
numero = 112283
interpreted = N
texte = Common problem on the store builder sites.. here=92s an old solution: =97=97=97=97=97=97=97 [!] ** first, rename this file to "cartcheck.inc=94 , then include on = ever page or in the global prepares script. **[/!] [!]=20 check in the orders.db for purchased carts . If one is found, then we redirect back to the default page and supply a new cart. [/!] [!] REF: = "AdminResults.tpl?command=3Dsearch&db=3DOrders.db&eqcartdatarq=3D[cart]&eq= Timedatarq=3D[time]&action=3Dcartsummary" [/!] [showif [url][lookup = db=3DWebMerchant/Orders.db&Value=3D[cart]&Lookinfield=3DCART&Returnfield=3D= CART&Notfound=3DNF][/url]=3D[url][cart][/url]] [redirect = url=3D[url]default.tpl?ra=3D[random][random][random][/url]] [/showif] =97=97=97=97=97=97- On Apr 30, 2015, at 10:14 AM, BROOKS WILLIAMS wrote: > Hi, > Is there a way to check if a CART number has already been submitted = and approved?=20 >=20 > Sometimes a client when logging back in will see "Error: this shopping = cart has already been submitted and is pending approval" (a = cookies/browser issue?). Before that happens I want to test if the CART = has been submitted and then generate a new CART if needed. >=20 >=20 > Thanks, > Brooks > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Cart error message handling (BROOKS WILLIAMS 2015)
  2. Re: [WebDNA] Cart error message handling (Donovan Brooke 2015)
  3. [WebDNA] Cart error message handling (BROOKS WILLIAMS 2015)
Common problem on the store builder sites.. here=92s an old solution: =97=97=97=97=97=97=97 [!] ** first, rename this file to "cartcheck.inc=94 , then include on = ever page or in the global prepares script. **[/!] [!]=20 check in the orders.db for purchased carts . If one is found, then we redirect back to the default page and supply a new cart. [/!] [!] REF: = "AdminResults.tpl?command=3Dsearch&db=3DOrders.db&eqcartdatarq=3D[cart]&eq= Timedatarq=3D[time]&action=3Dcartsummary" [/!] [showif [url][lookup = db=3DWebMerchant/Orders.db&Value=3D[cart]&Lookinfield=3DCART&Returnfield=3D= CART&Notfound=3DNF][/url]=3D[url][cart][/url]] [redirect = url=3D[url]default.tpl?ra=3D[random][random][random][/url]] [/showif] =97=97=97=97=97=97- On Apr 30, 2015, at 10:14 AM, BROOKS WILLIAMS wrote: > Hi, > Is there a way to check if a CART number has already been submitted = and approved?=20 >=20 > Sometimes a client when logging back in will see "Error: this shopping = cart has already been submitted and is pending approval" (a = cookies/browser issue?). Before that happens I want to test if the CART = has been submitted and then generate a new CART if needed. >=20 >=20 > Thanks, > Brooks > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us Donovan Brooke

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] Sort Direction matches the written to file order (2015) Re:no [search] with NT (1997) Problems getting parameters passed into email. (1997) Unable to view next 101-200 (1997) Tab Charactor (1997) WebCat2 several catalogs? (1997) [UPPERCASE] (1997) [WebDNA] [WSC] WebDNA Development Summit (2014) insert graphic in email (2000) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Claris HomePage messes up the code (1997) 2.0 Info (1997) Re[2]: when is failing to [URL]ize values in a comparison ri (1999) transaction logging (2002) webDNA and ASP pages (1997) Bug Report, maybe (1997) OT: WebDNA and LINUX (2004) Help needed: older WebCat app breaks under 4.0.1 (2000) [WebDNA] Can't see were it's wrong.... (2017) Help formatting search results w/ table (1997)