Jump to content

telefontastatur

Members
  • Posts

    7
  • Joined

  • Last visited

Profile Information

  • First Name
    Robert
  • Last Name
    Licht

telefontastatur's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. Add my code directly after your code: $hookBeforeEmailResult = Hook::exec( 'actionEmailSendBefore', [ 'idLang' => &$idLang, 'template' => &$template, 'subject' => &$subject, 'templateVars' => &$templateVars, 'to' => &$to, 'toName' => &$toName, 'from' => &$from, 'fromName' => &$fromName, 'fileAttachment' => &$fileAttachment, 'mode_smtp' => &$mode_smtp, 'templatePath' => &$templatePath, 'die' => &$die, 'idShop' => &$idShop, 'bcc' => &$bcc, 'replyTo' => &$replyTo, ], null, true ); $toModified=array(); if (is_array($to) && isset($to)) { foreach ($to as $key => $addr) { $toModified[$key]=strtolower($addr); } $to=$toModified; } else { $to=strtolower($to); }
  2. Yes, we were able to find the reason for this problem. It occurs when the e-mail address of the recipient contains uppercase letters. Maybe, that problem has already been solved by an update. If not, you can do the following: Create an override for the file classes/Mail.php und change the function "send" by adding this code after calling the actionEmailSendBefore hook ($hookBeforeEmailResult = Hook::exec('actionEmailSendBefore', ...);): $toModified=array(); if (is_array($to) && isset($to)) { foreach ($to as $key => $addr) { $toModified[$key]=strtolower($addr); } $to=$toModified; } else { $to=strtolower($to); } This converts all e-mail addresses to lowercase. Creating an override is probably not the best solution but it did the trick for us.
  3. Hello, we have been working with PrestaShop 1.6 for a couple of years and decided to switch over to the latest version 1.7.6 (especially because of PHP 7). Everything works fine but we experience a strange problem with the order confirmation that is sent after an order has been placed. Every day, we have several orders but about once a week, the order confirmation does not contain the right values of that order (names, products and so on) but only the placeholders from the mail template (see screenshot). The shop logo (image) is also sent as an attachment but is not directly included in the mail body. Furthermore: When paying with PayPal, the invoice is attached as a PDF file — and it includes the real values! This is really, really strange ... Has anyone else experienced that behaviour?
  4. I am glad to see that we are not the only ones! Unfortunately, we haven't yet been able to figure it out ... It wouldn't be such a problem if we could request a new order confirmation in the back office but PrestaShop doesn't seem to support this (in contrast to xt:Commerce that we used in the past). :-(
  5. I found a solution for my problem: I downloaded the zip file, uploaded the extracted archive to /admin/autoupgrade/latest/prestashop/ and chose "local directory" in the "More options (Expert mode)" section. Afterwards, I started the update process and the download part was skipped. The update could be successfully completed.
  6. Hello, we have now been using PrestaShop 1.6.0.14 and the PayPal module 3.10.0 for a few weeks. Everything works fine but we realized that there is sometimes no order confirmation when a customer pays by PayPal. I can see the order in the back office and the customer gets the "payment" e-mail but there is no order confirmation. It's a bit confusing because this doesn't happen all the time: There are also orders with an order confirmation. I tried it, too, and received a confirmation so that it seems to be a bit obscure. When I open the details of an order in the back office there should be a "PayPal refund" section above the list of the ordered products. And I found out that this section only exists when an order confirmation has been sent. Does that mean that orders without a confirmation haven't been finished correctly? Is that actually possible? I hope that somebody can help. Thanks a lot in advance!
  7. Hello everyone, we've been using PrestaShop for only a few weeks, so the upgrade to the latest version 1.6.1.0 is my first upgrade ever (at the moment, we are using 1.6.0.14). I installed the "1-Click Upgrade" module and checked all the necessary things that are shown on the upgrade page. When I start upgrading, it only takes a few seconds and the process stops. It seems as if it is not possible to download the zip file. But why? Is there anything I can do? It would be great if someone could help! Thank you in advance!
×
×
  • Create New...