Re: Setting Cart value
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32561
interpreted = N
texte = Thanks, what's really strange (or maybe not that strange!) is that when using [math show=f]cart=[GETCOOKIE cookiecart][/math], the value for [cart] becomes 3.0427201834694e+14 How else can we set a value for cart without using [math]?Mark.On Thursday, June 1, 2000, John Peacock
wrote:>Don't use [Math] for anything you are not going to perform math on, and >not just for things that look like numbers. You will be sorry, maybe >not right away, but at some time you will.>>That being said, what you have below should work (we are doing the same>thing). This is our CartCookie.inc file (remove linebreaks>when using):>>>>>Mark Derrick wrote:>> >> Hi,>> we're looking to be able to set the [cart] value by pulling>it from a previously set cookie.>> Tried using [math show=f]cart=[GETCOOKIE cookiecart][/math] but no luck, any pointers?>> >> Thanks.>> >> Mark.>>>>------------------------------------------------------------->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://search.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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Thanks, what's really strange (or maybe not that strange!) is that when using [math show=f]cart=[GETCOOKIE cookiecart][/math], the value for [cart] becomes 3.0427201834694e+14 How else can we set a value for cart without using [math]?Mark.On Thursday, June 1, 2000, John Peacock wrote:>Don't use [math] for anything you are not going to perform math on, and >not just for things that look like numbers. You will be sorry, maybe >not right away, but at some time you will.>>That being said, what you have below should work (we are doing the same>thing). This is our CartCookie.inc file (remove linebreaks>when using):>>>>>Mark Derrick wrote:>> >> Hi,>> we're looking to be able to set the [cart] value by pulling>it from a previously set cookie.>> Tried using [math show=f]cart=[GETCOOKIE cookiecart][/math] but no luck, any pointers?>> >> Thanks.>> >> Mark.>>>>------------------------------------------------------------->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://search.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://search.smithmicro.com/
Mark Derrick
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:
Forcing Paragraph Breaks on Results (1998)
Secure server question (1997)
Newbie Tax Question (1997)
Hiding HTML in an [include] file... (2004)
Record size (1998)
Can you do this??? and other stuff (1997)
Initiating NewCart (1997)
OFF TOPIC: Sendmail problem (2003)
talking to MacAuthorize (1997)
Tax Rates returns only 0.00 (2000)
Pithy questions on webcommerce & siteedit (1997)
HTML encoding in URLs (1997)
carriage returns in data (1997)
Calculating Age from DB fields (2003)
Practice runs ? (1997)
question: webmerchant connection (1997)
Purchased cart being overwritten - still !?? (1997)
Emailer (WebCat2) (1997)
Nested tags count question (1997)
Help name our technology! I found it (1997)