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 Grantdidn't read her original question careful enough.The truth is you can name your *form fields* whatever you want. Then, whenyou add items to your cart/orderfile you call them textA and so on. Like:[AddLineItemcart=[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:
>>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 Grantdidn't read her original question careful enough.The truth is you can name your *form fields* whatever you want. Then, whenyou add items to your cart/orderfile you call them textA and so on. Like:[AddLineItemcart=
[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:
Standalone Testing (1998)
Attn: Bug in GeneralStore example b15 (1997)
upgrading (1997)
taxTotal, grandTotal (1997)
a * question (2003)
Ampersands in database fields? (1998)
old mail...problem with listserv? (1998)
Separate server for jpg/gif files (1998)
[WebDNA] WebDNA version 7 feature list? (2011)
[QuantityPrice] Not working in WebCatNT 2.0.1??? (1997)
day of year (2001)
Webalizer 4.5.0 [sendmail] on RH Linux 7.3 with qmail (2003)
Support suggestions - Response (2000)
SiteGuard Admin Feature ? (1997)
WebCatalog for Postcards ? (1997)
Random (2000)
Location of Browser Info.txt file (1997)
Banner DNA (1997)
format_to_days on NT (1997)
Faxing orders in place of email (1997)