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:

Help name our technology! I found it (1997) State Coalition Approves Internet Sales Tax Plan (2002) Ooops-Serial Number for NT (1997) Templates for Customer Database? (1997) [WebDNA] [ipaddress] - [RealIP] - Not working properly (2016) [WebDNA] TLS 1.2 and [tcpconnect] (2018) Weird Math and SV (1997) Download Question (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) thisurl & arguments (2000) SET (1998) WebCat2: multiple currency support (1997) Server crash (1997) off-topic - printinglib 68K (1997) Looking For WebCatalog Migration Assistance (2003) Shipping formula problem (1997) delete fails (2000) protect tag on NT IIS (1997) HELP WITH DATES (1997) WebCat2_Mac RETURNs in .db (1997)