Re: Cart date/time

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 66561
interpreted = N
texte = Trying not to step on your toes... but in your use of [Cart] it is defined in part a)... my use is in Part b) [CART] a) Putting [CART] in your template will automatically create a unique shopping cart identifier that can be used in eCommerce commands such as Add, Remove, Purchase, etc. If no cart value is specified when you arrive at a page, then a new unique value is created. If you pass in a cart value in the URL or form (propagating the same value from page to page), then that same cart value is used throughout the page. b) [CART] is also handy for times when you just need a guaranteed-unique value somewhere, such as a record identifier or even a product SKU. For this reason, [cart] works in Typhoon as well as WebCatalog. -- Regards, Marko On Wednesday, 29 March 2006 12:28 PM, Marko Bernyk wrote: Only if you are using the shopping part - and want to create a file... [orderfile file=./[cart]] creates a file with date and time as fields.... which I don't want! so now I have to delete the files! Dan good thinking though :) -- Regards, Marko On Wednesday, 29 March 2006 12:15 PM, Dan Strong wrote: Works. Once again, I overthought a solution. -Dan On Tue, 28 Mar 2006 17:09:36 -0800 "Dan Strong" wrote: > Let me see if I understand... if I do the following: > > [text] myVar=[cart][/text] > > Then I follow it up with a: > > [orderfile file=./[cart]] > Cart was created on the day: [date]
> and the time: [time] > [/orderfile] > > I'll get the correct date/time? I'll test now. > -Dan > > > > > On Tue, 28 Mar 2006 17:04:58 -0800 > "Dan Strong" wrote: >> Where? >> >> On Wed, 29 Mar 2006 11:54:50 +1100 >> Stuart Tremain wrote: >>> If the file is created, the date and time are recorded. >>> >>> Stuart Tremain >>> idfk web developments, sydney, australia >>> >>> >>> On 29 Mar 2006, at 11:59 AM, Dan Strong wrote: >>> >>>> Unless, of course, someone uses [cart] as a unique ID separate and >>>> apart from the e-commerce functions and does not include date & >>>> time in the record. >>>> -Dan >>>> >>>> >>>>> Yes Stuart, >>>>> This is why there is no reason in my mind to reverse engineer the >>>>> CART number.. other than for academics sake. Its already there. >>>>> Donovan >>>> >>>> ------------------------------------------------------------- >>>> 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 >>> digest@talk.smithmicro.com> >>>> 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/ >> >> >> ------------------------------------------------------------- >> 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/ ------------------------------------------------------------- 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/ ------------------------------------------------------------- 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:

    
  1. Re: Cart date/time ( John Peacock 2006)
  2. Re: Cart date/time ( "Palle B. Nielsen (PowerPalle)" 2006)
  3. Re: Cart date/time ( John Peacock 2006)
  4. Re: Cart date/time ( "Palle B. Nielsen (PowerPalle)" 2006)
  5. Re: Cart date/time ( Donovan Brooke 2006)
  6. Re: Cart date/time ( "David Bastedo" 2006)
  7. Re: Cart date/time ( Mark Derrick 2006)
  8. Re: Cart date/time ( Stuart Tremain 2006)
  9. Re: Cart date/time ( Marko Bernyk 2006)
  10. Re: Cart date/time ( Marko Bernyk 2006)
  11. Re: Cart date/time ( "Dan Strong" 2006)
  12. Re: Cart date/time ( Marko Bernyk 2006)
  13. Re: Cart date/time ( "Dan Strong" 2006)
  14. Re: Cart date/time ( "Dan Strong" 2006)
  15. Re: Cart date/time ( "Dan Strong" 2006)
  16. Re: Cart date/time ( Stuart Tremain 2006)
  17. Re: Cart date/time ( "Dan Strong" 2006)
  18. Re: Cart date/time ( Donovan Brooke 2006)
  19. Re: Cart date/time ( Stuart Tremain 2006)
  20. Re: Cart date/time ( Donovan Brooke 2006)
  21. Re: Cart date/time ( Stuart Tremain 2006)
  22. Re: Cart date/time ( Marko Bernyk 2006)
  23. Re: Cart date/time ( Stuart Tremain 2006)
  24. Re: Cart date/time ( Mark Derrick 2006)
  25. Re: Cart date/time ( "Dan Strong" 2006)
  26. Re: Cart date/time ( "Dan Strong" 2006)
  27. Re: Cart date/time ( Donovan Brooke 2006)
  28. Re: Cart date/time ( John Peacock 2006)
  29. Re: Cart date/time ( Donovan Brooke 2006)
  30. Re: Cart date/time ( John Peacock 2006)
  31. Re: Cart date/time ( Matthew Bohne 2006)
  32. Re: Cart date/time ( Pat Holliday 2006)
  33. Cart date/time ( Mark Derrick 2006)
Trying not to step on your toes... but in your use of [cart] it is defined in part a)... my use is in Part b) [cart] a) Putting [cart] in your template will automatically create a unique shopping cart identifier that can be used in eCommerce commands such as Add, Remove, Purchase, etc. If no cart value is specified when you arrive at a page, then a new unique value is created. If you pass in a cart value in the URL or form (propagating the same value from page to page), then that same cart value is used throughout the page. b) [cart] is also handy for times when you just need a guaranteed-unique value somewhere, such as a record identifier or even a product SKU. For this reason, [cart] works in Typhoon as well as WebCatalog. -- Regards, Marko On Wednesday, 29 March 2006 12:28 PM, Marko Bernyk wrote: Only if you are using the shopping part - and want to create a file... [orderfile file=./[cart]] creates a file with date and time as fields.... which I don't want! so now I have to delete the files! Dan good thinking though :) -- Regards, Marko On Wednesday, 29 March 2006 12:15 PM, Dan Strong wrote: Works. Once again, I overthought a solution. -Dan On Tue, 28 Mar 2006 17:09:36 -0800 "Dan Strong" wrote: > Let me see if I understand... if I do the following: > > [text] myVar=[cart][/text] > > Then I follow it up with a: > > [orderfile file=./[cart]] > Cart was created on the day: [date]
> and the time: [time] > [/orderfile] > > I'll get the correct date/time? I'll test now. > -Dan > > > > > On Tue, 28 Mar 2006 17:04:58 -0800 > "Dan Strong" wrote: >> Where? >> >> On Wed, 29 Mar 2006 11:54:50 +1100 >> Stuart Tremain wrote: >>> If the file is created, the date and time are recorded. >>> >>> Stuart Tremain >>> idfk web developments, sydney, australia >>> >>> >>> On 29 Mar 2006, at 11:59 AM, Dan Strong wrote: >>> >>>> Unless, of course, someone uses [cart] as a unique ID separate and >>>> apart from the e-commerce functions and does not include date & >>>> time in the record. >>>> -Dan >>>> >>>> >>>>> Yes Stuart, >>>>> This is why there is no reason in my mind to reverse engineer the >>>>> CART number.. other than for academics sake. Its already there. >>>>> Donovan >>>> >>>> ------------------------------------------------------------- >>>> 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 >>> digest@talk.smithmicro.com> >>>> 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/ >> >> >> ------------------------------------------------------------- >> 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/ ------------------------------------------------------------- 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/ ------------------------------------------------------------- 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/ Marko Bernyk

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:

WebDNA-Talk Digest mode broken (1997) & in Lookups (1997) WebCat2 as a chat server? (1997) Searching using numbers (1998) my price won't move (1997) nesting limits? (1998) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Emailer (1997) WebCatalog for guestbook ? (1997) RE: Credit Card Checksum (1997) Encrypted items in DB (2001) [FileInfo] (1998) MacAuthorize order data fields WAS:How To question... (1997) rn doesn't work on date fields (1998) 2nd WebCatalog2 Feature Request (1996) Purchae error - Fixed to a degree (1997) [shownext max=?] armed (1997) help! problem using [referrer] still in 2.01 (1997) webmerchant 3.0 questions (1999) Multiple Merchant Accounts? (1997)