Re: transferring values

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16147
interpreted = N
texte = >>So it this a quirky thing with WC? Seems like I'd be able to name things >>how I want - so I can remember it. > >No, there is a specific reason why the order file has a fixed structure -- >its purpose is to be handed off to WebMerchant (or some other product) >which has no idea what your database fields contain. The order file is a >completely self-contained object which contains just enough information to >complete the sale, because it could possibly be dumped onto some other >machine on your network where WebMerchant is processing orders. > >We realized that people would want to customize and add extra information >to the order file, so that's why we provide 40 extra header fields and 5 >extra fields per lineitem which are named generically header1-40 and >textA-E. It's not pretty, but it's a very effective way of encapsulating >the information...and it comes in handy years from now when your product >database has different SKUs in it, yet your order files still retain their >original information.I think Sue didn't understand the [textA] function quite right and Grant didn't read her original question careful enough.The truth is you can name your *form fields* whatever you want. Then, when you add items to your cart/orderfile you call them textA and so on. Like:[AddLineItem cart=[cart]&sku=[sku]&db=youritem.db]quantity=[qnt]&textA=[your.form.name.here]& textB=[your.second.form.name.here][/AddLineItem] ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se Associated Messages, from the most recent to the oldest:

    
  1. Re: transferring values (Christer Olsson 1998)
  2. Re: transferring values (Grant Hulbert 1998)
  3. Re: transferring values (Sue Ann Sanders 1998)
  4. Re: transferring values (Brian B. Burton 1998)
  5. Re: transferring values (Ray Hatch 1998)
  6. Re: transferring values (Sue Ann Sanders 1998)
  7. Re: transferring values (Sandra L. Pitner 1998)
  8. Re: transferring values (Brian B. Burton 1998)
  9. transferring values (Sue Ann Sanders 1998)
>>So it this a quirky thing with WC? Seems like I'd be able to name things >>how I want - so I can remember it. > >No, there is a specific reason why the order file has a fixed structure -- >its purpose is to be handed off to WebMerchant (or some other product) >which has no idea what your database fields contain. The order file is a >completely self-contained object which contains just enough information to >complete the sale, because it could possibly be dumped onto some other >machine on your network where WebMerchant is processing orders. > >We realized that people would want to customize and add extra information >to the order file, so that's why we provide 40 extra header fields and 5 >extra fields per lineitem which are named generically header1-40 and >textA-E. It's not pretty, but it's a very effective way of encapsulating >the information...and it comes in handy years from now when your product >database has different SKUs in it, yet your order files still retain their >original information.I think Sue didn't understand the [textA] function quite right and Grant didn't read her original question careful enough.The truth is you can name your *form fields* whatever you want. Then, when you add items to your cart/orderfile you call them textA and so on. Like:[AddLineItem cart=[cart]&sku=[sku]&db=youritem.db]quantity=[qnt]&textA=[your.form.name.here]& textB=[your.second.form.name.here][/AddLineItem] ************************************************************* Christer Olsson Stora Nygatan 21 Phone +46 40 791 50 Art director S-211 37 Malmoe Fax +46 40 97 99 77 Ljusa Ideer AB Sweden http://www.ljusaideer.se Christer Olsson

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:

ConvertChars request (1999) Encrypting WebDNA Templates (1999) 6.0 /Panther install issues (2004) Upgrading old WebCat Database Files (1997) Converting Quotes in Javascript (2001) Nested tags count question (1997) Where is f2? (1997) Can't load tmpl files (1997) WCS Newbie question (1997) Looking for easy way to back up dbs... (2003) Re:Realtime Transaction Processing (1999) WebCat B13 Mac CGI -- Frames question (1997) shownext (1997) Autoreturn Submit? (1997) Certificates? (2005) WebDNA - mySQL Questions (2005) [ShowNext] (1997) Enhanced Master Counter? (1997) Google listings. (2006) WebCat2 beta 11 - new prefs ... (1997)