Jump to content

Email reply link broken


Recommended Posts

Hi all!


I've faced the following problem: I send a message to a customer by BO. He receives a message with a reply link - by default to save the message thread.


The link looks like that: http://regionova.pl/kontakt?id_customer_thread=25&token=yDgbgtnrphRa


Entering it the contact page appears, but it's broken - can't enter any topic etc.post-894919-0-40810600-1424776125_thumb.png I've discovered, that if i add "amp;" after ampersand symbol everything works.post-894919-0-21894200-1424776141_thumb.png


The working link:  http://regionova.pl/kontakt?id_customer_thread=25&token=yDgbgtnrphRa


So, the question is what should i do to make prestashop render that "amp;" inside or maybe there is a different solution?

I've found that the {link} phrase is responsible to paste the proper link inside mail. The file is in mails\en\reply_msg.




Share this post

Link to post
Share on other sites

  • 1 year later...

It's line 420 of controllers/admin/AdminCustomerThreadsController.php that creates that link:

                        '{link}' => Tools::url(
                            $this->context->link->getPageLink('contact', true, null, null, false, $ct->id_shop),

You can try changing the & there.

Share this post

Link to post
Share on other sites

  • 2 years later...
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

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