When I add a custom question/answer to the plain text customer order notification email, the question part shows up in the email but not the answer. Here's what I include in the email:
$question_user_question_100$: $order_user_answer_100$
Here's what the email looks like:
First name: m
Last name: h
Street address: gfgfgf
City:
State:
Zip : 07423
Country: United States
There's a default entry on the order form for this line, and the answer does show on the order itself so I know it was filled in and transmitted. I changed one of the default questions as a workaround for the time being, but it would be nice to know if it's just me or a bug.
I also noticed the emails that get sent default to the html version and there's no way I can see to make the plain text version the default. Is there a way to do that? If I delete the html, will the plain text go?
Another issue with customer questions
In the manual, $question_city$: $order_answer_city$ is listed as a variable but it doesn't show up on the list under customers/settings/questions.
I was using $question_postal_office$ (which is NOT listed in the manual but is in the question list) as a workaround but with that nothing shows up on the email sent to customer. If I use $question_city$: $order_answer_city$ in the message template it does appear on the email. So it looks like the manual doesn't correspond with the list of available questions.
Also, how should custom question variables be formatted? I use this and it doesn't seem to work:
$question_user_question_100$: $order_user_answer_100$
http://a-vdistribution.com
Another issue with customer questions
Hello.
Here is correct variables: $question_user_question_100$: $order_answer_user_question_100$.
Add variables in Orders/Settings/Message settings/Message templates/Default Order Notification (for customer) in plaintext:
Customer information
------------------------------------------------
$question_first_name$: $order_answer_first_name$
$question_name$: $order_answer_name$
$question_street$: $order_answer_street$
$question_postal_code$: $order_answer_postal_code$
$question_city$: $order_answer_city$
$question_country$: $order_answer_country$
$question_email$: $order_answer_email$
//add here variables
$question_user_question_100$: $order_answer_user_question_100$
//here is end
and in HTML text:
<h2>Customer information</h2>
<hr />
<dl>
<dd>$question_first_name$: $order_answer_first_name$</dd>
<dd>$question_name$: $order_answer_name$</dd>
<dd>$question_street$: $order_answer_street$</dd>
<dd>$question_postal_code$: $order_answer_postal_code$</dd>
<dd>$question_city$: $order_answer_city$</dd>
<dd>$question_country$: $order_answer_country$</dd>
<dd>$question_email$: $order_answer_email$</dd>
//add here variables
<dd>$question_user_question_100$: $order_answer_user_question_100$</dd>
//here is end
</dl>
Add custom question in Customers/Questions/Custom question (textarea).
I tried, these variables works.
Best regards,
Roman
Thankyou. The one I'm still
Thankyou.
The one I'm still having a problem with is:
$question_city$: $order_answer_city$
If you look at the list of predefined questions, there's no question for "city" listed. If I use the "Postal office" question but use $question_city$: $order_answer_city$ in the message template, it does include the city in the email.
It looks like the "city" question is still mislabelled as "postal office" in the list of predefined questions.
http://a-vdistribution.com