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. **[/!][!]=20check in the orders.dbfor purchased carts .If one is found, then we redirect back to the default pageand 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:
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. **[/!][!]=20check in the orders.dbfor purchased carts .If one is found, then we redirect back to the default pageand 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:
DreamWeaver Plug-in (2000)
Caching [include] files ... (1997)
WebCat B13 Mac CGI -- Frames question (1997)
Emailer setup (1997)
Ok here is a question? (1997)
shipcost (1997)
much help needed NEWBIE alert (2000)
WebCat2: multiple currency support (1997)
[OT] SQL and Crackers (2000)
WebDNA color code chart - help (2002)
WebDelivery downloads alias, not original ? (1997)
Whats wrong with this code? (1998)
WebCat on Apache (2002)
Search question (1999)
Fwd: more ! testing (1997)
Calendar Snippet Problems (1998)
PCS Emailer's role ? (1997)
FAX orders (1996)
[SearchString] problem with [search] context (1997)
Showif, Hideif reverse logic ? (1997)