Re: Shop from PDF
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 59781
interpreted = N
texte = Dan,You could use a cookie based cart id. When they add the first item to the cart just write a cookie with their cart number. Then when they come back use the cookie to tie it to the first cart item.Sam>Hi all,>>I have a scenario in the works where a person will download a PDF >catalog and all of the products have been hotlinked to the item in >the online store. Once there they can add to cart like normal and >all is fine except that if they 'shop' from the PDF again it clears >the cart (as expected). I need to get around this. Dynamically >populating the PDFs with unique cart #'s is not a viable option at >this time.>>Right now, my thinking is to make a temp.db that basically has DATE >TIME IP CART and then if they click another link from the PDF, there >is some logic in the header of the store ([included] on all pages, >of course), that checks the IP and if it is a 'fresh' IP (say, less >than an hour old or something), then the cart associated with the IP >is used, and, in theory, would repopulate the cart correctly with >any existing items.>>Only prob I can see with this is that the .db would get pretty >unwieldy as it would pretty much become a traffic counter and could >get unwieldy quick, so now I would need to constantly roll this .db, >which seems like overkill... any thoughts before I dive in? Is there >anything obvious I am missing?>>Thanks in advance,>-Dan>>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list
.>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >>Web Archive of this list is at: http://webdna.smithmicro.com/-- -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Dan,You could use a cookie based cart id. When they add the first item to the cart just write a cookie with their cart number. Then when they come back use the cookie to tie it to the first cart item.Sam>Hi all,>>I have a scenario in the works where a person will download a PDF >catalog and all of the products have been hotlinked to the item in >the online store. Once there they can add to cart like normal and >all is fine except that if they 'shop' from the PDF again it clears >the cart (as expected). I need to get around this. Dynamically >populating the PDFs with unique cart #'s is not a viable option at >this time.>>Right now, my thinking is to make a temp.db that basically has DATE >TIME IP CART and then if they click another link from the PDF, there >is some logic in the header of the store ([included] on all pages, >of course), that checks the IP and if it is a 'fresh' IP (say, less >than an hour old or something), then the cart associated with the IP >is used, and, in theory, would repopulate the cart correctly with >any existing items.>>Only prob I can see with this is that the .db would get pretty >unwieldy as it would pretty much become a traffic counter and could >get unwieldy quick, so now I would need to constantly roll this .db, >which seems like overkill... any thoughts before I dive in? Is there >anything obvious I am missing?>>Thanks in advance,>-Dan>>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list .>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >>Web Archive of this list is at: http://webdna.smithmicro.com/-- -------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Sam Lewis
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:
Re:no [search] with NT (1997)
delete some html code (2007)
[WebDNA] WebDNA code to detect mobile browsing (2016)
need help please (1997)
TCPConnect (2002)
Here's an example of an applet in a tpl (1997)
possible, WebCat2.0 and checkboxes-restated (1997)
searchable list archive (1997)
Grouping Fields in Context (1999)
syntax question, not in online refernce (1997)
[showif [numfound]=0]? (2000)
Protect (1997)
Shipping charges depending on tax rate? (1997)
GoLive CyberStudio 1.0.1 (1997)
2nd WebCatalog2 Feature Request (1996)
Running _every_ page through WebCat-error.html (1997)
Templetes? (2000)
Emailer (1998)
japanese characters (1997)
PCS Frames (1997)