Browse code

Add html token for annotation

Benjamin Roth authored on17/06/2020 10:46:03
Showing1 changed files
... ...
@@ -21,6 +21,7 @@ $GLOBALS['ISO_MOD']['config']['shipmenttracking'] = array
21 21
 );
22 22
 
23 23
 $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_shipping_annotation';
24
+$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_shipping_annotation_text';
24 25
 $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_note';
25 26
 $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_number';
26 27
 $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_url';
Browse code

Add notification token to config

Benjamin Roth authored on17/06/2020 10:23:09
Showing1 changed files
... ...
@@ -20,6 +20,7 @@ $GLOBALS['ISO_MOD']['config']['shipmenttracking'] = array
20 20
   'icon'          => 'system/modules/isotope/assets/images/setup-shipping.png',
21 21
 );
22 22
 
23
+$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_shipping_annotation';
23 24
 $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_note';
24 25
 $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_number';
25 26
 $GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_url';
Browse code

Initial commit

Benjamin Roth authored on19/03/2019 14:48:59
Showing1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,31 @@
1
+<?php
2
+
3
+/**
4
+ * Shipment tracking for Isotope eCommerce
5
+ *
6
+ * Copyright (c) 2017 Benjamin Roth
7
+ *
8
+ * @license commercial
9
+ */
10
+
11
+$GLOBALS['TL_MODELS'][\eSM_isotope_shipmenttracking\Model\ShipmentTrackingModel::getTable()] = 'eSM_isotope_shipmenttracking\Model\ShipmentTrackingModel';
12
+
13
+
14
+/**
15
+ * Isotope Modules
16
+ */
17
+$GLOBALS['ISO_MOD']['config']['shipmenttracking'] = array
18
+(
19
+  'tables'        => array(\eSM_isotope_shipmenttracking\Model\ShipmentTrackingModel::getTable()),
20
+  'icon'          => 'system/modules/isotope/assets/images/setup-shipping.png',
21
+);
22
+
23
+$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_note';
24
+$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_number';
25
+$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_url';
26
+$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_note_text';
27
+$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_shippingdate';
28
+$GLOBALS['NOTIFICATION_CENTER']['NOTIFICATION_TYPE']['isotope']['iso_order_status_change']['email_text'][] = 'shipmenttracking_shippinginfo';
29
+
30
+
31
+$GLOBALS['ISO_HOOKS']['getOrderNotificationTokens'][] = array('eSM_isotope_shipmenttracking\\Hooks\\IsotopeHooks','getOrderNotificationTokens');
0 32
\ No newline at end of file