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-> --------------------------------------------------------- =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
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 <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
|
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-> --------------------------------------------------------- =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
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 <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
DOWNLOAD WEBDNA NOW!
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...