Re: addlineitem is not saving a variable.
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 57336
interpreted = N
texte = >I didn't reply to the last question I posted because I did figure it out. I>made some changes and updates to the shopping cart improving it, and now the>quantities aren't working again. However last time it was because I wasn't>sure what to do, this time I am just baffled, I know what to do and it is>not working. No you don't. That's why it's not working. You're baffled because you're effing up by not relating sku to quantity.Here's what I said before:>I don't see how the sku is related to the quantity ordered. Are you sure this is the way you want to do this?I was trying to politely out that you were screwing up. That's coming back to haunt you now.Pass the sku and quantity as a var with the name SQ and value [SKU]/[Quantity]. On the landing page use:[formvariables name=SQ&exact=T][listwords words=[value]&delimiters=/][showif [index]=1][Text Show=F]SKU=[word][/Text][/showif][showif [index]=2][Text Show=F]Quantity=[word][/Text][/showif]The sku is [sku]. The quantity ordered is [quantity].
[/listwords][/formvariables]Put this at the top of each page during development. It'll let you see what's passed to each page.[formvariables][name], [value]
[/formvariable]Glenn-------------------------------------------------------------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:
>I didn't reply to the last question I posted because I did figure it out. I>made some changes and updates to the shopping cart improving it, and now the>quantities aren't working again. However last time it was because I wasn't>sure what to do, this time I am just baffled, I know what to do and it is>not working. No you don't. That's why it's not working. You're baffled because you're effing up by not relating sku to quantity.Here's what I said before:>I don't see how the sku is related to the quantity ordered. Are you sure this is the way you want to do this?I was trying to politely out that you were screwing up. That's coming back to haunt you now.Pass the sku and quantity as a var with the name SQ and value [SKU]/[Quantity]. On the landing page use:[formvariables name=SQ&exact=T][listwords words=[value]&delimiters=/][showif [index]=1][Text Show=F]SKU=[word][/Text][/showif][showif [index]=2][Text Show=F]Quantity=[word][/Text][/showif]The sku is [sku]. The quantity ordered is [quantity].
[/listwords][/formvariables]Put this at the top of each page during development. It'll let you see what's passed to each page.[formvariables][name], [value]
[/formvariable]Glenn-------------------------------------------------------------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/
Glenn Busbin
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:
Wanted: Broader string manipulation functions (1997)
Encryption of E-mail (1998)
Problem with summary on date / inconsequent webcat behaviour (1998)
WebCatalog 4.0 has been released! (2000)
[WebDNA] two ideas for running a cluster of WebDNA servers (2019)
Separate SSL Server (1997)
Format of Required fields error message (1997)
BUG in [showif] using ^ (contains) (1997)
emailer truncates last letter! (1997)
Help name our technology! I found it (1997)
WC1.6 to WC2 date formatting -FIXED! (1997)
math a various prices (1997)
How Many SKU's is enough? (1997)
WebCat2 beta 11 - new prefs ... (1997)
Resume Catalog ? (1997)
WebCatalog can't find database (1997)
Fwd: Problems with Webcatalog Plug-in (1997)
dates and hex formatting (1997)
A workaround for handling date range search in yyyy/mm/dd form (1997)
Running 2 two WebCatalog.acgi's (1996)