Hi @ookris
Proszę o przesłanie statusu systemu. Tutaj informacja, jak go pobrać.
Please send us a WooCommerce system status. Read more information on where to get the system status.
Thread Starter
ookris
(@ookris)
Proszę. Raport o stanie systemu: https://pastebin.com/smHENMPv
Hi @ookris
- Wtyczka sugeruje, że nagłówki zostały ustawione poprawnie — jest BCC (czyli UDW), który wskazuje na adres
poczta@email_bcc.pl . Proponuję przetestować z innym adresem email, żeby upewnić się, że problemem nie jest dostarczalność maila do wybranej skrzynki pocztowej (czasem dostawcy mogą blokować wiadomości jako SPAM i ShopMagic nie ma na to wpływu).
- W jaki sposób dodawane są placeholdery jako linki HTML? W tym momencie niestety dodawanie ich z pomocą edytora nie działa prawidłowo, ponieważ m.in. edytor dokleja z przodu schemat
http, jeśli zostaje tam wstawiony placeholder.
Najlepiej po prostu edytować fragment, który ma być elementem <a> przez edytor kodu (dostępny z poziomu TinyMCE) i tam w atrybucie href dopisać placeholder, wg wzoru: <a html="{{ order.payment_url }}">Tekst</a>.
ShopMagic przetwarza placeholdery przed wysłaniem wiadomości, więc dodanie %20 (enkodowanego znaku spacji) nie powinno wystąpić w docelowym mailu.
Istnieje jeszcze jedna możliwość, kiedy placeholder nie zadziała i wystąpi opisana przez Pana sytuacja: kiedy placeholder nie może zostać zamieniony na prawidłową wartość. To może się zdarzyć, kiedy wykorzystywany jest placeholder z niedostępnej grupy. Proszę upewnić się, że w wybranej automatyzacji korzysta Pan z wydarzenia z grupy Zamówienie (Order).
- The plugin suggests that the headers are set correctly — there is a BCC (i.e. UDW) that points to poczta@email_bcc.pl . I would suggest testing with a different email address to make sure the problem is not the deliverability of the email to the chosen mailbox (sometimes providers can block messages as SPAM and ShopMagic has no control over this).
- How are placeholders added as HTML links? At the moment, unfortunately, adding them with the editor does not work properly because, among other things, the editor docks the http schema in front if a placeholder is inserted there.
The best way to do this is to simply edit the part you want to be an element of the <a>through the code editor (accessible from TinyMCE) and there in the attribute href add a placeholder, according to the formula:
<a html=”{{ order.payment_url }}”>Tekst</a>
ShopMagic processes placeholders before sending a message, so adding a %20 (encoded space character) should not occur in the target email.
There is another possibility when a placeholder does not work and the situation you described occurs: when the placeholder cannot be converted into a valid value. This can happen when a placeholder from an unavailable group is used. Please make sure that you use an event from the Order group in the selected automation.
@ookris
Ciesze się, że problem został rozwiązany.
I am glad that the problem has been solved.
I mark as resolved