Re: Multiple serial numbers

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12677
interpreted = N
texte = >This all works fine if the customer buys one serial number. I am having >difficulty figuring out how to have more than one serial number be dished >out at the same time and having the same serial numbers be bought. > >Perhaps something with [sku] and [quantity] can be done, but I cannot >figure how to do it.I'm not sure of exactly how your products are set up, so this is a big guess. You can use the [loop] context to do a search+replace as many times as the [quantity], so you can do more than one serial number.(not complete, but this is the idea) [lineitems] [loop start=1&end=[quantity]] [search for 1 unused serail#] [foundItems] [appendfile WebMerchant/WebDelivery/[cart].html]...here is a serial: [serial][/appendfile] [/founditems] [/search] [/loop] [/lineitems]Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, 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: Multiple serial numbers (Grant Hulbert 1997)
  2. Multiple serial numbers (Kevin Furuta 1997)
>This all works fine if the customer buys one serial number. I am having >difficulty figuring out how to have more than one serial number be dished >out at the same time and having the same serial numbers be bought. > >Perhaps something with [sku] and [quantity] can be done, but I cannot >figure how to do it.I'm not sure of exactly how your products are set up, so this is a big guess. You can use the [loop] context to do a search+replace as many times as the [quantity], so you can do more than one serial number.(not complete, but this is the idea) [lineitems] [loop start=1&end=[quantity]] [search for 1 unused serail#] [founditems] [appendfile WebMerchant/WebDelivery/[cart].html]...here is a serial: [serial][/appendfile] [/founditems] [/search] [/loop] [/lineitems]Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, 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:

platform of the server? (2000) duplicate cart numbers (2002) Custom WebCat Prefs ... (1997) Re2: frames & carts (1997) [table] retained in memory (2006) displaying 12 results 4 by 3 (2000) WebCatalog can't find database (1997) [GROUPS] followup (1997) WebCat2b12 - New features for 1.6 users ... (1997) View Source from cache (1997) Search in 2 or more catalogs (1997) Database Not Found Problem (2004) Location of Browser Info.txt file (1997) ANSWER to: CC Merchant suggestions?? (1997) Week # problem (1998) RE: Writefile outside WebSTAR hierarchy? (1997) Random question (1998) WebCat2b15MacPlugin - [protect] (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) Solution: Mult-File Upload w/ Web Star (2000)