Listrak_Remarketing - Version 1.2.2

Version Notes

Efficiency improvements
Security fixes

Download this release

Release Info

Developer Listrak
Extension Listrak_Remarketing
Version 1.2.2
Comparing to
See all releases


Code changes from version 1.2.1 to 1.2.2

app/code/community/Listrak/Remarketing/Helper/Data.php CHANGED
@@ -112,12 +112,12 @@ class Listrak_Remarketing_Helper_Data
112
  * Check whether to display a notification in admin portal
113
  *
114
  * @return bool
115
- */
116
  public function displayAttributeSetNotification()
117
  {
118
  /* @var Listrak_Remarketing_Helper_Product_Attribute_Set_Map $helper */
119
  $helper = Mage::helper('remarketing/product_attribute_set_map');
120
- return ($helper->newAttributeSetsCollection()->count() > 0);
121
  }
122
 
123
  /**
112
  * Check whether to display a notification in admin portal
113
  *
114
  * @return bool
115
+ */
116
  public function displayAttributeSetNotification()
117
  {
118
  /* @var Listrak_Remarketing_Helper_Product_Attribute_Set_Map $helper */
119
  $helper = Mage::helper('remarketing/product_attribute_set_map');
120
+ return ($helper->newAttributeSetsCollection()->getSize() > 0);
121
  }
122
 
123
  /**
app/code/community/Listrak/Remarketing/Model/Apiextension/Api.php CHANGED
@@ -257,23 +257,15 @@ class Listrak_Remarketing_Model_Apiextension_Api
257
  }
258
  }
259
 
260
- /* @var Mage_Sales_Model_Resource_Order_Shipment_Collection $shipmentCollection */
261
- $shipmentCollection = $order->getShipmentsCollection();
262
- $shipmentCollection->getSelect()->limit(1);
263
-
264
- /* @var Mage_Sales_Model_Order_Shipment $shipment */
265
- $shipment = $shipmentCollection->getFirstItem();
266
- if ($shipment) {
267
- $tracks = $shipment->getAllTracks();
268
- if (count($tracks) > 0) {
269
- /* @var Mage_Sales_Model_Order_Shipment_Track $firstTrack */
270
- $firstTrack = $tracks[0];
271
-
272
- $result['tracking_number'] = $firstTrack->getNumber();
273
- $result['carrier_code'] = $firstTrack->getCarrierCode();
274
- }
275
- }
276
-
277
  $result['quantities'] = array();
278
  $productIds = $this->_getOrderProductIds($order);
279
  foreach($productIds as $productId) {
257
  }
258
  }
259
 
260
+ /* @var Mage_Sales_Model_Order $_tracks */
261
+ $tracks = $order->getTracksCollection();
262
+
263
+ if ($tracks && $tracks->getSize() > 0) {
264
+ $trackingData = $tracks->getData();
265
+ $result['tracking_number'] = $trackingData[0]['number'];
266
+ $result['carrier_code'] = $trackingData[0]['carrier_code'];
267
+ }
268
+
 
 
 
 
 
 
 
 
269
  $result['quantities'] = array();
270
  $productIds = $this->_getOrderProductIds($order);
271
  foreach($productIds as $productId) {
app/code/community/Listrak/Remarketing/Model/Mysql4/Product/Collection.php CHANGED
@@ -19,7 +19,6 @@ class Listrak_Remarketing_Model_Mysql4_Product_Collection
19
  extends Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection
20
  {
21
  private $_storeFilter = null;
22
-
23
  private $_withResolution = true;
24
 
25
  /**
@@ -88,52 +87,32 @@ class Listrak_Remarketing_Model_Mysql4_Product_Collection
88
  return $this;
89
  }
90
 
91
- protected function _loadParentProducts()
92
- {
93
- $parentsById = array();
94
-
95
- /* @var Mage_Catalog_Model_Product_Type_Configurable $confProductModel */
 
 
 
96
  $confProductModel = Mage::getModel('catalog/product_type_configurable');
97
-
98
- foreach($this->_items as $product) {
99
- $ids = $confProductModel
100
- ->getParentIdsByChild($product->getEntityId());
101
-
102
- if (is_array($ids) && count($ids) > 0) {
103
- $parentId = $ids[0];
104
- if ($parentId != null) {
105
- $parentsById[$product->getEntityId()] = $parentId;
106
- }
107
- }
108
- }
109
-
110
- $parentIds = array_unique(array_values($parentsById));
111
-
112
- if (count($parentsById) > 0) {
113
- $parentCollection = Mage::getModel('listrak/product')
114
- ->getCollection()
115
- ->addAttributeToSelect('*')
116
- ->addAttributeToFilter('entity_id', array('in' => $parentIds))
117
- ->disabledAttributeResolutionAfterLoad();
118
-
119
- if ($this->_storeFilter != null) {
120
- $parentCollection->addStoreFilter($this->_storeFilter);
121
- }
122
-
123
- foreach($parentCollection as $parent) {
124
- $pid = $parent->getEntityId();
125
-
126
- foreach($this->_items as $product) {
127
- $id = $product->getEntityId();
128
-
129
- if (array_key_exists($id, $parentsById) && $parentsById[$id] == $pid) {
130
- $product->setParentProduct($parent);
131
- }
132
- }
133
- }
134
  }
135
- }
136
-
137
  public function getAttributeOptions()
138
  {
139
  $result = array();
19
  extends Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Collection
20
  {
21
  private $_storeFilter = null;
 
22
  private $_withResolution = true;
23
 
24
  /**
87
  return $this;
88
  }
89
 
90
+ public function _loadParentProducts()
91
+ {
92
+ $parentItems = Mage::getModel('listrak/product')
93
+ ->getCollection()
94
+ ->addAttributeToSelect('*')
95
+ ->addAttributeToFilter('type_id', 'configurable')
96
+ ->setOrder('entity_id', 'asc')
97
+ ->disabledAttributeResolutionAfterLoad();
98
  $confProductModel = Mage::getModel('catalog/product_type_configurable');
99
+ $updatedItems = array();
100
+
101
+ foreach($parentItems as $parent)
102
+ {
103
+ $childIds = $confProductModel->getChildrenIds($parent->getEntityId());
104
+
105
+ foreach($childIds[0] as $childId)
106
+ {
107
+ if (!array_key_exists($childId, $updatedItems) && array_key_exists($childId, $this->_items))
108
+ {
109
+ $this->_items[$childId]->setParentProduct($parent);
110
+ $updatedItems[$childId] = $childId;
111
+ }
112
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  }
114
+ }
115
+
116
  public function getAttributeOptions()
117
  {
118
  $result = array();
app/code/community/Listrak/Remarketing/Model/Review/Update.php CHANGED
@@ -39,11 +39,12 @@ class Listrak_Remarketing_Model_Review_Update
39
  *
40
  * @return Listrak_Remarketing_Model_Review_Update
41
  */
 
42
  public function loadByReviewId($reviewId)
43
  {
44
  return $this->getCollection()
45
  ->addFilter('review_id', $reviewId)
46
- ->getFirstItem();
47
  }
48
 
49
  /**
39
  *
40
  * @return Listrak_Remarketing_Model_Review_Update
41
  */
42
+
43
  public function loadByReviewId($reviewId)
44
  {
45
  return $this->getCollection()
46
  ->addFilter('review_id', $reviewId)
47
+ ->setPageSize(1)->setCurPage(1);
48
  }
49
 
50
  /**
app/code/community/Listrak/Remarketing/etc/adminhtml.xml CHANGED
@@ -1,60 +1,60 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Listrak Remarketing Magento Extension Ver. 1.0.0 - Copyright (c) 2011 Listrak, Inc.
5
- */
6
- -->
7
- <config>
8
- <menu>
9
- <remarketing translate="title" module="remarketing">
10
- <title>Listrak</title>
11
- <sort_order>71</sort_order>
12
- <children>
13
- <emailcapture module="remarketing">
14
- <title>Email Capture</title>
15
- <sort_order>0</sort_order>
16
- <action>adminhtml/remarketing_emailcapture/</action>
17
- </emailcapture>
18
- <productattributes module="remarketing">
19
- <title>Product Attributes</title>
20
- <sort_order>1</sort_order>
21
- <action>adminhtml/remarketing_productattributes/</action>
22
- </productattributes>
23
- </children>
24
- </remarketing>
25
- </menu>
26
- <acl>
27
- <resources>
28
- <admin>
29
- <children>
30
- <remarketing translate="title" module="remarketing">
31
- <title>Listrak Remarketing</title>
32
- <sort_order>200</sort_order>
33
- <children>
34
- <emailcapture translate="title">
35
- <title>Email Capture</title>
36
- <sort_order>200</sort_order>
37
- </emailcapture>
38
- <productattributes translate="title">
39
- <title>Product Attributes</title>
40
- <sort_order>201</sort_order>
41
- </productattributes>
42
- </children>
43
- </remarketing>
44
- <system>
45
- <children>
46
- <config>
47
- <children>
48
- <remarketing translate="title">
49
- <title>Listrak</title>
50
- <sort_order>40</sort_order>
51
- </remarketing>
52
- </children>
53
- </config>
54
- </children>
55
- </system>
56
- </children>
57
- </admin>
58
- </resources>
59
- </acl>
60
  </config>
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Listrak Remarketing Magento Extension Ver. 1.0.0 - Copyright (c) 2011 Listrak, Inc.
5
+ */
6
+ -->
7
+ <config>
8
+ <menu>
9
+ <remarketing translate="title" module="remarketing">
10
+ <title>Listrak</title>
11
+ <sort_order>71</sort_order>
12
+ <children>
13
+ <emailcapture module="remarketing">
14
+ <title>Email Capture</title>
15
+ <sort_order>0</sort_order>
16
+ <action>adminhtml/remarketing_emailcapture/</action>
17
+ </emailcapture>
18
+ <productattributes module="remarketing">
19
+ <title>Product Attributes</title>
20
+ <sort_order>1</sort_order>
21
+ <action>adminhtml/remarketing_productattributes/</action>
22
+ </productattributes>
23
+ </children>
24
+ </remarketing>
25
+ </menu>
26
+ <acl>
27
+ <resources>
28
+ <admin>
29
+ <children>
30
+ <remarketing translate="title" module="remarketing">
31
+ <title>Listrak Remarketing</title>
32
+ <sort_order>200</sort_order>
33
+ <children>
34
+ <emailcapture translate="title">
35
+ <title>Email Capture</title>
36
+ <sort_order>200</sort_order>
37
+ </emailcapture>
38
+ <productattributes translate="title">
39
+ <title>Product Attributes</title>
40
+ <sort_order>201</sort_order>
41
+ </productattributes>
42
+ </children>
43
+ </remarketing>
44
+ <system>
45
+ <children>
46
+ <config>
47
+ <children>
48
+ <remarketing translate="title">
49
+ <title>Listrak</title>
50
+ <sort_order>40</sort_order>
51
+ </remarketing>
52
+ </children>
53
+ </config>
54
+ </children>
55
+ </system>
56
+ </children>
57
+ </admin>
58
+ </resources>
59
+ </acl>
60
  </config>
app/code/community/Listrak/Remarketing/etc/api.xml CHANGED
@@ -1,205 +1,205 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Listrak Remarketing Magento Extension Ver. 1.0.0 - Copyright (c) 2011 Listrak, Inc.
5
- */
6
- -->
7
- <config>
8
- <api>
9
- <resources>
10
- <listrak_remarketing_abandonedcart translate="title"
11
- module="listrak_remarketing">
12
- <title>Listrak Remarketing API</title>
13
- <model>listrak/abandonedcart_api</model>
14
- <methods>
15
- <list translate="title" module="listrak_remarketing">
16
- <title>Get Abandoned Carts</title>
17
- <method>items</method>
18
- </list>
19
- <purge translate="title" module="listrak_remarketing">
20
- <title>Purge old data</title>
21
- <method>purge</method>
22
- </purge>
23
- </methods>
24
- </listrak_remarketing_abandonedcart>
25
- <listrak_remarketing_click translate="title"
26
- module="listrak_remarketing">
27
- <title>Listrak Remarketing API</title>
28
- <model>listrak/click_api</model>
29
- <methods>
30
- <list translate="title" module="listrak_remarketing">
31
- <title>Get clicks</title>
32
- <method>items</method>
33
- </list>
34
- <purge translate="title" module="listrak_remarketing">
35
- <title>Purge old data</title>
36
- <method>purge</method>
37
- </purge>
38
- </methods>
39
- </listrak_remarketing_click>
40
- <listrak_remarketing_log translate="title" module="listrak_remarketing">
41
- <title>Listrak Remarketing API</title>
42
- <model>listrak/log_api</model>
43
- <methods>
44
- <list translate="title" module="listrak_remarketing">
45
- <title>Get log entries</title>
46
- <method>items</method>
47
- </list>
48
- <purge translate="title" module="listrak_remarketing">
49
- <title>Purge old data</title>
50
- <method>purge</method>
51
- </purge>
52
- </methods>
53
- </listrak_remarketing_log>
54
- <listrak_remarketing_order translate="title"
55
- module="listrak_remarketing">
56
- <title>Listrak Remarketing API</title>
57
- <model>listrak/apiextension_api</model>
58
- <methods>
59
- <list translate="title" module="listrak_remarketing">
60
- <title>Get orders</title>
61
- <method>orders</method>
62
- </list>
63
- </methods>
64
- </listrak_remarketing_order>
65
- <listrak_remarketing_order_status translate="title"
66
- module="listrak_remarketing">
67
- <title>Listrak Remarketing API</title>
68
- <model>listrak/apiextension_api</model>
69
- <methods>
70
- <list translate="title" module="listrak_remarketing">
71
- <title>Get order status changes</title>
72
- <method>orderStatus</method>
73
- </list>
74
- </methods>
75
- </listrak_remarketing_order_status>
76
- <listrak_remarketing_product translate="title"
77
- module="listrak_remarketing">
78
- <title>Listrak Remarketing API</title>
79
- <model>listrak/product_api</model>
80
- <methods>
81
- <list translate="title" module="listrak_remarketing">
82
- <title>Get products</title>
83
- <method>products</method>
84
- </list>
85
- <updateList translate="title" module="listrak_remarketing">
86
- <title>Get updated products</title>
87
- <method>updates</method>
88
- </updateList>
89
- <purchasableList translate="title" module="listrak_remarketing">
90
- <title>Get purchasable products</title>
91
- <method>purchasable</method>
92
- </purchasableList>
93
- </methods>
94
- </listrak_remarketing_product>
95
- <listrak_remarketing_subscriber translate="title"
96
- module="listrak_remarketing">
97
- <title>Listrak Remarketing API</title>
98
- <model>listrak/apiextension_api</model>
99
- <methods>
100
- <list translate="title" module="listrak_remarketing">
101
- <title>Get subscribers and unsubscribers</title>
102
- <method>subscribers</method>
103
- </list>
104
- <purge translate="title" module="listrak_remarketing">
105
- <title>Purge old data</title>
106
- <method>subscribersPurge</method>
107
- </purge>
108
- </methods>
109
- </listrak_remarketing_subscriber>
110
- <listrak_remarketing_customer translate="title"
111
- module="listrak_remarketing">
112
- <title>Listrak Remarketing API</title>
113
- <model>listrak/apiextension_api</model>
114
- <methods>
115
- <list translate="title" module="listrak_remarketing">
116
- <title>Get customers</title>
117
- <method>customers</method>
118
- </list>
119
- </methods>
120
- </listrak_remarketing_customer>
121
- <listrak_remarketing_info translate="title" module="listrak_remarketing">
122
- <title>Listrak Remarketing API</title>
123
- <model>listrak/apiextension_api</model>
124
- <methods>
125
- <list translate="title" module="listrak_remarketing">
126
- <title>Get info</title>
127
- <method>info</method>
128
- </list>
129
- </methods>
130
- </listrak_remarketing_info>
131
- <listrak_remarketing_review translate="title"
132
- module="listrak_remarketing">
133
- <title>Listrak Remarketing API</title>
134
- <model>listrak/review_update_api</model>
135
- <methods>
136
- <list translate="title" module="listrak_remarketing">
137
- <title>Get Review List</title>
138
- <method>reviewList</method>
139
- </list>
140
- <updateList>
141
- <title>Get Incremental Update</title>
142
- <method>reviewUpdateList</method>
143
- </updateList>
144
- <deleteList>
145
- <title>Get Deleted Reviews</title>
146
- <method>reviewDeleteList</method>
147
- </deleteList>
148
- <updatePurge>
149
- <title>Purge Review Update Table</title>
150
- <method>reviewUpdatePurge</method>
151
- </updatePurge>
152
- </methods>
153
- </listrak_remarketing_review>
154
- <listrak_remarketing_rating_summary translate="title"
155
- module="listrak_remarketing">
156
- <title>Listrak Remarketing API</title>
157
- <model>listrak/review_update_api</model>
158
- <methods>
159
- <list translate="title" module="listrak_remarketing">
160
- <title>Get Rating Summary List</title>
161
- <method>ratingSummaryList</method>
162
- </list>
163
- <updateList>
164
- <title>Get Incremental Update</title>
165
- <method>ratingSummaryUpdateList</method>
166
- </updateList>
167
- </methods>
168
- </listrak_remarketing_rating_summary>
169
- </resources>
170
- <resources_alias>
171
- <abandonedcart>listrak_remarketing_abandonedcart</abandonedcart>
172
- <click>listrak_remarketing_click</click>
173
- <log>listrak_remarketing_log</log>
174
- <listrakorder>listrak_remarketing_order</listrakorder>
175
- <listrakorderstatus>listrak_remarketing_order_status</listrakorderstatus>
176
- <listrakproduct>listrak_remarketing_product</listrakproduct>
177
- <listraksubscriber>listrak_remarketing_subscriber</listraksubscriber>
178
- <listrakcustomer>listrak_remarketing_customer</listrakcustomer>
179
- <listrakinfo>listrak_remarketing_info</listrakinfo>
180
- <listrakreview>listrak_remarketing_review</listrakreview>
181
- <listrakratingsummary>listrak_remarketing_rating_summary</listrakratingsummary>
182
- </resources_alias>
183
- <v2>
184
- <resources_function_prefix>
185
- <abandonedcart>listrakRemarketingAbandonedCart</abandonedcart>
186
- <click>listrakRemarketingClick</click>
187
- <log>listrakRemarketingLog</log>
188
- <listrakorder>listrakRemarketingOrder</listrakorder>
189
- <listrakorderstatus>listrakRemarketingOrderStatus</listrakorderstatus>
190
- <listrakproduct>listrakRemarketingProduct</listrakproduct>
191
- <listraksubscriber>listrakRemarketingSubscriber</listraksubscriber>
192
- <listrakcustomer>listrakRemarketingCustomer</listrakcustomer>
193
- <listrakinfo>listrakRemarketingInfo</listrakinfo>
194
- <listrakreview>listrakRemarketingReview</listrakreview>
195
- <listrakratingsummary>listrakRemarketingRatingSummary</listrakratingsummary>
196
- </resources_function_prefix>
197
- </v2>
198
- <faults>
199
- <incorrect_date>
200
- <code>12</code>
201
- <message>INCORRECT DATE FORMAT [YYYY-MM-DD HH:MM:SS]</message>
202
- </incorrect_date>
203
- </faults>
204
- </api>
205
- </config>
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Listrak Remarketing Magento Extension Ver. 1.0.0 - Copyright (c) 2011 Listrak, Inc.
5
+ */
6
+ -->
7
+ <config>
8
+ <api>
9
+ <resources>
10
+ <listrak_remarketing_abandonedcart translate="title"
11
+ module="listrak_remarketing">
12
+ <title>Listrak Remarketing API</title>
13
+ <model>listrak/abandonedcart_api</model>
14
+ <methods>
15
+ <list translate="title" module="listrak_remarketing">
16
+ <title>Get Abandoned Carts</title>
17
+ <method>items</method>
18
+ </list>
19
+ <purge translate="title" module="listrak_remarketing">
20
+ <title>Purge old data</title>
21
+ <method>purge</method>
22
+ </purge>
23
+ </methods>
24
+ </listrak_remarketing_abandonedcart>
25
+ <listrak_remarketing_click translate="title"
26
+ module="listrak_remarketing">
27
+ <title>Listrak Remarketing API</title>
28
+ <model>listrak/click_api</model>
29
+ <methods>
30
+ <list translate="title" module="listrak_remarketing">
31
+ <title>Get clicks</title>
32
+ <method>items</method>
33
+ </list>
34
+ <purge translate="title" module="listrak_remarketing">
35
+ <title>Purge old data</title>
36
+ <method>purge</method>
37
+ </purge>
38
+ </methods>
39
+ </listrak_remarketing_click>
40
+ <listrak_remarketing_log translate="title" module="listrak_remarketing">
41
+ <title>Listrak Remarketing API</title>
42
+ <model>listrak/log_api</model>
43
+ <methods>
44
+ <list translate="title" module="listrak_remarketing">
45
+ <title>Get log entries</title>
46
+ <method>items</method>
47
+ </list>
48
+ <purge translate="title" module="listrak_remarketing">
49
+ <title>Purge old data</title>
50
+ <method>purge</method>
51
+ </purge>
52
+ </methods>
53
+ </listrak_remarketing_log>
54
+ <listrak_remarketing_order translate="title"
55
+ module="listrak_remarketing">
56
+ <title>Listrak Remarketing API</title>
57
+ <model>listrak/apiextension_api</model>
58
+ <methods>
59
+ <list translate="title" module="listrak_remarketing">
60
+ <title>Get orders</title>
61
+ <method>orders</method>
62
+ </list>
63
+ </methods>
64
+ </listrak_remarketing_order>
65
+ <listrak_remarketing_order_status translate="title"
66
+ module="listrak_remarketing">
67
+ <title>Listrak Remarketing API</title>
68
+ <model>listrak/apiextension_api</model>
69
+ <methods>
70
+ <list translate="title" module="listrak_remarketing">
71
+ <title>Get order status changes</title>
72
+ <method>orderStatus</method>
73
+ </list>
74
+ </methods>
75
+ </listrak_remarketing_order_status>
76
+ <listrak_remarketing_product translate="title"
77
+ module="listrak_remarketing">
78
+ <title>Listrak Remarketing API</title>
79
+ <model>listrak/product_api</model>
80
+ <methods>
81
+ <list translate="title" module="listrak_remarketing">
82
+ <title>Get products</title>
83
+ <method>products</method>
84
+ </list>
85
+ <updateList translate="title" module="listrak_remarketing">
86
+ <title>Get updated products</title>
87
+ <method>updates</method>
88
+ </updateList>
89
+ <purchasableList translate="title" module="listrak_remarketing">
90
+ <title>Get purchasable products</title>
91
+ <method>purchasable</method>
92
+ </purchasableList>
93
+ </methods>
94
+ </listrak_remarketing_product>
95
+ <listrak_remarketing_subscriber translate="title"
96
+ module="listrak_remarketing">
97
+ <title>Listrak Remarketing API</title>
98
+ <model>listrak/apiextension_api</model>
99
+ <methods>
100
+ <list translate="title" module="listrak_remarketing">
101
+ <title>Get subscribers and unsubscribers</title>
102
+ <method>subscribers</method>
103
+ </list>
104
+ <purge translate="title" module="listrak_remarketing">
105
+ <title>Purge old data</title>
106
+ <method>subscribersPurge</method>
107
+ </purge>
108
+ </methods>
109
+ </listrak_remarketing_subscriber>
110
+ <listrak_remarketing_customer translate="title"
111
+ module="listrak_remarketing">
112
+ <title>Listrak Remarketing API</title>
113
+ <model>listrak/apiextension_api</model>
114
+ <methods>
115
+ <list translate="title" module="listrak_remarketing">
116
+ <title>Get customers</title>
117
+ <method>customers</method>
118
+ </list>
119
+ </methods>
120
+ </listrak_remarketing_customer>
121
+ <listrak_remarketing_info translate="title" module="listrak_remarketing">
122
+ <title>Listrak Remarketing API</title>
123
+ <model>listrak/apiextension_api</model>
124
+ <methods>
125
+ <list translate="title" module="listrak_remarketing">
126
+ <title>Get info</title>
127
+ <method>info</method>
128
+ </list>
129
+ </methods>
130
+ </listrak_remarketing_info>
131
+ <listrak_remarketing_review translate="title"
132
+ module="listrak_remarketing">
133
+ <title>Listrak Remarketing API</title>
134
+ <model>listrak/review_update_api</model>
135
+ <methods>
136
+ <list translate="title" module="listrak_remarketing">
137
+ <title>Get Review List</title>
138
+ <method>reviewList</method>
139
+ </list>
140
+ <updateList>
141
+ <title>Get Incremental Update</title>
142
+ <method>reviewUpdateList</method>
143
+ </updateList>
144
+ <deleteList>
145
+ <title>Get Deleted Reviews</title>
146
+ <method>reviewDeleteList</method>
147
+ </deleteList>
148
+ <updatePurge>
149
+ <title>Purge Review Update Table</title>
150
+ <method>reviewUpdatePurge</method>
151
+ </updatePurge>
152
+ </methods>
153
+ </listrak_remarketing_review>
154
+ <listrak_remarketing_rating_summary translate="title"
155
+ module="listrak_remarketing">
156
+ <title>Listrak Remarketing API</title>
157
+ <model>listrak/review_update_api</model>
158
+ <methods>
159
+ <list translate="title" module="listrak_remarketing">
160
+ <title>Get Rating Summary List</title>
161
+ <method>ratingSummaryList</method>
162
+ </list>
163
+ <updateList>
164
+ <title>Get Incremental Update</title>
165
+ <method>ratingSummaryUpdateList</method>
166
+ </updateList>
167
+ </methods>
168
+ </listrak_remarketing_rating_summary>
169
+ </resources>
170
+ <resources_alias>
171
+ <abandonedcart>listrak_remarketing_abandonedcart</abandonedcart>
172
+ <click>listrak_remarketing_click</click>
173
+ <log>listrak_remarketing_log</log>
174
+ <listrakorder>listrak_remarketing_order</listrakorder>
175
+ <listrakorderstatus>listrak_remarketing_order_status</listrakorderstatus>
176
+ <listrakproduct>listrak_remarketing_product</listrakproduct>
177
+ <listraksubscriber>listrak_remarketing_subscriber</listraksubscriber>
178
+ <listrakcustomer>listrak_remarketing_customer</listrakcustomer>
179
+ <listrakinfo>listrak_remarketing_info</listrakinfo>
180
+ <listrakreview>listrak_remarketing_review</listrakreview>
181
+ <listrakratingsummary>listrak_remarketing_rating_summary</listrakratingsummary>
182
+ </resources_alias>
183
+ <v2>
184
+ <resources_function_prefix>
185
+ <abandonedcart>listrakRemarketingAbandonedCart</abandonedcart>
186
+ <click>listrakRemarketingClick</click>
187
+ <log>listrakRemarketingLog</log>
188
+ <listrakorder>listrakRemarketingOrder</listrakorder>
189
+ <listrakorderstatus>listrakRemarketingOrderStatus</listrakorderstatus>
190
+ <listrakproduct>listrakRemarketingProduct</listrakproduct>
191
+ <listraksubscriber>listrakRemarketingSubscriber</listraksubscriber>
192
+ <listrakcustomer>listrakRemarketingCustomer</listrakcustomer>
193
+ <listrakinfo>listrakRemarketingInfo</listrakinfo>
194
+ <listrakreview>listrakRemarketingReview</listrakreview>
195
+ <listrakratingsummary>listrakRemarketingRatingSummary</listrakratingsummary>
196
+ </resources_function_prefix>
197
+ </v2>
198
+ <faults>
199
+ <incorrect_date>
200
+ <code>12</code>
201
+ <message>INCORRECT DATE FORMAT [YYYY-MM-DD HH:MM:SS]</message>
202
+ </incorrect_date>
203
+ </faults>
204
+ </api>
205
+ </config>
app/code/community/Listrak/Remarketing/etc/config.xml CHANGED
@@ -7,7 +7,7 @@
7
  <config>
8
  <modules>
9
  <Listrak_Remarketing>
10
- <version>1.2.1</version>
11
  </Listrak_Remarketing>
12
  </modules>
13
  <frontend>
7
  <config>
8
  <modules>
9
  <Listrak_Remarketing>
10
+ <version>1.2.2</version>
11
  </Listrak_Remarketing>
12
  </modules>
13
  <frontend>
app/code/community/Listrak/Remarketing/etc/system.xml CHANGED
@@ -1,192 +1,192 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Listrak Remarketing Magento Extension Ver. 1.0.0 - Copyright (c) 2011 Listrak, Inc.
5
- */
6
- -->
7
- <config>
8
- <sections>
9
- <remarketing translate="label" module="remarketing">
10
- <label>Listrak</label>
11
- <tab>customer</tab>
12
- <frontend_type>text</frontend_type>
13
- <sort_order>100</sort_order>
14
- <show_in_default>1</show_in_default>
15
- <show_in_website>1</show_in_website>
16
- <show_in_store>1</show_in_store>
17
- <groups>
18
- <modules translate="label">
19
- <label>Component Options</label>
20
- <frontend_type>text</frontend_type>
21
- <sort_order>1</sort_order>
22
- <show_in_default>1</show_in_default>
23
- <show_in_website>1</show_in_website>
24
- <show_in_store>1</show_in_store>
25
- <fields>
26
- <core translate="label">
27
- <label>Core Functionality</label>
28
- <comment>Enable/disable all functionality apart from Review API.</comment>
29
- <frontend_type>select</frontend_type>
30
- <source_model>adminhtml/system_config_source_enabledisable</source_model>
31
- <sort_order>1</sort_order>
32
- <show_in_default>1</show_in_default>
33
- <show_in_website>1</show_in_website>
34
- <show_in_store>1</show_in_store>
35
- </core>
36
- <reviews translate="label">
37
- <label>Review API</label>
38
- <comment>Enable/disable Review API calls.</comment>
39
- <frontend_type>select</frontend_type>
40
- <source_model>adminhtml/system_config_source_enabledisable</source_model>
41
- <sort_order>2</sort_order>
42
- <show_in_default>1</show_in_default>
43
- <show_in_website>1</show_in_website>
44
- <show_in_store>1</show_in_store>
45
- </reviews>
46
- </fields>
47
- </modules>
48
- <subscription translate="label">
49
- <label>Newsletter Options</label>
50
- <frontend_type>text</frontend_type>
51
- <sort_order>2</sort_order>
52
- <show_in_default>1</show_in_default>
53
- <show_in_website>1</show_in_website>
54
- <show_in_store>1</show_in_store>
55
- <fields>
56
- <signup_success_email translate="label">
57
- <label>Signup Success Email</label>
58
- <frontend_type>select</frontend_type>
59
- <source_model>adminhtml/system_config_source_enabledisable</source_model>
60
- <sort_order>1</sort_order>
61
- <show_in_default>1</show_in_default>
62
- <show_in_website>1</show_in_website>
63
- <show_in_store>1</show_in_store>
64
- </signup_success_email>
65
- <unsubscribe_email translate="label">
66
- <label>Unsubscribe Email</label>
67
- <frontend_type>select</frontend_type>
68
- <source_model>adminhtml/system_config_source_enabledisable</source_model>
69
- <sort_order>2</sort_order>
70
- <show_in_default>1</show_in_default>
71
- <show_in_website>1</show_in_website>
72
- <show_in_store>1</show_in_store>
73
- </unsubscribe_email>
74
- </fields>
75
- </subscription>
76
- <modal translate="label">
77
- <label>JavaScript Integration Options</label>
78
- <frontend_type>text</frontend_type>
79
- <sort_order>3</sort_order>
80
- <show_in_default>1</show_in_default>
81
- <show_in_website>1</show_in_website>
82
- <show_in_store>1</show_in_store>
83
- <fields>
84
- <enabled translate="label">
85
- <label>Enabled</label>
86
- <frontend_type>select</frontend_type>
87
- <source_model>adminhtml/system_config_source_enabledisable</source_model>
88
- <sort_order>1</sort_order>
89
- <show_in_default>1</show_in_default>
90
- <show_in_website>1</show_in_website>
91
- <show_in_store>1</show_in_store>
92
- </enabled>
93
- <sca>
94
- <label>Shopping Cart Tracking</label>
95
- <frontend_type>select</frontend_type>
96
- <source_model>adminhtml/system_config_source_enabledisable</source_model>
97
- <sort_order>2</sort_order>
98
- <show_in_default>1</show_in_default>
99
- <show_in_website>1</show_in_website>
100
- <show_in_store>1</show_in_store>
101
- </sca>
102
- <activity>
103
- <label>Browse Tracking</label>
104
- <frontend_type>select</frontend_type>
105
- <source_model>adminhtml/system_config_source_enabledisable</source_model>
106
- <sort_order>3</sort_order>
107
- <show_in_default>1</show_in_default>
108
- <show_in_website>1</show_in_website>
109
- <show_in_store>1</show_in_store>
110
- </activity>
111
- <listrakMerchantID translate="label">
112
- <label>Merchant ID</label>
113
- <frontend_type>text</frontend_type>
114
- <sort_order>4</sort_order>
115
- <show_in_default>1</show_in_default>
116
- <show_in_website>1</show_in_website>
117
- <show_in_store>1</show_in_store>
118
- </listrakMerchantID>
119
- </fields>
120
- </modal>
121
- <productcategories translate="label">
122
- <label>Product Retrieval Options</label>
123
- <frontend_type>text</frontend_type>
124
- <sort_order>4</sort_order>
125
- <show_in_default>1</show_in_default>
126
- <show_in_website>1</show_in_website>
127
- <show_in_store>1</show_in_store>
128
- <fields>
129
- <categories_source translate="label">
130
- <label>Category Source</label>
131
- <comment>More options under Listrak > Product Attributes.</comment>
132
- <frontend_type>select</frontend_type>
133
- <source_model>listrak/product_category_source</source_model>
134
- <sort_order>1</sort_order>
135
- <show_in_default>1</show_in_default>
136
- <show_in_website>1</show_in_website>
137
- <show_in_store>1</show_in_store>
138
- </categories_source>
139
- <category_level translate="label">
140
- <label>Base Category Level</label>
141
- <comment>Set the base category level, increasing this value will start deeper in the category tree.</comment>
142
- <frontend_type>text</frontend_type>
143
- <sort_order>2</sort_order>
144
- <show_in_default>1</show_in_default>
145
- <show_in_website>1</show_in_website>
146
- <show_in_store>1</show_in_store>
147
- </category_level>
148
- <product_links translate="label">
149
- <label>Related Products</label>
150
- <comment>Return product relationships in the products API calls.</comment>
151
- <frontend_type>select</frontend_type>
152
- <source_model>adminhtml/system_config_source_enabledisable</source_model>
153
- <sort_order>3</sort_order>
154
- <show_in_default>1</show_in_default>
155
- <show_in_website>1</show_in_website>
156
- <show_in_store>1</show_in_store>
157
- </product_links>
158
- <purchasable_visibility translate="title">
159
- <label>Products Available for Purchase</label>
160
- <comment>Select the level(s) of product visibility that matches your definition of availability for purchase.</comment>
161
- <frontend_type>select</frontend_type>
162
- <source_model>listrak/product_purchasable_visibility</source_model>
163
- <sort_order>4</sort_order>
164
- <show_in_default>1</show_in_default>
165
- <show_in_website>1</show_in_website>
166
- <show_in_store>1</show_in_store>
167
- </purchasable_visibility>
168
- </fields>
169
- </productcategories>
170
- <advanced>
171
- <label>Advanced Options</label>
172
- <frontend_type>text</frontend_type>
173
- <sort_order>5</sort_order>
174
- <show_in_default>1</show_in_default>
175
- <show_in_website>1</show_in_website>
176
- <show_in_store>1</show_in_store>
177
- <fields>
178
- <meta_provider>
179
- <label>Meta Data Provider</label>
180
- <comment>Route to helper which provides the meta data array.</comment>
181
- <frontend_type>text</frontend_type>
182
- <sort_order>1</sort_order>
183
- <show_in_default>1</show_in_default>
184
- <show_in_website>1</show_in_website>
185
- <show_in_store>1</show_in_store>
186
- </meta_provider>
187
- </fields>
188
- </advanced>
189
- </groups>
190
- </remarketing>
191
- </sections>
192
  </config>
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Listrak Remarketing Magento Extension Ver. 1.0.0 - Copyright (c) 2011 Listrak, Inc.
5
+ */
6
+ -->
7
+ <config>
8
+ <sections>
9
+ <remarketing translate="label" module="remarketing">
10
+ <label>Listrak</label>
11
+ <tab>customer</tab>
12
+ <frontend_type>text</frontend_type>
13
+ <sort_order>100</sort_order>
14
+ <show_in_default>1</show_in_default>
15
+ <show_in_website>1</show_in_website>
16
+ <show_in_store>1</show_in_store>
17
+ <groups>
18
+ <modules translate="label">
19
+ <label>Component Options</label>
20
+ <frontend_type>text</frontend_type>
21
+ <sort_order>1</sort_order>
22
+ <show_in_default>1</show_in_default>
23
+ <show_in_website>1</show_in_website>
24
+ <show_in_store>1</show_in_store>
25
+ <fields>
26
+ <core translate="label">
27
+ <label>Core Functionality</label>
28
+ <comment>Enable/disable all functionality apart from Review API.</comment>
29
+ <frontend_type>select</frontend_type>
30
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
31
+ <sort_order>1</sort_order>
32
+ <show_in_default>1</show_in_default>
33
+ <show_in_website>1</show_in_website>
34
+ <show_in_store>1</show_in_store>
35
+ </core>
36
+ <reviews translate="label">
37
+ <label>Review API</label>
38
+ <comment>Enable/disable Review API calls.</comment>
39
+ <frontend_type>select</frontend_type>
40
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
41
+ <sort_order>2</sort_order>
42
+ <show_in_default>1</show_in_default>
43
+ <show_in_website>1</show_in_website>
44
+ <show_in_store>1</show_in_store>
45
+ </reviews>
46
+ </fields>
47
+ </modules>
48
+ <subscription translate="label">
49
+ <label>Newsletter Options</label>
50
+ <frontend_type>text</frontend_type>
51
+ <sort_order>2</sort_order>
52
+ <show_in_default>1</show_in_default>
53
+ <show_in_website>1</show_in_website>
54
+ <show_in_store>1</show_in_store>
55
+ <fields>
56
+ <signup_success_email translate="label">
57
+ <label>Signup Success Email</label>
58
+ <frontend_type>select</frontend_type>
59
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
60
+ <sort_order>1</sort_order>
61
+ <show_in_default>1</show_in_default>
62
+ <show_in_website>1</show_in_website>
63
+ <show_in_store>1</show_in_store>
64
+ </signup_success_email>
65
+ <unsubscribe_email translate="label">
66
+ <label>Unsubscribe Email</label>
67
+ <frontend_type>select</frontend_type>
68
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
69
+ <sort_order>2</sort_order>
70
+ <show_in_default>1</show_in_default>
71
+ <show_in_website>1</show_in_website>
72
+ <show_in_store>1</show_in_store>
73
+ </unsubscribe_email>
74
+ </fields>
75
+ </subscription>
76
+ <modal translate="label">
77
+ <label>JavaScript Integration Options</label>
78
+ <frontend_type>text</frontend_type>
79
+ <sort_order>3</sort_order>
80
+ <show_in_default>1</show_in_default>
81
+ <show_in_website>1</show_in_website>
82
+ <show_in_store>1</show_in_store>
83
+ <fields>
84
+ <enabled translate="label">
85
+ <label>Enabled</label>
86
+ <frontend_type>select</frontend_type>
87
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
88
+ <sort_order>1</sort_order>
89
+ <show_in_default>1</show_in_default>
90
+ <show_in_website>1</show_in_website>
91
+ <show_in_store>1</show_in_store>
92
+ </enabled>
93
+ <sca>
94
+ <label>Shopping Cart Tracking</label>
95
+ <frontend_type>select</frontend_type>
96
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
97
+ <sort_order>2</sort_order>
98
+ <show_in_default>1</show_in_default>
99
+ <show_in_website>1</show_in_website>
100
+ <show_in_store>1</show_in_store>
101
+ </sca>
102
+ <activity>
103
+ <label>Browse Tracking</label>
104
+ <frontend_type>select</frontend_type>
105
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
106
+ <sort_order>3</sort_order>
107
+ <show_in_default>1</show_in_default>
108
+ <show_in_website>1</show_in_website>
109
+ <show_in_store>1</show_in_store>
110
+ </activity>
111
+ <listrakMerchantID translate="label">
112
+ <label>Merchant ID</label>
113
+ <frontend_type>text</frontend_type>
114
+ <sort_order>4</sort_order>
115
+ <show_in_default>1</show_in_default>
116
+ <show_in_website>1</show_in_website>
117
+ <show_in_store>1</show_in_store>
118
+ </listrakMerchantID>
119
+ </fields>
120
+ </modal>
121
+ <productcategories translate="label">
122
+ <label>Product Retrieval Options</label>
123
+ <frontend_type>text</frontend_type>
124
+ <sort_order>4</sort_order>
125
+ <show_in_default>1</show_in_default>
126
+ <show_in_website>1</show_in_website>
127
+ <show_in_store>1</show_in_store>
128
+ <fields>
129
+ <categories_source translate="label">
130
+ <label>Category Source</label>
131
+ <comment>More options under Listrak > Product Attributes.</comment>
132
+ <frontend_type>select</frontend_type>
133
+ <source_model>listrak/product_category_source</source_model>
134
+ <sort_order>1</sort_order>
135
+ <show_in_default>1</show_in_default>
136
+ <show_in_website>1</show_in_website>
137
+ <show_in_store>1</show_in_store>
138
+ </categories_source>
139
+ <category_level translate="label">
140
+ <label>Base Category Level</label>
141
+ <comment>Set the base category level, increasing this value will start deeper in the category tree.</comment>
142
+ <frontend_type>text</frontend_type>
143
+ <sort_order>2</sort_order>
144
+ <show_in_default>1</show_in_default>
145
+ <show_in_website>1</show_in_website>
146
+ <show_in_store>1</show_in_store>
147
+ </category_level>
148
+ <product_links translate="label">
149
+ <label>Related Products</label>
150
+ <comment>Return product relationships in the products API calls.</comment>
151
+ <frontend_type>select</frontend_type>
152
+ <source_model>adminhtml/system_config_source_enabledisable</source_model>
153
+ <sort_order>3</sort_order>
154
+ <show_in_default>1</show_in_default>
155
+ <show_in_website>1</show_in_website>
156
+ <show_in_store>1</show_in_store>
157
+ </product_links>
158
+ <purchasable_visibility translate="title">
159
+ <label>Products Available for Purchase</label>
160
+ <comment>Select the level(s) of product visibility that matches your definition of availability for purchase.</comment>
161
+ <frontend_type>select</frontend_type>
162
+ <source_model>listrak/product_purchasable_visibility</source_model>
163
+ <sort_order>4</sort_order>
164
+ <show_in_default>1</show_in_default>
165
+ <show_in_website>1</show_in_website>
166
+ <show_in_store>1</show_in_store>
167
+ </purchasable_visibility>
168
+ </fields>
169
+ </productcategories>
170
+ <advanced>
171
+ <label>Advanced Options</label>
172
+ <frontend_type>text</frontend_type>
173
+ <sort_order>5</sort_order>
174
+ <show_in_default>1</show_in_default>
175
+ <show_in_website>1</show_in_website>
176
+ <show_in_store>1</show_in_store>
177
+ <fields>
178
+ <meta_provider>
179
+ <label>Meta Data Provider</label>
180
+ <comment>Route to helper which provides the meta data array.</comment>
181
+ <frontend_type>text</frontend_type>
182
+ <sort_order>1</sort_order>
183
+ <show_in_default>1</show_in_default>
184
+ <show_in_website>1</show_in_website>
185
+ <show_in_store>1</show_in_store>
186
+ </meta_provider>
187
+ </fields>
188
+ </advanced>
189
+ </groups>
190
+ </remarketing>
191
+ </sections>
192
  </config>
app/code/community/Listrak/Remarketing/sql/listrak_remarketing_setup/mysql4-install-1.0.0.php CHANGED
@@ -15,6 +15,7 @@
15
  /* @var Mage_Core_Model_Resource_Setup $installer */
16
  $installer = $this;
17
  $installer->startSetup();
 
18
 
19
  $installer->run(
20
  "
@@ -78,16 +79,18 @@ CREATE TABLE IF NOT EXISTS {$this->getTable('listrak/log')} (
78
  PRIMARY KEY (`id`),
79
  KEY `log_type_id` (`log_type_id`)
80
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
81
-
82
- INSERT INTO {$this->getTable('listrak/emailcapture')} (`emailcapture_id` ,`page` ,`field_id`)
83
- VALUES (NULL , '/checkout/onepage/index', 'billing:email');
84
- INSERT INTO {$this->getTable('listrak/emailcapture')} (`emailcapture_id` ,`page` ,`field_id`)
85
- VALUES (NULL , '/checkout/onepage/index', 'login-email');
86
- INSERT INTO {$this->getTable('listrak/emailcapture')} (`emailcapture_id` ,`page` ,`field_id`)
87
- VALUES (NULL , '*', 'newsletter');
88
  "
89
  );
90
 
 
 
 
 
 
 
 
 
 
91
  try {
92
  /* @var Listrak_Remarketing_Model_Log $log */
93
  $log = Mage::getModel("listrak/log");
15
  /* @var Mage_Core_Model_Resource_Setup $installer */
16
  $installer = $this;
17
  $installer->startSetup();
18
+ $adapter = $installer->getConnection();
19
 
20
  $installer->run(
21
  "
79
  PRIMARY KEY (`id`),
80
  KEY `log_type_id` (`log_type_id`)
81
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
 
 
 
 
 
 
 
82
  "
83
  );
84
 
85
+ $adapter->insertMultiple(
86
+ $installer->getTable('listrak/emailcapture'),
87
+ array(
88
+ array("page" => "/checkout/onepage/index", "field_id" => "billing:email"),
89
+ array("page" => "/checkout/onepage/index", "field_id" => "login-email"),
90
+ array("page" => "*", "field_id" => "newsletter")
91
+ )
92
+ );
93
+
94
  try {
95
  /* @var Listrak_Remarketing_Model_Log $log */
96
  $log = Mage::getModel("listrak/log");
app/code/community/Listrak/Remarketing/sql/listrak_remarketing_setup/mysql4-install-1.1.9.php CHANGED
@@ -15,6 +15,7 @@
15
  /* @var Mage_Core_Model_Resource_Setup $installer */
16
  $installer = $this;
17
  $installer->startSetup();
 
18
 
19
  $installer->run(
20
  "
@@ -74,15 +75,19 @@ CREATE TABLE {$this->getTable('listrak/review_update')} (
74
  `activity` tinyint(4) NOT NULL,
75
  PRIMARY KEY (`update_id`)
76
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
77
-
78
- INSERT INTO {$this->getTable('listrak/emailcapture')} (`emailcapture_id` ,`page` ,`field_id`)
79
- VALUES (NULL , '/checkout/onepage/index', 'billing:email')
80
- , (NULL , '/checkout/onepage/index', 'login-email')
81
- , (NULL , '*', 'newsletter')
82
- , (NULL , '*', 'ltkmodal-email');
83
  "
84
  );
85
 
 
 
 
 
 
 
 
 
 
 
86
  try {
87
  /* @var Listrak_Remarketing_Model_Log $log */
88
  $log = Mage::getModel("listrak/log");
15
  /* @var Mage_Core_Model_Resource_Setup $installer */
16
  $installer = $this;
17
  $installer->startSetup();
18
+ $adapter = $installer->getConnection();
19
 
20
  $installer->run(
21
  "
75
  `activity` tinyint(4) NOT NULL,
76
  PRIMARY KEY (`update_id`)
77
  ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
 
 
 
 
 
 
78
  "
79
  );
80
 
81
+ $adapter->insertMultiple(
82
+ $installer->getTable('listrak/emailcapture'),
83
+ array(
84
+ array("page" => "/checkout/onepage/index", "field_id" => "billing:email"),
85
+ array("page" => "/checkout/onepage/index", "field_id" => "login-email"),
86
+ array("page" => "*", "field_id" => "newsletter"),
87
+ array("page" => "*", "field_id" => "ltkmodal-email")
88
+ )
89
+ );
90
+
91
  try {
92
  /* @var Listrak_Remarketing_Model_Log $log */
93
  $log = Mage::getModel("listrak/log");
app/design/adminhtml/default/default/template/listrak/remarketing/productattributes.phtml CHANGED
@@ -1,37 +1,37 @@
1
- <?php
2
- /**
3
- * Listrak Remarketing Magento Extension Ver. 1.1.5
4
- *
5
- * PHP version 5
6
- *
7
- * @category Listrak
8
- * @package Listrak_Remarketing
9
- * @author Listrak Magento Team <magento@listrak.com>
10
- * @copyright 2013 Listrak Inc
11
- * @license http://s1.listrakbi.com/licenses/magento.txt License For Customer Use of Listrak Software
12
- * @link http://www.listrak.com
13
- * @see Listrak_Remarketing_Block_Adminhtml_Productattributes
14
- */
15
- ?>
16
- <div class="content-header">
17
- <table cellspacing="0">
18
- <tr>
19
- <td style="width:50%;">
20
- <h3 class="icon-head head-products"><?php
21
- echo Mage::helper('remarketing')->__('Product Attributes')
22
- ?></h3>
23
- </td>
24
- <td class="a-right">
25
- <?php echo '' . $this->getButtonsHtml() ?>
26
- </td>
27
- </tr>
28
- </table>
29
- </div>
30
- <?php
31
- if (sizeof($this->setsWithoutBrandAttribute()) > 3) {
32
- echo '' . $this->getInitBrandsHtml();
33
- }
34
- ?>
35
- <div>
36
- <?php echo '' . $this->getGridHtml() ?>
37
  </div>
1
+ <?php
2
+ /**
3
+ * Listrak Remarketing Magento Extension Ver. 1.1.5
4
+ *
5
+ * PHP version 5
6
+ *
7
+ * @category Listrak
8
+ * @package Listrak_Remarketing
9
+ * @author Listrak Magento Team <magento@listrak.com>
10
+ * @copyright 2013 Listrak Inc
11
+ * @license http://s1.listrakbi.com/licenses/magento.txt License For Customer Use of Listrak Software
12
+ * @link http://www.listrak.com
13
+ * @see Listrak_Remarketing_Block_Adminhtml_Productattributes
14
+ */
15
+ ?>
16
+ <div class="content-header">
17
+ <table cellspacing="0">
18
+ <tr>
19
+ <td style="width:50%;">
20
+ <h3 class="icon-head head-products"><?php
21
+ echo Mage::helper('remarketing')->__('Product Attributes')
22
+ ?></h3>
23
+ </td>
24
+ <td class="a-right">
25
+ <?php echo '' . $this->getButtonsHtml() ?>
26
+ </td>
27
+ </tr>
28
+ </table>
29
+ </div>
30
+ <?php
31
+ if (sizeof($this->setsWithoutBrandAttribute()) > 3) {
32
+ echo '' . $this->getInitBrandsHtml();
33
+ }
34
+ ?>
35
+ <div>
36
+ <?php echo '' . $this->getGridHtml() ?>
37
  </div>
app/design/adminhtml/default/default/template/listrak/remarketing/productattributes/form/categories.phtml CHANGED
@@ -1,227 +1,227 @@
1
- <?php
2
- /**
3
- * Listrak Remarketing Magento Extension Ver. 1.1.5
4
- *
5
- * PHP version 5
6
- *
7
- * @category Listrak
8
- * @package Listrak_Remarketing
9
- * @author Listrak Magento Team <magento@listrak.com>
10
- * @copyright 2013 Listrak Inc
11
- * @license http://s1.listrakbi.com/licenses/magento.txt License For Customer Use of Listrak Software
12
- * @link http://www.listrak.com
13
- */
14
-
15
- ?>
16
- <div class="entry-edit">
17
- <div class="entry-edit-head">
18
- <h4 class="icon-head head-edit-form fieldset-legend">
19
- <?php echo Mage::helper('catalog')->__('Category and Subcategory') ?>
20
- </h4>
21
- </div>
22
- <fieldset>
23
-
24
- <legend>
25
- <?php echo Mage::helper('remarketing')->__('Product Categories') ?>
26
- </legend>
27
- <table cellspacing="0" class="form-list"
28
- id="table_productattributes_categories">
29
- <tr>
30
- <td class="label">
31
- <label for="categories_source">
32
- <?php echo Mage::helper('remarketing')->__('Source') ?>
33
- </label>
34
- </td>
35
- <td class="value">
36
- <select id="categories_source" name="categories_source"
37
- class="select">
38
- <option value="default"
39
- <?php
40
- if ($this->getCategoriesSource() == 'default') {
41
- echo 'selected="selected"';
42
- }
43
- ?>
44
- >
45
- <?php
46
- echo Mage::helper('remarketing')
47
- ->__('Use Catalog Configuration')
48
- ?>
49
- </option>
50
- <option value="attributes"
51
- <?php if ($this->getCategoriesSource() == 'attributes') {
52
- echo 'selected="selected"';
53
- }
54
- ?>
55
- >
56
- <?php
57
- echo Mage::helper('remarketing')
58
- ->__('Map from Product Attributes')
59
- ?>
60
- </option>
61
- </select>
62
- <input type="hidden" id="categories_source_default"
63
- value="<?php echo $this->getConfigCategoriesSource(); ?>"
64
- />
65
-
66
- <?php
67
- $_checked = $this->getUseConfigCategoriesSource()
68
- ? 'checked="checked"'
69
- : ''
70
- ?>
71
- <input type="checkbox" id="categories_use_config_source"
72
- name="use_config_categories_source"
73
- value="1" <?php echo $_checked ?>
74
- onclick="toggleValueElements(this, this.parentNode);"
75
- class="checkbox"/>
76
- <label for="categories_use_config_source" class="normal">
77
- <?php
78
- echo Mage::helper('catalog')
79
- ->__('Use Listrak Configuration Settings')
80
- ?>
81
- </label>
82
- </td>
83
- <td class="value scope-label">
84
- <?php
85
- echo Mage::helper('remarketing')
86
- ->__('[GLOBAL]')
87
- ?>
88
- </td>
89
- </tr>
90
-
91
- <tr>
92
- <td class="label">
93
- <label for="categories_category_attribute">
94
- <?php
95
- echo Mage::helper('remarketing')
96
- ->__('Category Attribute')
97
- ?>
98
- </label>
99
- </td>
100
- <td class="value">
101
- <select id="categories_category_attribute"
102
- name="categories_category_attribute"
103
- class="listrak_validate_unique_selection_category_attribute select">
104
- <option value="">- No Category Attribute -</option>
105
- <?php foreach ($this->getAttributeOptions() as $key => $option): ?>
106
- <?php
107
- $_selected = ($key == $this->getCategoryAttributeCode())
108
- ? 'selected="selected"'
109
- : ''
110
- ?>
111
- <option
112
- value="<?php echo $key ?>" <?php echo $_selected ?>>
113
- <?php echo $option ?>
114
- </option>
115
- <?php endforeach; ?>
116
- </select>
117
- </td>
118
- <td class="value scope-label">
119
- <?php echo Mage::helper('remarketing')->__('[GLOBAL]') ?>
120
- </td>
121
- </tr>
122
-
123
- <tr>
124
- <td class="label">
125
- <label for="categories_subcategory_attribute">
126
- <?php
127
- echo Mage::helper('catalog')
128
- ->__('Subcategory Attribute')
129
- ?>
130
- </label>
131
- </td>
132
- <td class="value">
133
- <select id="categories_subcategory_attribute"
134
- name="categories_subcategory_attribute"
135
- class="listrak_validate_unique_selection_subcategory_attribute select">
136
- <option value="">- No Subcategory Attribute -</option>
137
- <?php foreach ($this->getAttributeOptions() as $key => $option): ?>
138
- <?php
139
- $_selected
140
- = ($key == $this->getSubcategoryAttributeCode())
141
- ? 'selected="selected"'
142
- : ''
143
- ?>
144
- <option
145
- value="<?php echo $key ?>" <?php echo $_selected ?>>
146
- <?php echo $option ?>
147
- </option>
148
- <?php endforeach; ?>
149
- </select>
150
- </td>
151
- <td class="value scope-label">
152
- <?php echo Mage::helper('catalog')->__('[GLOBAL]') ?>
153
- </td>
154
- </tr>
155
- </table>
156
- <script type="text/javascript">
157
- //<![CDATA[
158
- var categoriesVisible = null;
159
- function changeCategoriesSourceOption() {
160
- var configSource = $('categories_use_config_source').checked;
161
- var catSource = configSource
162
- ? $('categories_source_default').value
163
- : $('categories_source').value;
164
- categoriesVisible = catSource == 'attributes';
165
-
166
- var catRow = $('categories_category_attribute').up('tr');
167
- var subcatRow = $('categories_subcategory_attribute').up('tr');
168
-
169
- if (categoriesVisible) {
170
- catRow.show();
171
- subcatRow.show();
172
- }
173
- else {
174
- catRow.hide();
175
- subcatRow.hide();
176
- }
177
- }
178
-
179
- toggleValueElements(
180
- $('categories_use_config_source'),
181
- $('categories_use_config_source').parentNode
182
- );
183
-
184
- Event.observe(
185
- $('categories_source'), 'change',
186
- changeCategoriesSourceOption
187
- );
188
- Event.observe(
189
- $('categories_use_config_source'), 'change',
190
- changeCategoriesSourceOption
191
- );
192
- changeCategoriesSourceOption();
193
-
194
- Validation.add(
195
- 'listrak_validate_unique_selection_category_attribute',
196
- 'You may select an attribute only once.',
197
- function (attr) {
198
- if (attr == '' || !categoriesVisible)
199
- return true;
200
-
201
- // make sure brand doesn't have this value
202
- var brandAttr = $('brand_attribute');
203
- return brandAttr == null || !(
204
- brandAttr.selectedIndex > 0 && brandAttr.value == attr
205
- );
206
- }
207
- );
208
-
209
- Validation.add(
210
- 'listrak_validate_unique_selection_subcategory_attribute',
211
- 'You may select an attribute only once.',
212
- function (attr) {
213
- if (attr == '' || !categoriesVisible)
214
- return true;
215
-
216
- // make sure neither brand nor category has the same value
217
- var brandAttr = $('brand_attribute');
218
- var catAttr = $('categories_category_attribute');
219
- return ((brandAttr == null
220
- || !(brandAttr.selectedIndex > 0 && brandAttr.value == attr))
221
- && !(catAttr.selectedIndex > 0 && catAttr.value == attr));
222
- }
223
- );
224
- //]]>
225
- </script>
226
- </fieldset>
227
- </div>
1
+ <?php
2
+ /**
3
+ * Listrak Remarketing Magento Extension Ver. 1.1.5
4
+ *
5
+ * PHP version 5
6
+ *
7
+ * @category Listrak
8
+ * @package Listrak_Remarketing
9
+ * @author Listrak Magento Team <magento@listrak.com>
10
+ * @copyright 2013 Listrak Inc
11
+ * @license http://s1.listrakbi.com/licenses/magento.txt License For Customer Use of Listrak Software
12
+ * @link http://www.listrak.com
13
+ */
14
+
15
+ ?>
16
+ <div class="entry-edit">
17
+ <div class="entry-edit-head">
18
+ <h4 class="icon-head head-edit-form fieldset-legend">
19
+ <?php echo Mage::helper('catalog')->__('Category and Subcategory') ?>
20
+ </h4>
21
+ </div>
22
+ <fieldset>
23
+
24
+ <legend>
25
+ <?php echo Mage::helper('remarketing')->__('Product Categories') ?>
26
+ </legend>
27
+ <table cellspacing="0" class="form-list"
28
+ id="table_productattributes_categories">
29
+ <tr>
30
+ <td class="label">
31
+ <label for="categories_source">
32
+ <?php echo Mage::helper('remarketing')->__('Source') ?>
33
+ </label>
34
+ </td>
35
+ <td class="value">
36
+ <select id="categories_source" name="categories_source"
37
+ class="select">
38
+ <option value="default"
39
+ <?php
40
+ if ($this->getCategoriesSource() == 'default') {
41
+ echo 'selected="selected"';
42
+ }
43
+ ?>
44
+ >
45
+ <?php
46
+ echo Mage::helper('remarketing')
47
+ ->__('Use Catalog Configuration')
48
+ ?>
49
+ </option>
50
+ <option value="attributes"
51
+ <?php if ($this->getCategoriesSource() == 'attributes') {
52
+ echo 'selected="selected"';
53
+ }
54
+ ?>
55
+ >
56
+ <?php
57
+ echo Mage::helper('remarketing')
58
+ ->__('Map from Product Attributes')
59
+ ?>
60
+ </option>
61
+ </select>
62
+ <input type="hidden" id="categories_source_default"
63
+ value="<?php echo $this->escapeHtml($this->getConfigCategoriesSource()); ?>"
64
+ />
65
+
66
+ <?php
67
+ $_checked = $this->getUseConfigCategoriesSource()
68
+ ? 'checked="checked"'
69
+ : ''
70
+ ?>
71
+ <input type="checkbox" id="categories_use_config_source"
72
+ name="use_config_categories_source"
73
+ value="1" <?php echo $_checked ?>
74
+ onclick="toggleValueElements(this, this.parentNode);"
75
+ class="checkbox"/>
76
+ <label for="categories_use_config_source" class="normal">
77
+ <?php
78
+ echo Mage::helper('catalog')
79
+ ->__('Use Listrak Configuration Settings')
80
+ ?>
81
+ </label>
82
+ </td>
83
+ <td class="value scope-label">
84
+ <?php
85
+ echo Mage::helper('remarketing')
86
+ ->__('[GLOBAL]')
87
+ ?>
88
+ </td>
89
+ </tr>
90
+
91
+ <tr>
92
+ <td class="label">
93
+ <label for="categories_category_attribute">
94
+ <?php
95
+ echo Mage::helper('remarketing')
96
+ ->__('Category Attribute')
97
+ ?>
98
+ </label>
99
+ </td>
100
+ <td class="value">
101
+ <select id="categories_category_attribute"
102
+ name="categories_category_attribute"
103
+ class="listrak_validate_unique_selection_category_attribute select">
104
+ <option value="">- No Category Attribute -</option>
105
+ <?php foreach ($this->getAttributeOptions() as $key => $option): ?>
106
+ <?php
107
+ $_selected = ($key == $this->getCategoryAttributeCode())
108
+ ? 'selected="selected"'
109
+ : ''
110
+ ?>
111
+ <option
112
+ value="<?php echo $key ?>" <?php echo $_selected ?>>
113
+ <?php echo $option ?>
114
+ </option>
115
+ <?php endforeach; ?>
116
+ </select>
117
+ </td>
118
+ <td class="value scope-label">
119
+ <?php echo Mage::helper('remarketing')->__('[GLOBAL]') ?>
120
+ </td>
121
+ </tr>
122
+
123
+ <tr>
124
+ <td class="label">
125
+ <label for="categories_subcategory_attribute">
126
+ <?php
127
+ echo Mage::helper('catalog')
128
+ ->__('Subcategory Attribute')
129
+ ?>
130
+ </label>
131
+ </td>
132
+ <td class="value">
133
+ <select id="categories_subcategory_attribute"
134
+ name="categories_subcategory_attribute"
135
+ class="listrak_validate_unique_selection_subcategory_attribute select">
136
+ <option value="">- No Subcategory Attribute -</option>
137
+ <?php foreach ($this->getAttributeOptions() as $key => $option): ?>
138
+ <?php
139
+ $_selected
140
+ = ($key == $this->getSubcategoryAttributeCode())
141
+ ? 'selected="selected"'
142
+ : ''
143
+ ?>
144
+ <option
145
+ value="<?php echo $key ?>" <?php echo $_selected ?>>
146
+ <?php echo $option ?>
147
+ </option>
148
+ <?php endforeach; ?>
149
+ </select>
150
+ </td>
151
+ <td class="value scope-label">
152
+ <?php echo Mage::helper('catalog')->__('[GLOBAL]') ?>
153
+ </td>
154
+ </tr>
155
+ </table>
156
+ <script type="text/javascript">
157
+ //<![CDATA[
158
+ var categoriesVisible = null;
159
+ function changeCategoriesSourceOption() {
160
+ var configSource = $('categories_use_config_source').checked;
161
+ var catSource = configSource
162
+ ? $('categories_source_default').value
163
+ : $('categories_source').value;
164
+ categoriesVisible = catSource == 'attributes';
165
+
166
+ var catRow = $('categories_category_attribute').up('tr');
167
+ var subcatRow = $('categories_subcategory_attribute').up('tr');
168
+
169
+ if (categoriesVisible) {
170
+ catRow.show();
171
+ subcatRow.show();
172
+ }
173
+ else {
174
+ catRow.hide();
175
+ subcatRow.hide();
176
+ }
177
+ }
178
+
179
+ toggleValueElements(
180
+ $('categories_use_config_source'),
181
+ $('categories_use_config_source').parentNode
182
+ );
183
+
184
+ Event.observe(
185
+ $('categories_source'), 'change',
186
+ changeCategoriesSourceOption
187
+ );
188
+ Event.observe(
189
+ $('categories_use_config_source'), 'change',
190
+ changeCategoriesSourceOption
191
+ );
192
+ changeCategoriesSourceOption();
193
+
194
+ Validation.add(
195
+ 'listrak_validate_unique_selection_category_attribute',
196
+ 'You may select an attribute only once.',
197
+ function (attr) {
198
+ if (attr == '' || !categoriesVisible)
199
+ return true;
200
+
201
+ // make sure brand doesn't have this value
202
+ var brandAttr = $('brand_attribute');
203
+ return brandAttr == null || !(
204
+ brandAttr.selectedIndex > 0 && brandAttr.value == attr
205
+ );
206
+ }
207
+ );
208
+
209
+ Validation.add(
210
+ 'listrak_validate_unique_selection_subcategory_attribute',
211
+ 'You may select an attribute only once.',
212
+ function (attr) {
213
+ if (attr == '' || !categoriesVisible)
214
+ return true;
215
+
216
+ // make sure neither brand nor category has the same value
217
+ var brandAttr = $('brand_attribute');
218
+ var catAttr = $('categories_category_attribute');
219
+ return ((brandAttr == null
220
+ || !(brandAttr.selectedIndex > 0 && brandAttr.value == attr))
221
+ && !(catAttr.selectedIndex > 0 && catAttr.value == attr));
222
+ }
223
+ );
224
+ //]]>
225
+ </script>
226
+ </fieldset>
227
+ </div>
app/design/adminhtml/default/default/template/listrak/remarketing/productattributes/form/initbrands.phtml CHANGED
@@ -1,59 +1,59 @@
1
- <?php
2
- /**
3
- * Listrak Remarketing Magento Extension Ver. 1.1.5
4
- *
5
- * PHP version 5
6
- *
7
- * @category Listrak
8
- * @package Listrak_Remarketing
9
- * @author Listrak Magento Team <magento@listrak.com>
10
- * @copyright 2013 Listrak Inc
11
- * @license http://s1.listrakbi.com/licenses/magento.txt License For Customer Use of Listrak Software
12
- * @link http://www.listrak.com
13
- * @see Listrak_Remarketing_Block_Adminhtml_Productattributes_Init_Brands
14
- */
15
- ?>
16
- <div class="message">
17
- <div class="mainText">Multiple attribute sets are missing a brand attribute
18
- mapping.
19
- </div>
20
- <div class="note">Please select an attribute from the dropdown to use for the
21
- attribute sets that include the
22
- selected attribute.
23
- </div>
24
- <div class="form">
25
- <?php echo $this->getFormInitScripts() ?>
26
- <?php echo $this->getChildHtml(); ?>
27
- <script type="text/javascript">
28
- bulkassignForm = new varienForm('bulk_form', '');
29
- $('bulkassign_submit').onclick = function () {
30
- bulkassignForm.submit();
31
- };
32
- </script>
33
- <?php echo $this->getFormScripts() ?>
34
- </div>
35
- </div>
36
- <style>
37
- .message {
38
- margin-bottom: 15px !important;
39
- min-height: 23px !important;
40
- padding: 8px 8px 4px 16px !important;
41
- border: 1px solid #FFD967 !important;
42
- background: 10px #FFFBF0 !important;
43
- }
44
-
45
- .mainText {
46
- color: #3D6611 !important;
47
- font-size: 0.95em !important;
48
- font-weight: bold !important;
49
- }
50
-
51
- .note {
52
- color: #777;
53
- font-size: 0.9em !important;
54
- }
55
-
56
- .form {
57
- margin-top: 6px !important;
58
- }
59
  </style>
1
+ <?php
2
+ /**
3
+ * Listrak Remarketing Magento Extension Ver. 1.1.5
4
+ *
5
+ * PHP version 5
6
+ *
7
+ * @category Listrak
8
+ * @package Listrak_Remarketing
9
+ * @author Listrak Magento Team <magento@listrak.com>
10
+ * @copyright 2013 Listrak Inc
11
+ * @license http://s1.listrakbi.com/licenses/magento.txt License For Customer Use of Listrak Software
12
+ * @link http://www.listrak.com
13
+ * @see Listrak_Remarketing_Block_Adminhtml_Productattributes_Init_Brands
14
+ */
15
+ ?>
16
+ <div class="message">
17
+ <div class="mainText">Multiple attribute sets are missing a brand attribute
18
+ mapping.
19
+ </div>
20
+ <div class="note">Please select an attribute from the dropdown to use for the
21
+ attribute sets that include the
22
+ selected attribute.
23
+ </div>
24
+ <div class="form">
25
+ <?php echo $this->getFormInitScripts() ?>
26
+ <?php echo $this->getChildHtml(); ?>
27
+ <script type="text/javascript">
28
+ bulkassignForm = new varienForm('bulk_form', '');
29
+ $('bulkassign_submit').onclick = function () {
30
+ bulkassignForm.submit();
31
+ };
32
+ </script>
33
+ <?php echo $this->getFormScripts() ?>
34
+ </div>
35
+ </div>
36
+ <style>
37
+ .message {
38
+ margin-bottom: 15px !important;
39
+ min-height: 23px !important;
40
+ padding: 8px 8px 4px 16px !important;
41
+ border: 1px solid #FFD967 !important;
42
+ background: 10px #FFFBF0 !important;
43
+ }
44
+
45
+ .mainText {
46
+ color: #3D6611 !important;
47
+ font-size: 0.95em !important;
48
+ font-weight: bold !important;
49
+ }
50
+
51
+ .note {
52
+ color: #777;
53
+ font-size: 0.9em !important;
54
+ }
55
+
56
+ .form {
57
+ margin-top: 6px !important;
58
+ }
59
  </style>
app/design/frontend/base/default/template/remarketing/async_wrapper.phtml CHANGED
@@ -1,22 +1,22 @@
1
- <?php
2
- /**
3
- * Listrak Remarketing Magento Extension Ver. 1.1.9
4
- *
5
- * PHP version 5
6
- *
7
- * @category Listrak
8
- * @package Listrak_Remarketing
9
- * @author Listrak Magento Team <magento@listrak.com>
10
- * @copyright 2013 Listrak Inc
11
- * @license http://s1.listrakbi.com/licenses/magento.txt License For Customer Use of Listrak Software
12
- * @link http://www.listrak.com
13
- */
14
-
15
- ?><script type="text/javascript">
16
- (function(d) { if (document.addEventListener) document.addEventListener('ltkAsyncListener', d);
17
- else {e = document.documentElement; e.ltkAsyncProperty = 0; e.attachEvent('onpropertychange', function (e) {
18
- if (e.propertyName == 'ltkAsyncProperty' && typeof _ltk !== 'undefined'){d();}});}})(function() {
19
- <?php echo rtrim($this->getScript()); ?>
20
-
21
- });
22
- </script>
1
+ <?php
2
+ /**
3
+ * Listrak Remarketing Magento Extension Ver. 1.1.9
4
+ *
5
+ * PHP version 5
6
+ *
7
+ * @category Listrak
8
+ * @package Listrak_Remarketing
9
+ * @author Listrak Magento Team <magento@listrak.com>
10
+ * @copyright 2013 Listrak Inc
11
+ * @license http://s1.listrakbi.com/licenses/magento.txt License For Customer Use of Listrak Software
12
+ * @link http://www.listrak.com
13
+ */
14
+
15
+ ?><script type="text/javascript">
16
+ (function(d) { if (document.addEventListener) document.addEventListener('ltkAsyncListener', d);
17
+ else {e = document.documentElement; e.ltkAsyncProperty = 0; e.attachEvent('onpropertychange', function (e) {
18
+ if (e.propertyName == 'ltkAsyncProperty' && typeof _ltk !== 'undefined'){d();}});}})(function() {
19
+ <?php echo rtrim($this->getScript()); ?>
20
+
21
+ });
22
+ </script>
app/design/frontend/base/default/template/remarketing/onescript.phtml CHANGED
@@ -1,25 +1,25 @@
1
- <?php
2
- /**
3
- * Listrak Remarketing Magento Extension Ver. 1.1.9
4
- *
5
- * PHP version 5
6
- *
7
- * @category Listrak
8
- * @package Listrak_Remarketing
9
- * @author Listrak Magento Team <magento@listrak.com>
10
- * @copyright 2013 Listrak Inc
11
- * @license http://s1.listrakbi.com/licenses/magento.txt License For Customer Use of Listrak Software
12
- * @link http://www.listrak.com
13
- */
14
-
15
- /* @var Listrak_Remarketing_Helper_Data $helper */
16
- $helper = Mage::helper('remarketing');
17
-
18
- ?><script type="text/javascript">
19
- (function (d, s, id, url) {
20
- var js, ljs = d.getElementsByTagName(s)[0];
21
- if (d.getElementById(id)) return;
22
- js = d.createElement(s); js.id = id; js.src = url; js.type = "text/javascript";
23
- ljs.parentNode.insertBefore(js, ljs);
24
- })(document, 'script', 'ltkSDK', '<?php echo $helper->onescriptSrc() ?>');
25
- </script>
1
+ <?php
2
+ /**
3
+ * Listrak Remarketing Magento Extension Ver. 1.1.9
4
+ *
5
+ * PHP version 5
6
+ *
7
+ * @category Listrak
8
+ * @package Listrak_Remarketing
9
+ * @author Listrak Magento Team <magento@listrak.com>
10
+ * @copyright 2013 Listrak Inc
11
+ * @license http://s1.listrakbi.com/licenses/magento.txt License For Customer Use of Listrak Software
12
+ * @link http://www.listrak.com
13
+ */
14
+
15
+ /* @var Listrak_Remarketing_Helper_Data $helper */
16
+ $helper = Mage::helper('remarketing');
17
+
18
+ ?><script type="text/javascript">
19
+ (function (d, s, id, url) {
20
+ var js, ljs = d.getElementsByTagName(s)[0];
21
+ if (d.getElementById(id)) return;
22
+ js = d.createElement(s); js.id = id; js.src = url; js.type = "text/javascript";
23
+ ljs.parentNode.insertBefore(js, ljs);
24
+ })(document, 'script', 'ltkSDK', '<?php echo $helper->onescriptSrc() ?>');
25
+ </script>
app/design/frontend/base/default/template/remarketing/utils.phtml CHANGED
@@ -1,42 +1,42 @@
1
- <?php
2
- /**
3
- * Listrak Remarketing Magento Extension Ver. 1.1.9
4
- *
5
- * PHP version 5
6
- *
7
- * @category Listrak
8
- * @package Listrak_Remarketing
9
- * @author Listrak Magento Team <magento@listrak.com>
10
- * @copyright 2013 Listrak Inc
11
- * @license http://s1.listrakbi.com/licenses/magento.txt License For Customer Use of Listrak Software
12
- * @link http://www.listrak.com
13
- */
14
-
15
- /* @var Listrak_Remarketing_Helper_Data $helper */
16
- $helper = Mage::helper('remarketing');
17
- $scaEnabled = $helper->scaEnabled();
18
-
19
- /* @var bool $isSecure */
20
- $isSecure = Mage::app()->getStore()->isCurrentlySecure();
21
- ?>
22
- <script type="text/javascript">
23
- Listrak_Remarketing = new function() {
24
- this.updateCart = function() {
25
- <?php
26
- if ($scaEnabled) {
27
- $updateUrl = Mage::getUrl('remarketing/ajax/cart', array('_forced_secure' => $isSecure));
28
- echo "new Ajax.Request('{$updateUrl}');";
29
- }
30
- ?>
31
- };
32
-
33
- this.track = function() {
34
- <?php
35
- if ($scaEnabled) {
36
- $trackUrl = Mage::getUrl('remarketing/ajax/track', array('_forced_secure' => $isSecure));
37
- echo "new Ajax.Request('{$trackUrl}');";
38
- }
39
- ?>
40
- };
41
- };
42
- </script>
1
+ <?php
2
+ /**
3
+ * Listrak Remarketing Magento Extension Ver. 1.1.9
4
+ *
5
+ * PHP version 5
6
+ *
7
+ * @category Listrak
8
+ * @package Listrak_Remarketing
9
+ * @author Listrak Magento Team <magento@listrak.com>
10
+ * @copyright 2013 Listrak Inc
11
+ * @license http://s1.listrakbi.com/licenses/magento.txt License For Customer Use of Listrak Software
12
+ * @link http://www.listrak.com
13
+ */
14
+
15
+ /* @var Listrak_Remarketing_Helper_Data $helper */
16
+ $helper = Mage::helper('remarketing');
17
+ $scaEnabled = $helper->scaEnabled();
18
+
19
+ /* @var bool $isSecure */
20
+ $isSecure = Mage::app()->getStore()->isCurrentlySecure();
21
+ ?>
22
+ <script type="text/javascript">
23
+ Listrak_Remarketing = new function() {
24
+ this.updateCart = function() {
25
+ <?php
26
+ if ($scaEnabled) {
27
+ $updateUrl = Mage::getUrl('remarketing/ajax/cart', array('_forced_secure' => $isSecure));
28
+ echo "new Ajax.Request('{$updateUrl}');";
29
+ }
30
+ ?>
31
+ };
32
+
33
+ this.track = function() {
34
+ <?php
35
+ if ($scaEnabled) {
36
+ $trackUrl = Mage::getUrl('remarketing/ajax/track', array('_forced_secure' => $isSecure));
37
+ echo "new Ajax.Request('{$trackUrl}');";
38
+ }
39
+ ?>
40
+ };
41
+ };
42
+ </script>
package.xml CHANGED
@@ -1,12 +1,12 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Listrak_Remarketing</name>
4
- <version>1.2.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://s1.listrakbi.com/licenses/magento.txt">Listrak EULA</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>For Listrak customers, our extension has: conversion tracking, cart abandonment, re-engagement emails</summary>
10
  <description>&lt;p&gt;&lt;b&gt;NOTE: A Listrak account is required to utilize the features of this automated cart abandonment solution. Please &lt;a href="http://www.listrak.com/partners/magento-extension.aspx"&gt;contact Listrak&lt;/a&gt; to setup your account. &lt;/b&gt;&lt;/p&gt;&#xD;
11
  &#xD;
12
  &lt;p&gt;The Listrak extension for Magento enables online merchants to expand their email marketing campaigns beyond typical "batch and blast" into targeted campaigns aimed at specific scenarios and buyer events. The extension covers:&lt;/p&gt;&#xD;
@@ -45,13 +45,15 @@ To make sure your marketing list is always current, all newsletter subscribers a
45
  &lt;/ol&gt;&#xD;
46
  &#xD;
47
  &lt;p&gt;&lt;b&gt;About Listrak&lt;/b&gt;&lt;br /&gt;&#xD;
48
- Listrak works with online retailers to maximize marketing ROI by helping them reach optimal engagement with their customers. Our focus is on prompting dialog and interaction through email and mobile marketing to increase customer lifetime value.&lt;/p&gt;</description>
 
49
  <notes>Efficiency improvements&#xD;
50
- Security fixes</notes>
51
- <authors><author><name>Listrak</name><user>auto-converted</user><email>magento@listrak.com</email></author></authors>
52
- <date>2016-05-11</date>
53
- <time>13:21:09</time>
54
- <contents><target name="magecommunity"><dir name="Listrak"><dir name="Remarketing"><dir name="Block"><dir name="Adminhtml"><dir name="Emailcapture"><dir name="Edit"><dir name="Tab"><file name="Form.php" hash="04f1de0ff518a9fd51dc7eef50d5ec16"/></dir><file name="Form.php" hash="c90bb70290872cb88b0d27c3ae83db70"/><file name="Tabs.php" hash="63e79238ac854f6c5c7e4c4979ea327b"/></dir><file name="Edit.php" hash="94b2384476aeccae8e68d0eed8ecaa4a"/><file name="Grid.php" hash="ba6e7aaff90477c0066fd2222d2080e0"/></dir><dir name="Productattributes"><dir name="Edit"><dir name="Tab"><dir name="Form"><file name="Brand.php" hash="27a7ca71c0ea5472a9092d98a67786b7"/><file name="Categories.php" hash="2a04e488a514ea9d5927fa8e26859c9f"/></dir></dir><file name="Form.php" hash="a4776c4adcf8bce5969318a05e3692e5"/><file name="Tabs.php" hash="7ef120f614c00571c8e447b7be4c200a"/></dir><dir name="Init"><dir name="Brands"><file name="Form.php" hash="62c96540bd5ea3c64f1c3eb4b4118c26"/></dir></dir><file name="Edit.php" hash="63ad349cdd3847f093b6493156b235ad"/><file name="Grid.php" hash="c5af2b44fb96b2eaf5eb34c89437beb0"/></dir><file name="Emailcapture.php" hash="e2ee3edbec92fb8e98ab9bfa802a894e"/><file name="Notifications.php" hash="956cc8e53866b00405976d0ca3de0be3"/><file name="Productattributes.php" hash="9f498425f615344f7172eb3c0be068b9"/></dir><dir name="Conversion"><file name="Abstract.php" hash="d1b30d9820351ff0a156027d0e9a90a0"/><file name="Cart.php" hash="8919929cbfadd2d6be73235bb75fb86c"/><file name="Fingerprint.php" hash="4276a34be1452b591e56c24f93d557f4"/><file name="Order.php" hash="b33c1425bc84a975df58aec0e907ef49"/></dir><dir name="Legacy"><file name="Ecjs.php" hash="09bdba8b2af7500ccc9891182f6ea330"/><file name="Modal.php" hash="a1f85844cac151b2836e9f398eabd571"/></dir><dir name="Require"><file name="Activity.php" hash="66155793d621b112ab6f897f1a0d67de"/><file name="Legacy.php" hash="c26f5187a18c35551aeddeb71bf9155c"/><file name="Onescript.php" hash="082f2f148a23655b33a67b9bf1cc24dc"/><file name="Sca.php" hash="c1c501b706c53ce101be25711477e586"/></dir><dir name="Tracking"><file name="Activity.php" hash="4927f310eae79c3922c3876596ee8f14"/><file name="Cart.php" hash="f6cb2b749fa222f826a0dbb34b75c849"/><file name="Email.php" hash="236b0fdc7729a5950d4f55cb10624df1"/></dir><file name="Base.php" hash="018d8a53e485f689ac67a5cd3c4a4c7f"/></dir><dir name="Helper"><dir name="Product"><dir name="Attribute"><dir name="Set"><file name="Map.php" hash="d55cadfab5d9ad38880fa9fd57ea8dbf"/></dir></dir></dir><dir name="Review"><file name="Update.php" hash="8883e702a5871426e768a4d6c8afd12e"/></dir><file name="Data.php" hash="65fd86383c19284d1c2853ac9cf458d2"/><file name="Product.php" hash="ec299ef89f0a4d4af463c46e1b18c7ae"/></dir><dir name="Model"><dir name="Abandonedcart"><dir name="Api"><file name="V2.php" hash="9f6b4dcf6dc3e5786563b874bfe5a628"/></dir><file name="Api.php" hash="34ae38fcf33358a479c76833f87b82f5"/></dir><dir name="Apiextension"><dir name="Api"><file name="V2.php" hash="4c7b906f43dada5f20b4df23fe6fdc46"/></dir><file name="Api.php" hash="e7f20f484f71ecfb69b7bded4c0a52ce"/></dir><dir name="Click"><dir name="Api"><file name="V2.php" hash="223e139fabb121fc7200f4709f133f46"/></dir><file name="Api.php" hash="ac48e5676e3bf8fb4802cece40ad9e04"/></dir><dir name="Log"><dir name="Api"><file name="V2.php" hash="9263c4ac205a8fc1e32e5d37d21f0daf"/></dir><file name="Api.php" hash="28bb96796dc0bcd9d954c8a032a9e67a"/></dir><dir name="Mysql4"><dir name="Abandonedcart"><file name="Collection.php" hash="2920bbb560b27f0a88ecdd691d8bf116"/></dir><dir name="Click"><file name="Collection.php" hash="286c6eb5d0aca628823c041761494301"/></dir><dir name="Emailcapture"><file name="Collection.php" hash="d96f0744722f18064a855e0fdc294415"/></dir><dir name="Log"><file name="Collection.php" hash="e5bc090bf9605dfe93d4d1962e66ca5f"/></dir><dir name="Product"><dir name="Attribute"><dir name="Set"><dir name="Map"><file name="Collection.php" hash="14f60c1efeb5338a22c685b1719b21fe"/></dir><file name="Map.php" hash="78db3f6778a93c9d82b19de660d72db4"/></dir></dir><file name="Collection.php" hash="f39792ca3a30c6cbea5294cedd7cb052"/></dir><dir name="Review"><dir name="Update"><file name="Collection.php" hash="148b67805880086583ecb3f7ae0f4a30"/></dir><file name="Update.php" hash="e894546d22e4da32ecd8cbfa5f57c8ef"/></dir><dir name="Session"><file name="Collection.php" hash="6acf9de01b85cdc1dbbb3bfb1646244a"/></dir><dir name="Subscriberupdate"><file name="Collection.php" hash="77331688f90271c757b5a7d319b9d351"/></dir><file name="Abandonedcart.php" hash="69e8472352932cf4702455eca6726749"/><file name="Apiextension.php" hash="0a00057cd50cd462ce3518d5a9519757"/><file name="Click.php" hash="92558ac0fa543da96d0a16ed9f03f333"/><file name="Emailcapture.php" hash="7fb60c5b61155e42674ecb05f4be7de8"/><file name="Log.php" hash="efa5dac7cb3610debf45d10484a80caf"/><file name="Product.php" hash="44e13acab31b9e6cf80f0de7c8472b53"/><file name="Session.php" hash="b2c10bdf21e21ddba41182751602eddc"/><file name="Subscriberupdate.php" hash="b813c47bef3889d2ad2a2c5629722798"/></dir><dir name="Product"><dir name="Api"><file name="V2.php" hash="285034adde0f68c63c084ab480307ec8"/></dir><dir name="Attribute"><dir name="Set"><file name="Map.php" hash="4887562fd27e4c7be060f44f6d603c44"/></dir></dir><dir name="Category"><file name="Source.php" hash="ff8e5347be75728a5325ed628c347d72"/></dir><dir name="Purchasable"><file name="Visibility.php" hash="625efae1b17b73aaf05ed79eaa793360"/></dir><file name="Api.php" hash="92c9bf3d2ad6e320ef13deb1421c182b"/><file name="Attributes.php" hash="460420f1f7cfb10c411b01d7032c1624"/></dir><dir name="Review"><dir name="Update"><dir name="Api"><file name="V2.php" hash="70d0c2f9811f9f73befe7c2d1f8c1363"/></dir><file name="Api.php" hash="dd2185bf79bde1fa221d280f91aa305b"/></dir><file name="Update.php" hash="ad967b1675f15d2ee6f18bf77239b3a2"/></dir><file name="Abandonedcart.php" hash="73b64fa8e765cae40f2639e0c097f952"/><file name="Apiextension.php" hash="40589bd7b1676e2223a4bf87647679c8"/><file name="Click.php" hash="f0bff55e889b18c0c09f75efd7e6aba4"/><file name="Emailcapture.php" hash="b292bd6eb233454f67ad99d4a0100dc5"/><file name="Log.php" hash="81a87ea8df5b64b57029884694788d9d"/><file name="Observer.php" hash="cbd8218309a856b8c3510468f7159d50"/><file name="Product.php" hash="bcb70ef1a133904dc926edc27aa1c96f"/><file name="Session.php" hash="4550d5ca3320827d1381c5b0e3aeb05b"/><file name="Subscriber.php" hash="95fce814868be28873bbb06026a0a74c"/><file name="Subscriberupdate.php" hash="9af7dbc06a76ade1b7add599b53df2dd"/></dir><dir name="controllers"><dir name="Remarketing"><file name="EmailcaptureController.php" hash="cf6ba46eae1a32d17cab3f22c487191e"/><file name="ProductattributesController.php" hash="84728119dd9155ec9ae2c3ba78161c26"/></dir><file name="AjaxController.php" hash="4065e21f1dbbc232d874057415756678"/><file name="CartController.php" hash="045ce9b5d7e7ca7288d956ea80671e02"/><file name="ConfigController.php" hash="cb895f36014645af3ab9ea633f8b12cc"/><file name="EmailController.php" hash="709e3231973268f657e7325c2ef03d08"/></dir><dir name="etc"><file name="adminhtml.xml" hash="c5e8ade6b6c95176096cd392ccda5b16"/><file name="api.xml" hash="aa1711c3d2a0f4aead42df0c98d55cec"/><file name="config.xml" hash="f190a54df232a98d43d5d61a2a230f3c"/><file name="system.xml" hash="50af45b64a41b740dfc92581d0948766"/><file name="wsdl.xml" hash="bad4f2ba40b3636869a1200bdfea224c"/><file name="wsi.xml" hash="4e201e5098880917aa58a25a1bdf11be"/></dir><dir name="sql"><dir name="listrak_remarketing_setup"><file name="mysql4-install-1.0.0.php" hash="26f1234ccc6d5505d20e27746f310581"/><file name="mysql4-install-1.1.9.php" hash="08f87628a62d6d2583d529b96a3344d9"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="0b01c013188802e9b325206f8a6464dc"/><file name="mysql4-upgrade-1.0.8-1.0.9.php" hash="862600bc223bc0074b669c5d576a40a4"/><file name="mysql4-upgrade-1.1.0-1.1.1.php" hash="6d1fdaf22e00279fdd6ae2f4073d6a34"/><file name="mysql4-upgrade-1.1.3-1.1.4.php" hash="f9c651f243ca6e6664df57a8cc7b3e41"/><file name="mysql4-upgrade-1.1.4-1.1.5.php" hash="4dc6e11122b62890932940be88838901"/><file name="mysql4-upgrade-1.1.5-1.1.6.php" hash="343ccdc500df5933ab57bc6391e57598"/><file name="mysql4-upgrade-1.1.6-1.1.7.php" hash="78fce151f25f60aba363956a88596781"/><file name="mysql4-upgrade-1.1.7-1.1.8.php" hash="28503560158e4346859450f289f1fe9a"/><file name="mysql4-upgrade-1.1.8-1.1.9.php" hash="f793cdc96107dcfe3d063bda26065158"/><file name="mysql4-upgrade-1.1.9.5-1.2.0.php" hash="bd07699aed48b898625ab93a01c9cf96"/><file name="mysql4-upgrade-1.2.0-1.2.1.php" hash="2eaef127bc29d643aa1960c6f8998b8b"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="remarketing.xml" hash="e2f3efb3817b222681516bb4333738bc"/></dir><dir name="template"><dir name="remarketing"><file name="async_wrapper.phtml" hash="ce78a31a93be4963ec1556d34f4572d3"/><file name="onescript.phtml" hash="30571a551e2653be8841d56575a76702"/><file name="utils.phtml" hash="b9b128932d453424816c43d531095495"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="remarketing.xml" hash="ec4a48c258fd9d64f1e08b00e896176d"/></dir><dir name="template"><dir name="listrak"><dir name="remarketing"><dir name="productattributes"><dir name="form"><file name="categories.phtml" hash="fafa8fe03cfdd930e4c7b45b84793ccb"/><file name="initbrands.phtml" hash="430fa0287c490f597543669883f69cee"/></dir></dir><file name="productattributes.phtml" hash="b22fbe3f7ff1337e5d19104d42447a5f"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Listrak_Remarketing.xml" hash="63082a312f4668561da45ccd445a862b"/></dir></target></contents>
 
55
  <compatible/>
56
- <dependencies/>
57
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Listrak_Remarketing</name>
4
+ <version>1.2.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://s1.listrakbi.com/licenses/magento.txt">Listrak EULA</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>For Listrak customers, our extension has: conversion tracking, cart abandonment, re-engagement emails &amp; more!</summary>
10
  <description>&lt;p&gt;&lt;b&gt;NOTE: A Listrak account is required to utilize the features of this automated cart abandonment solution. Please &lt;a href="http://www.listrak.com/partners/magento-extension.aspx"&gt;contact Listrak&lt;/a&gt; to setup your account. &lt;/b&gt;&lt;/p&gt;&#xD;
11
  &#xD;
12
  &lt;p&gt;The Listrak extension for Magento enables online merchants to expand their email marketing campaigns beyond typical "batch and blast" into targeted campaigns aimed at specific scenarios and buyer events. The extension covers:&lt;/p&gt;&#xD;
45
  &lt;/ol&gt;&#xD;
46
  &#xD;
47
  &lt;p&gt;&lt;b&gt;About Listrak&lt;/b&gt;&lt;br /&gt;&#xD;
48
+ Listrak works with online retailers to maximize marketing ROI by helping them reach optimal engagement with their customers. Our focus is on prompting dialog and interaction through email and mobile marketing to increase customer lifetime value.&lt;/p&gt;&#xD;
49
+ </description>
50
  <notes>Efficiency improvements&#xD;
51
+ Security fixes&#xD;
52
+ </notes>
53
+ <authors><author><name>Listrak</name><user>Listrak</user><email>magento@listrak.com</email></author></authors>
54
+ <date>2016-08-24</date>
55
+ <time>16:03:05</time>
56
+ <contents><target name="magecommunity"><dir name="Listrak"><dir name="Remarketing"><dir name="Block"><dir name="Adminhtml"><dir name="Emailcapture"><dir name="Edit"><file name="Form.php" hash="c90bb70290872cb88b0d27c3ae83db70"/><dir name="Tab"><file name="Form.php" hash="04f1de0ff518a9fd51dc7eef50d5ec16"/></dir><file name="Tabs.php" hash="63e79238ac854f6c5c7e4c4979ea327b"/></dir><file name="Edit.php" hash="94b2384476aeccae8e68d0eed8ecaa4a"/><file name="Grid.php" hash="ba6e7aaff90477c0066fd2222d2080e0"/></dir><file name="Emailcapture.php" hash="e2ee3edbec92fb8e98ab9bfa802a894e"/><file name="Notifications.php" hash="956cc8e53866b00405976d0ca3de0be3"/><dir name="Productattributes"><dir name="Edit"><file name="Form.php" hash="a4776c4adcf8bce5969318a05e3692e5"/><dir name="Tab"><dir name="Form"><file name="Brand.php" hash="27a7ca71c0ea5472a9092d98a67786b7"/><file name="Categories.php" hash="2a04e488a514ea9d5927fa8e26859c9f"/></dir></dir><file name="Tabs.php" hash="7ef120f614c00571c8e447b7be4c200a"/></dir><file name="Edit.php" hash="63ad349cdd3847f093b6493156b235ad"/><file name="Grid.php" hash="c5af2b44fb96b2eaf5eb34c89437beb0"/><dir name="Init"><dir name="Brands"><file name="Form.php" hash="62c96540bd5ea3c64f1c3eb4b4118c26"/></dir></dir></dir><file name="Productattributes.php" hash="9f498425f615344f7172eb3c0be068b9"/></dir><file name="Base.php" hash="018d8a53e485f689ac67a5cd3c4a4c7f"/><dir name="Conversion"><file name="Abstract.php" hash="d1b30d9820351ff0a156027d0e9a90a0"/><file name="Cart.php" hash="8919929cbfadd2d6be73235bb75fb86c"/><file name="Fingerprint.php" hash="4276a34be1452b591e56c24f93d557f4"/><file name="Order.php" hash="b33c1425bc84a975df58aec0e907ef49"/></dir><dir name="Legacy"><file name="Ecjs.php" hash="09bdba8b2af7500ccc9891182f6ea330"/><file name="Modal.php" hash="a1f85844cac151b2836e9f398eabd571"/></dir><dir name="Require"><file name="Activity.php" hash="66155793d621b112ab6f897f1a0d67de"/><file name="Legacy.php" hash="c26f5187a18c35551aeddeb71bf9155c"/><file name="Onescript.php" hash="082f2f148a23655b33a67b9bf1cc24dc"/><file name="Sca.php" hash="c1c501b706c53ce101be25711477e586"/></dir><dir name="Tracking"><file name="Activity.php" hash="4927f310eae79c3922c3876596ee8f14"/><file name="Cart.php" hash="f6cb2b749fa222f826a0dbb34b75c849"/><file name="Email.php" hash="236b0fdc7729a5950d4f55cb10624df1"/></dir></dir><dir name="Helper"><file name="Data.php" hash="ca68017e5390fa6d875a57c76f6a6e12"/><dir name="Product"><dir name="Attribute"><dir name="Set"><file name="Map.php" hash="d55cadfab5d9ad38880fa9fd57ea8dbf"/></dir></dir></dir><file name="Product.php" hash="ec299ef89f0a4d4af463c46e1b18c7ae"/><dir name="Review"><file name="Update.php" hash="8883e702a5871426e768a4d6c8afd12e"/></dir></dir><dir name="Model"><dir name="Abandonedcart"><dir name="Api"><file name="V2.php" hash="9f6b4dcf6dc3e5786563b874bfe5a628"/></dir><file name="Api.php" hash="34ae38fcf33358a479c76833f87b82f5"/></dir><file name="Abandonedcart.php" hash="73b64fa8e765cae40f2639e0c097f952"/><dir name="Apiextension"><dir name="Api"><file name="V2.php" hash="4c7b906f43dada5f20b4df23fe6fdc46"/></dir><file name="Api.php" hash="1668775730e3300e8e64c79aac4dd7fb"/></dir><file name="Apiextension.php" hash="40589bd7b1676e2223a4bf87647679c8"/><dir name="Click"><dir name="Api"><file name="V2.php" hash="223e139fabb121fc7200f4709f133f46"/></dir><file name="Api.php" hash="ac48e5676e3bf8fb4802cece40ad9e04"/></dir><file name="Click.php" hash="f0bff55e889b18c0c09f75efd7e6aba4"/><file name="Emailcapture.php" hash="b292bd6eb233454f67ad99d4a0100dc5"/><dir name="Log"><dir name="Api"><file name="V2.php" hash="9263c4ac205a8fc1e32e5d37d21f0daf"/></dir><file name="Api.php" hash="28bb96796dc0bcd9d954c8a032a9e67a"/></dir><file name="Log.php" hash="81a87ea8df5b64b57029884694788d9d"/><dir name="Mysql4"><dir name="Abandonedcart"><file name="Collection.php" hash="2920bbb560b27f0a88ecdd691d8bf116"/></dir><file name="Abandonedcart.php" hash="69e8472352932cf4702455eca6726749"/><file name="Apiextension.php" hash="0a00057cd50cd462ce3518d5a9519757"/><dir name="Click"><file name="Collection.php" hash="286c6eb5d0aca628823c041761494301"/></dir><file name="Click.php" hash="92558ac0fa543da96d0a16ed9f03f333"/><dir name="Emailcapture"><file name="Collection.php" hash="d96f0744722f18064a855e0fdc294415"/></dir><file name="Emailcapture.php" hash="7fb60c5b61155e42674ecb05f4be7de8"/><dir name="Log"><file name="Collection.php" hash="e5bc090bf9605dfe93d4d1962e66ca5f"/></dir><file name="Log.php" hash="efa5dac7cb3610debf45d10484a80caf"/><dir name="Product"><dir name="Attribute"><dir name="Set"><dir name="Map"><file name="Collection.php" hash="14f60c1efeb5338a22c685b1719b21fe"/></dir><file name="Map.php" hash="78db3f6778a93c9d82b19de660d72db4"/></dir></dir><file name="Collection.php" hash="88955b69949966aca63759093ec0d644"/></dir><file name="Product.php" hash="44e13acab31b9e6cf80f0de7c8472b53"/><dir name="Review"><dir name="Update"><file name="Collection.php" hash="148b67805880086583ecb3f7ae0f4a30"/></dir><file name="Update.php" hash="e894546d22e4da32ecd8cbfa5f57c8ef"/></dir><dir name="Session"><file name="Collection.php" hash="6acf9de01b85cdc1dbbb3bfb1646244a"/></dir><file name="Session.php" hash="b2c10bdf21e21ddba41182751602eddc"/><dir name="Subscriberupdate"><file name="Collection.php" hash="77331688f90271c757b5a7d319b9d351"/></dir><file name="Subscriberupdate.php" hash="b813c47bef3889d2ad2a2c5629722798"/></dir><file name="Observer.php" hash="cbd8218309a856b8c3510468f7159d50"/><dir name="Product"><dir name="Api"><file name="V2.php" hash="285034adde0f68c63c084ab480307ec8"/></dir><file name="Api.php" hash="92c9bf3d2ad6e320ef13deb1421c182b"/><dir name="Attribute"><dir name="Set"><file name="Map.php" hash="4887562fd27e4c7be060f44f6d603c44"/></dir></dir><file name="Attributes.php" hash="460420f1f7cfb10c411b01d7032c1624"/><dir name="Category"><file name="Source.php" hash="ff8e5347be75728a5325ed628c347d72"/></dir><dir name="Purchasable"><file name="Visibility.php" hash="625efae1b17b73aaf05ed79eaa793360"/></dir></dir><file name="Product.php" hash="bcb70ef1a133904dc926edc27aa1c96f"/><dir name="Review"><dir name="Update"><dir name="Api"><file name="V2.php" hash="70d0c2f9811f9f73befe7c2d1f8c1363"/></dir><file name="Api.php" hash="dd2185bf79bde1fa221d280f91aa305b"/></dir><file name="Update.php" hash="fda857d68c322bf26013ddf0301026de"/></dir><file name="Session.php" hash="4550d5ca3320827d1381c5b0e3aeb05b"/><file name="Subscriber.php" hash="95fce814868be28873bbb06026a0a74c"/><file name="Subscriberupdate.php" hash="9af7dbc06a76ade1b7add599b53df2dd"/></dir><dir name="controllers"><file name="AjaxController.php" hash="4065e21f1dbbc232d874057415756678"/><file name="CartController.php" hash="045ce9b5d7e7ca7288d956ea80671e02"/><file name="ConfigController.php" hash="cb895f36014645af3ab9ea633f8b12cc"/><file name="EmailController.php" hash="709e3231973268f657e7325c2ef03d08"/><dir name="Remarketing"><file name="EmailcaptureController.php" hash="cf6ba46eae1a32d17cab3f22c487191e"/><file name="ProductattributesController.php" hash="84728119dd9155ec9ae2c3ba78161c26"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="d052dc0142e1859aa6fc42c67c8911c0"/><file name="api.xml" hash="b699b7c3935830494d05d2fde3c98541"/><file name="config.xml" hash="ca9706be2604f127afd535970d1fb5f8"/><file name="system.xml" hash="9db85a2b42600ee46b2d6fe409ededea"/><file name="wsdl.xml" hash="bad4f2ba40b3636869a1200bdfea224c"/><file name="wsi.xml" hash="4e201e5098880917aa58a25a1bdf11be"/></dir><dir name="sql"><dir name="listrak_remarketing_setup"><file name="mysql4-install-1.0.0.php" hash="87c8a468bd55e40b1d74be79d430bdb3"/><file name="mysql4-install-1.1.9.php" hash="7c33cbafbd90274053b4235eca1b01ad"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="0b01c013188802e9b325206f8a6464dc"/><file name="mysql4-upgrade-1.0.8-1.0.9.php" hash="862600bc223bc0074b669c5d576a40a4"/><file name="mysql4-upgrade-1.1.0-1.1.1.php" hash="6d1fdaf22e00279fdd6ae2f4073d6a34"/><file name="mysql4-upgrade-1.1.3-1.1.4.php" hash="f9c651f243ca6e6664df57a8cc7b3e41"/><file name="mysql4-upgrade-1.1.4-1.1.5.php" hash="4dc6e11122b62890932940be88838901"/><file name="mysql4-upgrade-1.1.5-1.1.6.php" hash="343ccdc500df5933ab57bc6391e57598"/><file name="mysql4-upgrade-1.1.6-1.1.7.php" hash="78fce151f25f60aba363956a88596781"/><file name="mysql4-upgrade-1.1.7-1.1.8.php" hash="28503560158e4346859450f289f1fe9a"/><file name="mysql4-upgrade-1.1.8-1.1.9.php" hash="f793cdc96107dcfe3d063bda26065158"/><file name="mysql4-upgrade-1.1.9.5-1.2.0.php" hash="bd07699aed48b898625ab93a01c9cf96"/><file name="mysql4-upgrade-1.2.0-1.2.1.php" hash="2eaef127bc29d643aa1960c6f8998b8b"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="remarketing.xml" hash="e2f3efb3817b222681516bb4333738bc"/></dir><dir name="template"><dir name="remarketing"><file name="async_wrapper.phtml" hash="98a9aa56fe9247fb1b5da504641cdab8"/><file name="onescript.phtml" hash="c91313156159b7ad808fb8cc3051c3de"/><file name="utils.phtml" hash="083ff93eeae390aac113e75f7ea3b77e"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="remarketing.xml" hash="ec4a48c258fd9d64f1e08b00e896176d"/></dir><dir name="template"><dir name="listrak"><dir name="remarketing"><dir name="productattributes"><dir name="form"><file name="categories.phtml" hash="8914235d324ce6da5461438a1c0916ae"/><file name="initbrands.phtml" hash="53db599afd81fbab14968ca312b52967"/></dir></dir><file name="productattributes.phtml" hash="fe1a6934e3bdd55a02ac4a8bea27ac26"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Listrak_Remarketing.xml" hash="63082a312f4668561da45ccd445a862b"/></dir></target></contents>
57
  <compatible/>
58
+ <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
59
  </package>