Проблема с e-mail уведомлениями в Minishop2

Здравствуйте!

Столкнулась с проблемой — некорректно отображается e-mail уведомление о новом заказе. И менеджеру и пользователю письма приходят в таком формате:

Array ( [tpl] => [includeTVs] => [includeThumbs] => [toPlaceholder] => [showLog] => [id] => 8 [user_id] => 2 [createdon] => 2018-05-03 14:06:36 [updatedon] => [num] => 1805/8 [cost] => 2 700 [cart_cost] => 2 700 [delivery_cost] => 0 [weight] => 0 [status] => 1 [delivery] => Array ( [id] => 1 [name] => Самовывоз [description] => [price] => 0 [weight_price] => 0 [distance_price] => 0 [logo] => [rank] => 0 [active] => 1 [class] => [properties] => [requires] => email,receiver ) [payment] => Array ( [id] => 1 [name] => Оплата наличными [description] => [price] => 0 [logo] => [rank] => 0 [active] => 1 [class] => [properties] => ) [address] => Array ( [id] => 8 [user_id] => 2 [createdon] => 2018-05-03 14:06:36 [updatedon] => [receiver] => Лена [phone] => [country] => [index] => [region] => [city] => [metro] => [street] => [building] => [room] => [comment] => [properties] => ) [context] => web [comment] => [properties] => [type] => 0 [payment_link] => [order] => Array ( [id] => 8 [user_id] => 2 [createdon] => 2018-05-03 14:06:36 [updatedon] => [num] => 1805/8 [cost] => 2700 [cart_cost] => 2700 [delivery_cost] => 0 [weight] => 0 [status] => 1 [delivery] => 1 [payment] => 1 [address] => 8 [context] => web [comment] => [properties] => [type] => 0 ) [products] => Array ( [0] => Array ( [id] => 48 [type] => document [contentType] => text/html [pagetitle] => Жидкость Maxwells Peach Pudding 3 mg Персиковый сливочный десерт [longtitle] => [description] => Жидкость Maxwells Peach Pudding 3 mg Персиковый сливочный десерт [alias] => zhidkost-maxwells-peach-pudding-3-mg-persikovyij-slivochnyij-desert [link_attributes] => [published] => 1 [pub_date] => 0 [unpub_date] => 0 [parent] => 10 [isfolder] => 0 [introtext] => [richtext] => 1 [template] => 9 [menuindex] => 9 [searchable] => 1 [cacheable] => 1 [createdby] => 1 [createdon] => 1523653113 [editedby] => 1 [editedon] => 1524594044 [deleted] => 0 [deletedon] => 0 [deletedby] => 0 [publishedon] => 1523653080 [publishedby] => 1 [menutitle] => [donthit] => 0 [privateweb] => 0 [privatemgr] => 0 [content_dispo] => 0 [hidemenu] => 0 [class_key] => msProduct [context_key] => web [content_type] => 1 [uri] => katalog/bongi/zhidkost-maxwells-peach-pudding-3-mg-persikovyij-slivochnyij-desert.html [uri_override] => 0 [hide_children_in_tree] => 0 [show_in_tree] => 0 [properties] => [article] => SYJ 124 [price] => 2 700 [old_price] => 2 800 [weight] => 0 [image] => [thumb] => [vendor] => 0 [made_in] => [new] => 1 [popular] => 0 [favorite] => 0 [tags] => Array ( [0] => ) [color] => Array ( [0] => ) [size] => Array ( [0] => ) [source] => 2 [original_price] => 2700.00 [vendor.name] => [vendor.resource] => [vendor.country] => [vendor.logo] => [vendor.address] => [vendor.phone] => [vendor.fax] => [vendor.email] => [vendor.description] => [vendor.properties] => [product_id] => 48 [order_id] => 8 [name] => Жидкость Maxwells Peach Pudding 3 mg Персиковый сливочный десерт [count] => 1 [cost] => 2 700 [options] => Array ( ) ) ) [user] => Array ( [id] => 2 [internalKey] => 2 [fullname] => Лена [email] => hel.melnikova@gmail.com [phone] => [mobilephone] => [blocked] => [blockeduntil] => 0 [blockedafter] => 0 [logincount] => 0 [lastlogin] => 0 [thislogin] => 0 [failedlogincount] => 0 [sessionid] => [dob] => 0 [gender] => 0 [address] => [country] => [city] => [state] => [zip] => [fax] => [photo] => [comment] => [website] => [extended] => [username] => hel.melnikova@gmail.com [password] => +fUfFN4yoglWXtf/c6Jhim8/4nKhA/EK2maD08bZ0do= [cachepwd] => [class_key] => modUser [active] => 1 [remote_key] => [remote_data] => [hash_class] => hashing.modPBKDF2 [salt] => 5be36d3e525c0b8bbebc24f7958c149d [primary_group] => 0 [session_stale] => [sudo] => [createdon] => 2018-05-02 21:37:32 ) [total] => Array ( [cost] => 2 700 [cart_cost] => 2 700 [delivery_cost] => 0 [weight] => 0 [cart_weight] => 0 [cart_count] => 1 ) )


Пожалуйста, подскажите как решить или в какую сторону копать?
В админке заказы сохраняются. Чанк tpl.msEmail родной, ничего не меняла.
Лена
03 мая 2018, 11:48
modx.pro
1 094
0

Комментарии: 2

Андрей
03 мая 2018, 14:55
+1
Была как то проблема такая, что после обновления minishop2 слетали эти чанки в настройках.

Нужно зайти в настройки Minishop2, вкладка Статусы заказа. Нажимаем правой кнопкой — Изменить, там будет два поля Чанк письма покупателю и Чанк письма менеджеру, например в статусе Новый нужно выбрать tpl.msEmail.new.user и tpl.msEmail.new.manager, в остальных статусах (оплачен и т.д.) проверить и поставить по аналогии.

    Лена
    03 мая 2018, 15:06
    0
    Спасибо большое, всё именно так
    Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.
    2