Re: Cart date/time

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 66580
interpreted = N
texte = Has anyone noticed that a CART value does not always have the same amount of digits? Palle On 29/03/2006, at 3.31, Marko Bernyk wrote: > 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 >>> 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 >> 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 > 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 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 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 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/ 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)
Has anyone noticed that a CART value does not always have the same amount of digits? Palle On 29/03/2006, at 3.31, Marko Bernyk wrote: > 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 >>> 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 >> 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 > 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 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 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 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/ "Palle B. Nielsen (PowerPalle)"

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:

Locking up with WebCatalog... (1997) Help! WebCat2 bug (1997) Authenticate and IIS (1997) WebCatalog2 Feature Feedback (1996) Hello??? (1997) [WebDNA] Send Mail and SMTP Host (2015) Mail Integration (1999) PIXO (1997) WebCatb15 Mac CGI -- [purchase] (1997) Encrypted links ... (2000) RequiredFields template (1997) send mail problem? (1997) Fw: [SQL] and [index] mystery solved (2001) Exclamation point (1997) Country & Ship-to address & other fields ? (1997) Copyright that puppy (1998) Make sure I understand this??? (1997) Emailer (1997) [include ...] behavior (1997) WC1.6 to WC2 date formatting (1997)