Re: Problems getting parameters passed into email.
This WebDNA talk-list message is from 1996
It keeps the original formatting.
numero = 10005
interpreted = N
texte = Try putting the [lineItems] tags on consecutive lines like this:Item Size Color Qty Price--------------------------------------- ----------- ----------- ---- ---------[lineItems] [title 39] [text4 11] [text5 11] [quantity 4] $[quantityprice 6][/lineItems] shipping:$[shippingTotal] tax:$[taxTotal]We had a similar problem and this solved it!>I'm completing a store solution using WebCommerce Lite and now just have to>work out the notification by email templates.>>It seems the [title] and [textn] fields aren't coming through. In>addition, carriage returns entered in the [header3] field don't translate.>I am confused about why WebMerchant Lite uses the textA, textB fields yet>WebCatalog uses text1, text2 ... fields. How can I get the below to look>correct?>>My customer notification template looks like this:>>------>>[subject]Thank you for ordering from Hempers Bazaar[/subject]>>Dear [name],>>Thank you for order. We will ship you the following items from Hempers>Bazaar.>>Item Size Color Qty Price>--------------------------------------- ----------- ----------- ---->--------->[lineItems] [title 39] [text4 11] [text5 11] [quantity 4]>$[quantityprice 6]>[/lineItems]>> shipping:>$[shippingTotal]> tax:>$[taxTotal]>>>Your credit card will be charged $[grandTotal].>>Your order will be shipped to:>>[header3]>>>If you need to contact us about this order>please send email to sales@hempersbazaar.com or call 1-800-681-HEMP.>>We hope you'll be very satisfied with your Hempers Bazaar purchase. Our>online>store is growing and we hope you'll come back soon to discover more great>hemp>products.>>------>>and this is what I get:>>------>>Dear Robert Schmidt,>>Thank you for order. We will ship you the following items from Hempers>Bazaar.>>Item Size Color Qty Price>--------------------------------------- ----------- ----------- ---->--------->> aöaòañ¯ aöaòañ¯ 1 $ 70.00> aöaòañ¯ aöaòañ¯ 1 $ 38.00> aöaòañ¯ aöaòañ¯ 2 $ 24.00>>> shipping: $6.95> tax: $0.00>>>Your credit card will be charged $138.95.>>Your order will be shipped to:>>Rob Schmidt54 East World View WaySuite 38Elsah, IL 38905>>>If you need to contact us about this order>please send email to sales@hempersbazaar.com or call 1-800-681-HEMP.>>We hope you'll be very satisfied with your Hempers Bazaar purchase. Our>online>store is growing and we hope you'll come back soon to discover more great>hemp>items.>>------>>>>Rob Schmidt>New York City>rschmidt@panix.com>>>I'm sure there's a good answer - I just can't find it in the docs. TIA>+------------------------------------------------------------+| David Henry Lawson |+------------------------------+-----------------------------+| The Binary Refinery | a: No 16; L42 7LB; UK || i: dave@binary-refinery.net | w: www.binary-refinery.net || t: +44 (0)151 670 0787 | f: +44 (0)151 670 9192 |+------------------------------+-----------------------------+ -export-a-crypto-system-sig -RSA-3-lines-PERL #!/bin/perl -sp0777i
Try putting the
[lineitems] tags on consecutive lines like this:Item Size Color Qty Price--------------------------------------- ----------- ----------- ---- ---------
[lineitems] [title 39] [text4 11] [text5 11] [quantity 4] $[quantityprice 6][/lineItems] shipping:$[shippingTotal] tax:$[taxTotal]We had a similar problem and this solved it!>I'm completing a store solution using WebCommerce Lite and now just have to>work out the notification by email templates.>>It seems the [title] and [textn] fields aren't coming through. In>addition, carriage returns entered in the [header3] field don't translate.>I am confused about why WebMerchant Lite uses the textA, textB fields yet>WebCatalog uses text1, text2 ... fields. How can I get the below to look>correct?>>My customer notification template looks like this:>>------>>[subject]Thank you for ordering from Hempers Bazaar[/subject]>>Dear [name],>>Thank you for order. We will ship you the following items from Hempers>Bazaar.>>Item Size Color Qty Price>--------------------------------------- ----------- ----------- ---->--------->
[lineitems] [title 39] [text4 11] [text5 11] [quantity 4]>$[quantityprice 6]>[/lineItems]>> shipping:>$[shippingTotal]> tax:>$[taxTotal]>>>Your credit card will be charged $[grandTotal].>>Your order will be shipped to:>>[header3]>>>If you need to contact us about this order>please send email to sales@hempersbazaar.com or call 1-800-681-HEMP.>>We hope you'll be very satisfied with your Hempers Bazaar purchase. Our>online>store is growing and we hope you'll come back soon to discover more great>hemp>products.>>------>>and this is what I get:>>------>>Dear Robert Schmidt,>>Thank you for order. We will ship you the following items from Hempers>Bazaar.>>Item Size Color Qty Price>--------------------------------------- ----------- ----------- ---->--------->> aöaòañ¯ aöaòañ¯ 1 $ 70.00> aöaòañ¯ aöaòañ¯ 1 $ 38.00> aöaòañ¯ aöaòañ¯ 2 $ 24.00>>> shipping: $6.95> tax: $0.00>>>Your credit card will be charged $138.95.>>Your order will be shipped to:>>Rob Schmidt54 East World View WaySuite 38Elsah, IL 38905>>>If you need to contact us about this order>please send email to sales@hempersbazaar.com or call 1-800-681-HEMP.>>We hope you'll be very satisfied with your Hempers Bazaar purchase. Our>online>store is growing and we hope you'll come back soon to discover more great>hemp>items.>>------>>>>Rob Schmidt>New York City>rschmidt@panix.com>>>I'm sure there's a good answer - I just can't find it in the docs. TIA>+------------------------------------------------------------+| David Henry Lawson |+------------------------------+-----------------------------+| The Binary Refinery | a: No 16; L42 7LB; UK || i: dave@binary-refinery.net | w: www.binary-refinery.net || t: +44 (0)151 670 0787 | f: +44 (0)151 670 9192 |+------------------------------+-----------------------------+ -export-a-crypto-system-sig -RSA-3-lines-PERL #!/bin/perl -sp0777i
Dave Lawson
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:
WebCat2 several catalogs? (1997)
Where's Cart Created ? (1997)
Product Comparison (2000)
Help name our technology! (1997)
About WebCatalog and iTools 7 (2003)
PCS Frames (1997)
[WebDNA] Code to display a RSS feed (2019)
Setting up shop (1997)
Sorry But This seems to be my fate (2000)
[shell] (2002)
PSC recommends what date format yr 2000??? (1997)
Math Hell! (2000)
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
RAM variables (1997)
Line Feed problems ... (2002)
Re:What file? (1997)
Running _every_ page through WebCat ? (1997)
Protect and Serve (1999)
Deleting Orders (1997)
Re:Email Problem (1997)