Jump to content
agelessamber

Order ID and Product from the Contact Form does not send within the email

Recommended Posts

Hello everyone

I am setting up and now testing and have noticed that when signed in as a customer and you use the Contact Form, the fields for Order ID and Product, when selected (I did test purchases) and the message sends, the email sent to the shop does not contain the information selected from these two dropdowns.

The only information sent from this form is the email address of customer and the message from message block.

Has anyone noticed this before?

I am using the latest version of PS.

Some code is missing, can someone tell me what code I need and where to place it in order for these two fieds to be picked up within the email sent.

This could create problem as a customer has already selected order number and product and then refer to it in the message as 'with reference to my order above bla bla bla' then we would need to contact them currently and ask them which order and which product!!

Hope this all makes sense.

I look forward to hearing from someone to help with this.

kind regards
Chelle

Share this post


Link to post
Share on other sites

Hello Chelle,

 

I would like to "bump" your post because I am having the same problem. Emails from the customer contact form are not sending the Order ID or Product information.

 

I am using Prestashop 1.4.7.0

 

If anyone can help to give directions on how to fix the issue it would be greatly appreciated,

 

Thanks

Share this post


Link to post
Share on other sites

I am using PS 1.4.7, a clean installation, and I'm having the same problem. Please help with a fix for this.

Share this post


Link to post
Share on other sites

mee too i have this problem: i cannot find the right parameters to put in the "contact.html" email template to show in the email the order and product if is selected by the customer

Share this post


Link to post
Share on other sites

if i send the message, in the BO>Employees>Customer service i can see the order and the products that the customer specify in the message.

But in the email that arrives to the shop address (and to the return to the customer) that fields doesn't appears.

I need only to konw wich parameters (something like {id_order} and {id_product} ) i need to put in the "contact.html" and "contact-form.html" to show it in the email, and if i need to change something in .php or .tpl files (like the "contact-form.tpl" and or "ContactController.php" or others)

i THINK IS A VERY IMPORTANT ISSUE FOR USER EXPERIENCE (IF YOU ALLOW THE CUSTOMER TO CHOOSE AN ORDER AND OR A PRODUCT)

Share this post


Link to post
Share on other sites

Hello,

 

yes - it;s big issue .. can someone from prestateam help us with this issue ?? Is quite funny .. have contact from which no send information about product ..or product id

  • Like 1

Share this post


Link to post
Share on other sites

I had the same problem with 1.5. To fix it:

  1. Go to /mails/en/.
  2. Open contact.html, contact.txt, contact_form.html, and contact_form.txt.
  3. Add {id_order} wherever you want the order reference.

  • Like 1

Share this post


Link to post
Share on other sites

Thank you very much Curtis. I applied your fix and it worked in PS 1.4.9.

 

I used the same logic and also added {id_product}, as the selected product wasn't coming through with the email either, and it worked too.

 

Two questions:

1. What is the purpose of the text files, contact.txt and contact_form.txt?

2. marco_botti wrote:

in the BO>Employees>Customer service i can see the order and the products that the customer specify in the message.
I checked there and there are no messages in my shop. Should they be there? Could I unknowingly have changed a setting that doesn't keep messages in back office and only sends me an email?

 

Thanks in advance.

Edited by Dan1 (see edit history)

Share this post


Link to post
Share on other sites

No problem. Knowing little about Prestashop (only built one site and the docs aren't exactly fleshed out), I'm not actually entirely sure of the .txts, but my best guess is that they're templates for text (non-html) emails that are probably sent based on some setting somewhere.

Share this post


Link to post
Share on other sites

You're right. I had a look and there's a setting for this, text or html, in email preferences. I never used the text setting so didn't know what those files were for.

 

What about the no messages in back office. Does anyone know what would cause that?

Share this post


Link to post
Share on other sites

I am using prestashop version 1.6 and have set up a new eshop, but still facing the same issue.

Contact form still doesn't send Order reference or product ID, data and are not visible anywhere.

Topic been discussed under PSCFI-5649.

 

Anybody knows reason why it doesn't work?

Share this post


Link to post
Share on other sites

I am using prestashop version 1.6 and have set up a new eshop, but still facing the same issue.

Contact form still doesn't send Order reference or product ID, data and are not visible anywhere. Not in customer center and not in any mail.

Topic been discussed under PSCFI-5649.

 

Anybody knows reason why it doesn't work?

 

Solved:

It shows order reference drop down option, when a customer is logged in. Very unclear for not logged in customers.

Edited by IgorS. (see edit history)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More