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, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: More Shopping Cart Questions/Problems (Brian Boegershausen 2000)
  2. More Shopping Cart Questions/Problems (Brady J. Horenstein 2000)
  3. RE: Shopping Cart Questions (PCS Technical Support 1998)
  4. RE: Shopping Cart Questions (Pat McCormick 1998)
  5. RE: Shopping Cart Questions (josh 1998)
  6. Re: Shopping Cart Questions (Rob Marquardt 1998)
  7. Shopping Cart Questions (josh 1998)
  8. RE: Shopping Cart Questions (Pat McCormick 1998)
  9. Price lookup problem - was Re: Cart questions (Paul Winchester 1997)
  10. Re: Cart questions (Grant Hulbert 1997)
  11. Re: Cart questions (Grant Hulbert 1997)
  12. Re: Cart questions (Paul Winchester 1997)
  13. Re: Cart questions (Paul Winchester 1997)
  14. Re: Cart questions (Grant Hulbert 1997)
  15. Cart questions (Paul Winchester 1997)
  16. three cart questions (Thomas Wedderburn-Bisshop 1997)
>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, WebMerchant 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster San Diego, CA 92128 | SiteGuard 619/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:

(no subject) (1997) pc (1997) [WebDNA] OT: Indexing PDF on iTools / apache2 (2008) Does summarizing found records require sorting on that same field? (1999) WebCat2: Items xx to xx shown, etc. (1997) Whats going on with my SERIAL NUMBER??? (1998) Carrying Forward (1998) Quickie question on the email templates (1997) too many nested tags ... (1997) WCS Newbie question (1997) Help with Repost Data msg from form (1997) WebCatalog for guestbook ? (1997) cart (1997) RAM variables (1997) FW: Virus Alert: FBI Finds 911 Virus Wiping Out Hard DrivesToday (2000) IP Address (2001) Sense/Disallow HTML tags during $Append (1997) [WebDNA] calling a webDNA tmpl from PHP? (2008) Clickable maps and WebCatalog? (1996) Re2: frames & carts (1997)