Re: [WebDNA] Cart error message handling

This WebDNA talk-list message is from

2015


It keeps the original formatting.
numero = 112284
interpreted = N
texte = --90e6ba6e8460331ee90514f49982 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks, that set me in the right direction... --bw On Thu, Apr 30, 2015 at 11:34 AM, Donovan Brooke wrote: > Common problem on the store builder sites.. here=E2=80=99s an old solutio= n: > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 > [!] ** first, rename this file to "cartcheck.inc=E2=80=9D , then include = on ever > page or in the global prepares script. **[/!] > > [!] > 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]&e= qTimedatarq=3D[time]&action=3Dcartsummary" > [/!] > > [showif [url][lookup > db=3DWebMerchant/Orders.db&Value=3D[cart]&Lookinfield=3DCART&Returnfield= =3DCART&Notfound=3DNF][/url]=3D[url][cart][/url]] > [redirect url=3D[url]default.tpl?ra=3D[random][random][random][/u= rl]] > [/showif] > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94- > > > > > 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? > > > > Sometimes a client when logging back in will see "Error: this shopping > cart has already been submitted and is pending approval" (a cookies/brows= er > issue?). Before that happens I want to test if the CART has been submitte= d > and then generate a new CART if needed. > > > > > > 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.u= s > > --------------------------------------------------------- > 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 > --90e6ba6e8460331ee90514f49982 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks, that set me in the right direction...
<= div class=3D"gmail_default" style=3D"font-family:georgia,serif;font-size:sm= all">
--bw

On Thu, Apr 30, 2015 at 11:34 AM, Donovan Brooke <dbrook= e@euca.us> wrote:
Common p= roblem on the store builder sites.. here=E2=80=99s an old solution:
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94
[!] ** first, rename this file to "cartcheck.inc=E2=80=9D , then inclu= de on ever page or in the global prepares script.=C2=A0 **[/!]

[!]
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&eqc= artdatarq=3D[cart]&eqTimedatarq=3D[time]&action=3Dcartsummary"= [/!]

[showif [url][lookup db=3DWebMerchant/Orders.db&Value=3D[cart]&Look= infield=3DCART&Returnfield=3DCART&Notfound=3DNF][/url]=3D[url][cart= ][/url]]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 [redirect url=3D[url]default.tpl?ra=3D[random][= random][random][/url]]
[/showif]
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-




On Apr 30, 2015, at 10:14 AM, BROOKS WILLIAMS <bw@el.net> wrote:

> Hi,
> Is there a way to check if a CART number has already been submitted an= d approved?
>
> Sometimes a client when logging back in will see "Error: this sho= pping cart has already been submitted and is pending approval" (a cook= ies/browser issue?). Before that happens I want to test if the CART has bee= n submitted and then generate a new CART if needed.
>
>
> 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.u= s

---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us&g= t;.
To unsubscribe, E-mail to: <talk= -leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us

--90e6ba6e8460331ee90514f49982-- 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)
--90e6ba6e8460331ee90514f49982 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks, that set me in the right direction... --bw On Thu, Apr 30, 2015 at 11:34 AM, Donovan Brooke wrote: > Common problem on the store builder sites.. here=E2=80=99s an old solutio= n: > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 > [!] ** first, rename this file to "cartcheck.inc=E2=80=9D , then include = on ever > page or in the global prepares script. **[/!] > > [!] > 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]&e= qTimedatarq=3D[time]&action=3Dcartsummary" > [/!] > > [showif [url][lookup > db=3DWebMerchant/Orders.db&Value=3D[cart]&Lookinfield=3DCART&Returnfield= =3DCART&Notfound=3DNF][/url]=3D[url][cart][/url]] > [redirect url=3D[url]default.tpl?ra=3D[random][random][random][/u= rl]] > [/showif] > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94- > > > > > 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? > > > > Sometimes a client when logging back in will see "Error: this shopping > cart has already been submitted and is pending approval" (a cookies/brows= er > issue?). Before that happens I want to test if the CART has been submitte= d > and then generate a new CART if needed. > > > > > > 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.u= s > > --------------------------------------------------------- > 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 > --90e6ba6e8460331ee90514f49982 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks, that set me in the right direction...
<= div class=3D"gmail_default" style=3D"font-family:georgia,serif;font-size:sm= all">
--bw

On Thu, Apr 30, 2015 at 11:34 AM, Donovan Brooke <dbrook= e@euca.us> wrote:
Common p= roblem on the store builder sites.. here=E2=80=99s an old solution:
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94
[!] ** first, rename this file to "cartcheck.inc=E2=80=9D , then inclu= de on ever page or in the global prepares script.=C2=A0 **[/!]

[!]
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&eqc= artdatarq=3D[cart]&eqTimedatarq=3D[time]&action=3Dcartsummary"= [/!]

[showif [url][lookup db=3DWebMerchant/Orders.db&Value=3D[cart]&Look= infield=3DCART&Returnfield=3DCART&Notfound=3DNF][/url]=3D[url][cart= ][/url]]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 [redirect url=3D[url]default.tpl?ra=3D[random][= random][random][/url]]
[/showif]
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-




On Apr 30, 2015, at 10:14 AM, BROOKS WILLIAMS <bw@el.net> wrote:

> Hi,
> Is there a way to check if a CART number has already been submitted an= d approved?
>
> Sometimes a client when logging back in will see "Error: this sho= pping cart has already been submitted and is pending approval" (a cook= ies/browser issue?). Before that happens I want to test if the CART has bee= n submitted and then generate a new CART if needed.
>
>
> 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.u= s

---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us&g= t;.
To unsubscribe, E-mail to: <talk= -leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us

--90e6ba6e8460331ee90514f49982-- BROOKS WILLIAMS

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:

Using Plug-In while running 1.6.1 (1997) Webcatalog 4.02b5 Mac OS X headers (2000) pop up menu's (1998) Headers displaying (2000) MacOS alias identification? (1998) Did you hear about this? (1997) Emailer help....! (1997) HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) return missing item (was:WebCat Sales) (1997) quantity [addlineitem] (2001) WARNING: MacOS The installer is broken... (2000) Server IP address? (1998) RAM problems, [appendfile] problems (1998) WC2 or 3: Displaying Search Result Relevance (1998) Copyright that puppy (1998) looping table rows (1999) How many lookups does it take ... (2003) Re WebDNA has reached it connection limit (2004) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)