Re: Cart questions
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13905
interpreted = N
texte = >I am still struggling with my duplicate sku routine, this is what I have>tried so far:Is [name] something you made up? Is it the name of the SKU you're looking for duplicates with? If so, you should realize that [name] is also an [OrderFile] variable, and means the name of the person who bought the product in that context. I'd change it to [checkSKU] or something like that.I'm also not sure why you're doing the [FormVariables] loop.There is a workaround to get a text variable: use a parameterized [include].[include file=DupeChecker.inc&checkSKU=[SKU]]-- DupeChecker.inc --...your WebDNA that looks for duplicates, comparing against [checkSKU][LineItems][ShowIf [checkSKU]=[SKU]][/ShowIf][/LineItems]---------------------Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====Pacific Coast Software | WebCatalog, WebMerchant11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>I am still struggling with my duplicate sku routine, this is what I have>tried so far:Is [name] something you made up? Is it the name of the SKU you're looking for duplicates with? If so, you should realize that [name] is also an
[orderfile] variable, and means the name of the person who bought the product in that context. I'd change it to [checkSKU] or something like that.I'm also not sure why you're doing the
[formvariables] loop.There is a workaround to get a text variable: use a parameterized
[include].[include file=DupeChecker.inc&checkSKU=[SKU]]-- DupeChecker.inc --...your WebDNA that looks for duplicates, comparing against [checkSKU]
[lineitems][ShowIf [checkSKU]=[SKU]][/ShowIf][/LineItems]---------------------Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====Pacific Coast Software | WebCatalog, WebMerchant11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Grant Hulbert
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:E-mailer application times out (1998)
WebCatalog can't find database (1997)
Did you hear about this? (1997)
not interpreting Q (2001)
WC2.0 Memory Requirements (1997)
restart needed???? (1997)
Almost a there but..bye bye NetCloak (1997)
TRAINING videos - Prove IT. (1998)
Out of the woodwork (2007)
Question about replacing words (1998)
typhoon vs. webcatalog (1997)
WebCat2b15MacPlugin - [protect] (1997)
writefile - continued (1997)
(1998)
Can [formvariables] do this? (2000)
Quick Question About Sorting (1997)
redirect with frames (1997)
[Webcat 2]Next (1997)
WC 4 could not find tpl files (2000)
WebCat2: Formulas.db question (1997)