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:

Client-side Image Maps and WebCat? (1998) listfiles, moving files (1998) Thanks Grant (1997) [format 40s]text[/format] doesn't work (1997) Join us at MacWorld! - Part 2 (1998) [searchString] (1997) db access problem after switching to SSL (2001) question... no field names? (2002) politeness (was searches with dash...) Please Read (2000) WebCat2 several catalogs? (1997) [OT] Am I an Idiot? (2004) problems with 2 tags shakur (1997) [WriteFile] problems (1997) [WebDNA] Installing WebDNA on Windows 7 64 Bit, Home Premium (2010) Using Cookie for client specific info? (1997) [username][password] not showing up! HELP! (1999) Grouping search fields, etc. (1997) Random (2000) WC 2.0 frames feature (1997) Password Group (2002)