<?php /** * Shipment tracking for Isotope eCommerce * * Copyright (c) 2017 Benjamin Roth * * @license commercial */ $GLOBALS['TL_MODELS'][\eSM_isotope_shipmenttracking\Model\ShipmentTrackingModel::getTable()] = 'eSM_isotope_shipmenttracking\Model\ShipmentTrackingModel'; /** * Isotope Modules */ $GLOBALS['ISO_MOD']['config']['shipmenttracking'] = array ( 'tables' => array(\eSM_isotope_shipmenttracking\Model\ShipmentTrackingModel::getTable()), 'icon' => 'system/modules/isotope/assets/images/setup-shipping.png', ); $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_shipping_annotation'; $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_shipping_annotation_text'; $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_note'; $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_number'; $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_url'; $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_note_text'; $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_shippingdate'; $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_shippinginfo'; $GLOBALS['ISO_HOOKS']['getOrderNotificationTokens'][] = array('eSM_isotope_shipmenttracking\\Hooks\\IsotopeHooks','getOrderNotificationTokens');