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,MarkoOn 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,MarkoOn Wednesday, 29 March 2006 12:15 PM, Dan Strong wrote:Works. Once again, I overthought a solution.-DanOn 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:
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,MarkoOn 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,MarkoOn Wednesday, 29 March 2006 12:15 PM, Dan Strong wrote:Works. Once again, I overthought a solution.-DanOn 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:
RE: Formulas.db + Users.db (1997)
Grant, please help me ... (1997)
looping table rows (1999)
PIXO with cometsite ... and/or other plugins (1998)
Navigator 4.01 (1997)
Max Record length restated as maybe bug (1997)
I think WebDNA-Talk died ... :( (1997)
WebCat2 - Getting to the browser's username/password data (1997)
wo search help (1999)
WC2b15 File Corruption (1997)
Multiple fields on 1 input (1997)
Searchable list archive (1997)
Sale on wholesale programming services ... (2006)
Separate SSL Server (1997)
Quit revisited (1997)
Simple Page (2000)
Various Problems (1997)
Authenticate (1997)
color and size options (1997)
Securing a Directory (2000)