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:
Help name our technology! I found it (1997)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
Hiding a character (2001)
Serving images from databases (1998)
Uploading out of FMP (2001)
Problem during evaluation of WebCatalog (1998)
OT - asp snippet similar to [!][/!] (2003)
unitshipcost vs shipcosts (1997)
Search and path arguments (1998)
Checking two required fields (1998)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
include bug????? (1997)
Error Page? (1997)
Multiple Ad databases? (1997)
[shownext] and sort (1998)
[Announce] Newest Commerce Site based on WebCatalog (1997)
Secure server question (1997)
Securing a Directory (2000)
WebCat2 beta 11 - new prefs ... (1997)
WebCat2 - [include] tags (1997)