Уведомления
Настройки модуля "Уведомления" у заказчика:
Если убрать галку "Получить какие-либо уведомления с сайта" - сайт не будет высылать уведомления, то есть, обо всех изменениях, происходящих с Вашими заказами, необходимо будет смотреть в ручном режиме, войдя на сайт под своим логином и паролем.
Если выбран тип "Одиночные" - для каждого события будет высылаться отдельное уведомление.
Если выбран тип "Множественный" - сообщения сначала будут собираться в буфер, и если, за выбранный вами период, собралось хотя бы одно уведомление - Вам будет высылаться список сообщений, с возможностью просмотреть каждое в отдельности.
Если отмечен пункт "Высылать ексель во вложении" - то к каждому высылаемому письму будет прикладываться файл Excel содержание которого будет дублировать информацию, содержащуюся в теле письма.
Список самих уведомлений, доступных заказчику редактируется в модуле
Емпанель>>Содержание>Уведомления
Тексты самих уведомлений редактируются в модуле
Емпанель>>Содержание>Шаблоны
Вот так выглядят письма Одиночного и множественного уведомлений соответственно:
В шаблонах используются такие 3 переменные:
- $aCart:
[id] => 3059 [type_] => order [post] => 1319037529 [post_date] => 2011-10-19 18:18:49 [receive_notification] => 1 [login] => mstar [password] => 09031975 [email] => mstarrr@gmail.com [visible] => 1 [has_forum] => 0 [approved] => 1 [last_visit_date] => 2011-10-19 13:02:19 [signature] => [session] => 9r7rbp7vkjbogl1bst2jgc6fu2 [cookie] => beb8a2fc1946d27fcc6ce97b0ec8d3f4 [copy_message] => 1 [ip] => [id_language] => 1 [is_test] => 0 [notification_type] => single [is_last_visit_notified] => 0 [notification_period] => 1 [notification_hour] => 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20 [include_reference_excel] => 1 [id_user] => 2 [id_manager] => 1 [id_manager_partner] => 0 [id_user_referer] => 0 [id_user_referer_old] => 0 [id_referer_manager] => 0 [id_parent] => 0 [id_customer_group] => 1 [finance_type] => fiz [name] => KL15, KRAFTSTOFF-FILTER [country] => 123 [state] => [city] => Чернигов [zip] => 14033 [company] => [address] => ул. Красногвардейская 25б, кв. 83 [phone] => 0504652966 [phone2] => [phone3] => [icq] => [skype] => [remark] => комментарий [code_currency] => UAH [discount_static] => 0 [discount_dynamic] => 3 [user_debt] => 0.00 [profile_notified] => 0 [id_partner_region] => -1 [vip] => 0 [parent_default_margin] => 10 [parent_margin] => 0 [is_locked] => 0 [vip_remark] => [login_parent] => [manager_comment] => Заменился Номер: new_code ; Заменился Номер: 123123 ; [additional_field1] => [additional_field2] => [additional_field3] => [additional_field4] => [additional_field5] => [address2] => [user_account_static] => 456.74 [is_discount_provider] => 0 [product_type] => part [id_cart_package] => 675 [id_vin_request] => 0 [id_invoice_customer] => 0 [id_travel_sheet] => 0 [id_price_request] => 0 [login_vin_request] => [code] => KL15 [code_changed] => 123123 [price] => 2.36 [price_original] => 2.03 [price_parent_margin] => 0.00 [is_parent_margin_debeted] => 0 [price_parent_margin_second] => 0.00 [discount] => 0 [number] => 1 [changed] => 0 [customer_comment] => [customer_id] => [is_archive] => 0 [term] => 25 [order_status] => change_code [id_provider] => 296 [id_provider_ordered] => 296 [item_code] => KH_KL15 [cat_name] => knecht [pref] => KH [provider_name] => tehnomir_PL [provider_name_ordered] => tehnomir_PL [weight] => 0.06 [weight_post] => 0.00 [code_visible] => 1 [russian_name] => [name_translate] => Фильтр топл a80 1,8 ->91/pass/santana [sign] => [id_provider_order] => [provider_price] => 0.00 [id_provider_invoice] => [full_payment_discount] => 0.00 [store_notified] => 0 [is_agree_growth] => 0 [is_provider_payment] => 0 [is_provider_payed] => 0 [provider_amount_payed] => 0.00 [weight_delivery_cost] => 0.00 [weight_delivery_cost_post] => 0.00 [is_endable] => 0 [is_private_parsed] => 0 [private_comment] => [volume_delivery_cost] => 0.00 [volume_delivery_cost_post] => 0.00 [id_cart_store_sticker] => [pending_refuse_date] => [code_in] => [code_name] => [customer_group_name] => Default [region_name] => [manager_login] => manager [provider_region_name] => Неоригинальные [provider_region_way_name] => Air [provider_region_concat] => - Air [comment] => change_code_comment new-code:123123 [change_date] => 2011-10-20 14:23:33
- $aCartManager:
[id] => 1 [type_] => manager [post] => 0 [post_date] => 2009-11-21 00:37:09 [receive_notification] => 1 [login] => manager [password] => manager02 [email] => [visible] => 1 [has_forum] => 0 [approved] => 1 [last_visit_date] => 2011-10-19 16:55:01 [signature] => [session] => 9vqesq6s3194nhkjfa6b36l985 [cookie] => 499085a8a1db18b9d246cde9e046c84d [copy_message] => 1 [ip] => [id_language] => 1 [is_test] => 0 [notification_type] => single [is_last_visit_notified] => 0 [notification_period] => 24 [notification_hour] => 1, [include_reference_excel] => 1 [id_user] => 1 [id_customer_partner] => 0 [id_vin_request_fixed] => 0 [id_office] => 2 [name] => Валерий Фоменко [country] => France [state] => Alsace [city] => Strasbourg [zip] => 67000 [company] => [address] => 5 rue de Macon [phone] => [phone2] => [phone3] => [icq] => [skype] => [remark] => test [image] => [has_customer] => 1 [is_super_manager] => 1 [is_sub_manager] => 1
)
- $aCartCustomer:
[id_user] => 2 [amount] => -4131.59 [id] => 2 [code] => default [name] => Старовойт Михаил [description] => [visible] => 1 [group_discount] => 0.00 [group_debt] => 0.00 [group_debt_percent] => 0 [debt_day_number] => 7 [price_type] => discount [customer_group_margin] => 30 [has_subcustomer] => 0 [id_manager] => 1 [id_manager_partner] => 0 [id_user_referer] => 0 [id_user_referer_old] => 0 [id_referer_manager] => 0 [id_parent] => 0 [id_customer_group] => 1 [finance_type] => fiz [country] => 123 [state] => [city] => Чернигов [zip] => 14033 [company] => [address] => ул. Красногвардейская 25б, кв. 83 [phone] => 0504652966 [phone2] => [phone3] => [icq] => [skype] => [remark] => комментарий [code_currency] => UAH [discount_static] => 0 [discount_dynamic] => 3 [user_debt] => 0.00 [profile_notified] => 0 [id_partner_region] => -1 [vip] => 0 [parent_default_margin] => 10 [parent_margin] => 0 [is_locked] => 0 [vip_remark] => [login_parent] => [manager_comment] => [additional_field1] => [additional_field2] => [additional_field3] => [additional_field4] => [additional_field5] => [address2] => [user_account_static] => 456.74 [is_discount_provider] => 0 [type_] => customer [post] => 0 [post_date] => 2009-11-21 00:38:31 [receive_notification] => 1 [login] => mstar [password] => 09031975 [email] => mstarrr@gmail.com [has_forum] => 0 [approved] => 1 [last_visit_date] => 2011-10-19 13:02:19 [signature] => [session] => 9r7rbp7vkjbogl1bst2jgc6fu2 [cookie] => beb8a2fc1946d27fcc6ce97b0ec8d3f4 [copy_message] => 1 [ip] => [id_language] => 1 [is_test] => 0 [notification_type] => single [is_last_visit_notified] => 0 [notification_period] => 1 [notification_hour] => 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20 [include_reference_excel] => 1 [customer_group_name] => Default [region_name] => [manager_login] => manager [current_account_amount] => -4131.59 [customer_name] => Старовойт Михаил
Естимейт базовой версии задания - 7ч
Вернуться к списку модулей: Модули_пакет_Експерт_-_Документация