Re: cart number tracking

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 19966
interpreted = N
texte = >I had run into a problem where I have two servers, and users will browse web pages on one server, and use web catalog on the other, and the [cart] number thats generated by web catalog of course will be lost, thus loosing the users cart and items if they browse the other server at that point. > >I solved this by using the additem context, and using ipaddress instead of the [cart] tag to specify the cart. I didnt want to use cookies, because not everyone wants cookies. > >So I have the basic system working, EXCEPT, after the user checks out, and is all done, if they start browsing again, and add items to their cart, when they get to the check out stage again, they get an error that their order has already been submitted!!That's because you're using the IP address for their cart number, instead of a number that's always going to be unique ... >I tried fixing this by putting in my Thankyou.tpl file a [movefile] command, and it appears to actually move the file, BUT, the files still are in the Orders and ShoppingCarts folders, so the error still happens. I beleive the docs say the originals should be deleted. > >Any ideas?Use the [movefile] context to change the file name ...Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Associated Messages, from the most recent to the oldest:

    
  1. Re: cart number tracking (Kenneth Grome 1998)
  2. cart number tracking (Scott Szretter 1998)
>I had run into a problem where I have two servers, and users will browse web pages on one server, and use web catalog on the other, and the [cart] number thats generated by web catalog of course will be lost, thus loosing the users cart and items if they browse the other server at that point. > >I solved this by using the additem context, and using ipaddress instead of the [cart] tag to specify the cart. I didnt want to use cookies, because not everyone wants cookies. > >So I have the basic system working, EXCEPT, after the user checks out, and is all done, if they start browsing again, and add items to their cart, when they get to the check out stage again, they get an error that their order has already been submitted!!That's because you're using the IP address for their cart number, instead of a number that's always going to be unique ... >I tried fixing this by putting in my Thankyou.tpl file a [movefile] command, and it appears to actually move the file, BUT, the files still are in the Orders and ShoppingCarts folders, so the error still happens. I beleive the docs say the originals should be deleted. > >Any ideas?Use the [movefile] context to change the file name ...Sincerely, Ken Grome 808-737-6499 WebDNA Solutions mailto:ken@webdna.net http://www.webdna.net Kenneth Grome

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:

I'm new be kind (1997) OT: How to convert TIFs into HTML or ASCII format? (2002) Only charge card when product shipped ? (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) I'm new be kind (1997) email and W* 4.x (2000) To Cookie or Not to Cookie? Was: duplicate cart numbers (2002) Help! WebCat2 bug (1997) Cookies and webcat (1997) shoppingcart reload qty (1997) template includes encrypted template (1999) WebCatalog Technical Reference (1997) Shopping with Accounts (2003) WebCat2b13MacPlugIn - [include] (1997) Need help with emailer- 2 issues (1997) new storefront (2003) two unique banners on one page (1997) More to Expire (1998) [OT] What log analyzer do you use? (2000) Re[2]: Shopping Cart Directory (2000)