Ebizmarts_MageMonkey - Version 1.1.21

Version Notes

FIXES
adminnotification/inbox when call parse method.
Rewrite version validation of Mandrill dependency.
Fix for overload Order when ecommerce360 by cron runs.
Adding date for orders when ecommerce360 Order is pushed.
Moved Autoresponder Observer from Mandrill to Autoresponder (kalenjordan).
Add top nav menu to get to Mandrill settings from Newsletter menu (kalenjordan).
Modified Webhook validation.
Fixed bug in visitedproduct.js not retrieving ProductID (SchumacherFM).

NEW
New Autoresponder Back to Stock Notification module.
New config option for enable/disable notifications.
Added cache for Checkout Block List (SchumacherFM).

Download this release

Release Info

Developer Ebizmarts Development Team
Extension Ebizmarts_MageMonkey
Version 1.1.21
Comparing to
See all releases


Code changes from version 1.1.20 to 1.1.21

Files changed (184) hide show
  1. app/code/community/Ebizmarts/AbandonedCart/Block/Adminhtml/Abandonedmails.php +7 -5
  2. app/code/community/Ebizmarts/AbandonedCart/Block/Adminhtml/Abandonedmails/Grid.php +8 -6
  3. app/code/community/Ebizmarts/AbandonedCart/Block/Adminhtml/Abandonedorder.php +7 -4
  4. app/code/community/Ebizmarts/AbandonedCart/Block/Adminhtml/Abandonedorder/Grid.php +7 -4
  5. app/code/community/Ebizmarts/AbandonedCart/Block/Adminhtml/Dashboard.php +7 -4
  6. app/code/community/Ebizmarts/AbandonedCart/Block/Adminhtml/Dashboard/Sales.php +6 -4
  7. app/code/community/Ebizmarts/AbandonedCart/Block/Adminhtml/Dashboard/Totals.php +8 -5
  8. app/code/community/Ebizmarts/AbandonedCart/Block/Adminhtml/System/Config/Date.php +7 -4
  9. app/code/community/Ebizmarts/AbandonedCart/Block/Adminhtml/System/Config/Fieldset/Hint.php +8 -0
  10. app/code/community/Ebizmarts/AbandonedCart/Block/Email/Order/Items.php +8 -0
  11. app/code/community/Ebizmarts/AbandonedCart/Helper/Data.php +10 -2
  12. app/code/community/Ebizmarts/AbandonedCart/Model/Config.php +7 -4
  13. app/code/community/Ebizmarts/AbandonedCart/Model/Cron.php +9 -0
  14. app/code/community/Ebizmarts/AbandonedCart/Model/EventObserver.php +7 -5
  15. app/code/community/Ebizmarts/AbandonedCart/Model/Mailssent.php +7 -5
  16. app/code/community/Ebizmarts/AbandonedCart/Model/Resource/Mailssent.php +7 -5
  17. app/code/community/Ebizmarts/AbandonedCart/Model/Resource/Mailssent/Collection.php +7 -5
  18. app/code/community/Ebizmarts/AbandonedCart/Model/Resource/Order/Collection.php +6 -4
  19. app/code/community/Ebizmarts/AbandonedCart/Model/System/Config/Automatic.php +7 -4
  20. app/code/community/Ebizmarts/AbandonedCart/Model/System/Config/Cmspage.php +7 -5
  21. app/code/community/Ebizmarts/AbandonedCart/Model/System/Config/Customergroup.php +7 -5
  22. app/code/community/Ebizmarts/AbandonedCart/Model/System/Config/Discounttype.php +8 -0
  23. app/code/community/Ebizmarts/AbandonedCart/Model/System/Config/Unit.php +7 -4
  24. app/code/community/Ebizmarts/AbandonedCart/controllers/AbandonedController.php +8 -0
  25. app/code/community/Ebizmarts/AbandonedCart/controllers/Adminhtml/AbandonedmailsController.php +7 -5
  26. app/code/community/Ebizmarts/AbandonedCart/controllers/Adminhtml/AbandonedorderController.php +6 -4
  27. app/code/community/Ebizmarts/AbandonedCart/etc/config.xml +9 -1
  28. app/code/community/Ebizmarts/AbandonedCart/etc/system.xml +8 -0
  29. app/code/community/Ebizmarts/Autoresponder/Block/Adminhtml/System/Config/Backtostock/Fieldset/Hint.php +27 -0
  30. app/code/community/Ebizmarts/Autoresponder/Block/Adminhtml/System/Config/Birthday/Fieldset/Hint.php +7 -5
  31. app/code/community/Ebizmarts/Autoresponder/Block/Adminhtml/System/Config/Fieldset/Hint.php +8 -0
  32. app/code/community/Ebizmarts/Autoresponder/Block/Adminhtml/System/Config/Review/Fieldset/Hint.php +7 -5
  33. app/code/community/Ebizmarts/Autoresponder/Block/Adminhtml/System/Config/Wishlist/Fieldset/Hint.php +7 -5
  34. app/code/community/Ebizmarts/Autoresponder/Block/Backtostock/Notice.php +53 -0
  35. app/code/community/Ebizmarts/Autoresponder/Block/Customer/Account/List.php +7 -5
  36. app/code/community/Ebizmarts/Autoresponder/Block/Email/Backtostock/Item.php +17 -0
  37. app/code/community/Ebizmarts/Autoresponder/Block/Email/Related/Items.php +7 -5
  38. app/code/community/Ebizmarts/Autoresponder/Block/Email/Review/Items.php +7 -5
  39. app/code/community/Ebizmarts/Autoresponder/Block/Email/Wishlist/Items.php +6 -5
  40. app/code/community/Ebizmarts/Autoresponder/Block/Review/Form.php +7 -5
  41. app/code/community/Ebizmarts/Autoresponder/Block/Unsubscribe.php +7 -5
  42. app/code/community/Ebizmarts/Autoresponder/Helper/Data.php +50 -6
  43. app/code/community/Ebizmarts/Autoresponder/Model/Backtostock.php +17 -0
  44. app/code/community/Ebizmarts/Autoresponder/Model/Backtostockalert.php +17 -0
  45. app/code/community/Ebizmarts/Autoresponder/Model/Config.php +14 -5
  46. app/code/community/Ebizmarts/Autoresponder/Model/Cron.php +229 -5
  47. app/code/community/Ebizmarts/Autoresponder/Model/EventObserver.php +8 -5
  48. app/code/community/Ebizmarts/Autoresponder/Model/Resource/Backtostock.php +19 -0
  49. app/code/community/Ebizmarts/Autoresponder/Model/Resource/Backtostock/Collection.php +17 -0
  50. app/code/community/Ebizmarts/Autoresponder/Model/Resource/Backtostockalert.php +19 -0
  51. app/code/community/Ebizmarts/Autoresponder/Model/Resource/Backtostockalert/Collection.php +18 -0
  52. app/code/community/Ebizmarts/Autoresponder/Model/Resource/Review.php +7 -5
  53. app/code/community/Ebizmarts/Autoresponder/Model/Resource/Review/Collection.php +7 -5
  54. app/code/community/Ebizmarts/Autoresponder/Model/Resource/Unsubscribe.php +7 -5
  55. app/code/community/Ebizmarts/Autoresponder/Model/Resource/Unsubscribe/Collection.php +7 -5
  56. app/code/community/Ebizmarts/Autoresponder/Model/Resource/Visited.php +7 -5
  57. app/code/community/Ebizmarts/Autoresponder/Model/Resource/Visited/Collection.php +7 -5
  58. app/code/community/Ebizmarts/Autoresponder/Model/Review.php +7 -5
  59. app/code/community/Ebizmarts/Autoresponder/Model/System/Config/Automatic.php +7 -5
  60. app/code/community/Ebizmarts/Autoresponder/Model/System/Config/Couponcounter.php +7 -5
  61. app/code/community/Ebizmarts/Autoresponder/Model/System/Config/Customergroup.php +7 -5
  62. app/code/community/Ebizmarts/Autoresponder/Model/System/Config/Discounttype.php +7 -5
  63. app/code/community/Ebizmarts/Autoresponder/Model/System/Config/Generaltype.php +6 -5
  64. app/code/community/Ebizmarts/Autoresponder/Model/System/Config/Time.php +6 -5
  65. app/code/community/Ebizmarts/Autoresponder/Model/Unsubscribe.php +7 -5
  66. app/code/community/Ebizmarts/Autoresponder/Model/Visited.php +7 -5
  67. app/code/community/Ebizmarts/Autoresponder/controllers/AutoresponderController.php +7 -5
  68. app/code/community/Ebizmarts/Autoresponder/controllers/BacktostockController.php +87 -0
  69. app/code/community/Ebizmarts/Autoresponder/etc/config.xml +42 -6
  70. app/code/community/Ebizmarts/Autoresponder/etc/system.xml +90 -6
  71. app/code/community/Ebizmarts/Autoresponder/sql/ebizmarts_autoresponder_setup/mysql4-upgrade-0.1.5-0.1.6.php +42 -0
  72. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Bulksync/Export.php +2 -0
  73. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Bulksync/Export/Form.php +2 -0
  74. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Bulksync/Import.php +2 -0
  75. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Bulksync/Import/Form.php +2 -0
  76. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Bulksync/Queue.php +8 -0
  77. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Bulksync/Queue/Grid.php +8 -0
  78. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Bulksync/QueueExport.php +2 -0
  79. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Bulksync/QueueExport/Grid.php +2 -0
  80. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Bulksync/QueueImport.php +2 -0
  81. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Bulksync/QueueImport/Grid.php +2 -0
  82. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Customer/Edit/Tab/Memberactivity.php +2 -0
  83. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Ecommerce.php +2 -0
  84. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Ecommerce/Grid.php +2 -0
  85. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Ecommerceapi.php +2 -0
  86. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Ecommerceapi/Grid.php +2 -0
  87. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Ecommerceapi/Renderer/Items.php +2 -0
  88. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Memberactivity/Grid.php +2 -0
  89. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Renderer/Date.php +2 -0
  90. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Renderer/Importypes.php +2 -0
  91. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Renderer/Lists.php +2 -0
  92. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Renderer/Progress.php +2 -0
  93. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Renderer/Yesno.php +2 -0
  94. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/System/Config/Account.php +2 -0
  95. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/System/Config/Fieldset/Hint.php +6 -2
  96. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/System/Config/Form/Field/Mapfields.php +2 -0
  97. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/System/Config/OauthWizard.php +3 -1
  98. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Transactionalemail/Mandrill.php +2 -0
  99. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Transactionalemail/Mandrill/Grid.php +2 -0
  100. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Transactionalemail/Newemail.php +2 -0
  101. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Transactionalemail/Newemail/Form.php +2 -0
  102. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Transactionalemail/Sts.php +2 -0
  103. app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Transactionalemail/Sts/Grid.php +2 -0
  104. app/code/community/Ebizmarts/MageMonkey/Block/Checkout/Subscribe.php +50 -31
  105. app/code/community/Ebizmarts/MageMonkey/Block/Customer/Account/Lists.php +2 -0
  106. app/code/community/Ebizmarts/MageMonkey/Block/Lists.php +45 -11
  107. app/code/community/Ebizmarts/MageMonkey/Block/Signup.php +2 -0
  108. app/code/community/Ebizmarts/MageMonkey/Helper/Cache.php +2 -0
  109. app/code/community/Ebizmarts/MageMonkey/Helper/Data.php +41 -7
  110. app/code/community/Ebizmarts/MageMonkey/Helper/Export.php +2 -0
  111. app/code/community/Ebizmarts/MageMonkey/Helper/Oauth2.php +2 -0
  112. app/code/community/Ebizmarts/MageMonkey/Model/Api.php +2 -0
  113. app/code/community/Ebizmarts/MageMonkey/Model/Apidebug.php +0 -23
  114. app/code/community/Ebizmarts/MageMonkey/Model/BulksyncExport.php +2 -1
  115. app/code/community/Ebizmarts/MageMonkey/Model/BulksyncImport.php +2 -0
  116. app/code/community/Ebizmarts/MageMonkey/Model/Cache.php +2 -0
  117. app/code/community/Ebizmarts/MageMonkey/Model/Cron.php +2 -0
  118. app/code/community/Ebizmarts/MageMonkey/Model/Custom/Collection.php +2 -1
  119. app/code/community/Ebizmarts/MageMonkey/Model/Ecommerce.php +2 -0
  120. app/code/community/Ebizmarts/MageMonkey/Model/Ecommerce360.php +13 -16
  121. app/code/community/Ebizmarts/MageMonkey/Model/Email/Template.php +2 -0
  122. app/code/community/Ebizmarts/MageMonkey/Model/Feed/Updates.php +7 -2
  123. app/code/community/Ebizmarts/MageMonkey/Model/MCAPI.php +5 -0
  124. app/code/community/Ebizmarts/MageMonkey/Model/MCEXPORTAPI.php +2 -0
  125. app/code/community/Ebizmarts/MageMonkey/Model/Monkey.php +19 -10
  126. app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Apidebug.php +2 -0
  127. app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Apidebug/Collection.php +2 -0
  128. app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Bulksync/Export.php +2 -0
  129. app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Bulksync/Export/Collection.php +2 -0
  130. app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Bulksync/Import.php +2 -0
  131. app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Bulksync/Import/Collection.php +2 -0
  132. app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Ecommerce.php +2 -0
  133. app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Ecommerce/Collection.php +2 -0
  134. app/code/community/Ebizmarts/MageMonkey/Model/Observer.php +2 -0
  135. app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/Account.php +2 -0
  136. app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/BulksyncDatasource.php +2 -0
  137. app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/BulksyncStatus.php +2 -0
  138. app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/Checkoutsubscribe.php +2 -1
  139. app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/CronProcessLimit.php +2 -1
  140. app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/Ecommerce360.php +2 -0
  141. app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/List.php +2 -0
  142. app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/OrderStatus.php +2 -0
  143. app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/Status.php +2 -0
  144. app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/TransactionalEmails.php +2 -0
  145. app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/WebhookDelete.php +2 -1
  146. app/code/community/Ebizmarts/MageMonkey/Model/TransactionalEmail/Adapter.php +2 -0
  147. app/code/community/Ebizmarts/MageMonkey/Model/TransactionalEmail/MANDRILL.php +2 -0
  148. app/code/community/Ebizmarts/MageMonkey/Model/TransactionalEmail/STS.php +2 -0
  149. app/code/community/Ebizmarts/MageMonkey/controllers/Adminhtml/BulksyncController.php +2 -0
  150. app/code/community/Ebizmarts/MageMonkey/controllers/Adminhtml/EcommerceController.php +2 -0
  151. app/code/community/Ebizmarts/MageMonkey/controllers/Adminhtml/TransactionalemailController.php +2 -0
  152. app/code/community/Ebizmarts/MageMonkey/controllers/Customer/AccountController.php +2 -0
  153. app/code/community/Ebizmarts/MageMonkey/controllers/SignupController.php +8 -0
  154. app/code/community/Ebizmarts/MageMonkey/controllers/WebhookController.php +11 -4
  155. app/code/community/Ebizmarts/MageMonkey/etc/config.xml +9 -1
  156. app/code/community/Ebizmarts/MageMonkey/etc/system.xml +19 -1
  157. app/code/community/Ebizmarts/Mandrill/Block/Adminhtml/System/Config/Fieldset/Hint.php +8 -0
  158. app/code/community/Ebizmarts/Mandrill/Block/Adminhtml/System/Config/Userinfo.php +2 -0
  159. app/code/community/Ebizmarts/Mandrill/Block/Adminhtml/Users/Senders.php +2 -0
  160. app/code/community/Ebizmarts/Mandrill/Block/Adminhtml/Users/Senders/Grid.php +2 -0
  161. app/code/community/Ebizmarts/Mandrill/Helper/Data.php +2 -0
  162. app/code/community/Ebizmarts/Mandrill/Model/Customcollection.php +2 -1
  163. app/code/community/Ebizmarts/Mandrill/Model/Email/Template.php +2 -0
  164. app/code/community/Ebizmarts/Mandrill/Model/System/Config/Source/Userinfo.php +2 -0
  165. app/code/community/Ebizmarts/Mandrill/controllers/Adminhtml/Mandrill/UsersController.php +2 -0
  166. app/code/community/Ebizmarts/Mandrill/etc/adminhtml.xml +9 -0
  167. app/code/community/Ebizmarts/Mandrill/etc/config.xml +8 -10
  168. app/code/community/Ebizmarts/Mandrill/etc/system.xml +8 -0
  169. app/design/adminhtml/default/default/template/ebizmarts/abandonedcart/dashboard/totalbar.phtml +1 -1
  170. app/design/adminhtml/default/default/template/ebizmarts/autoresponder/system/config/backtostock/fieldset/hint.phtml +6 -0
  171. app/design/adminhtml/default/default/template/mandrill/.DS_Store +0 -0
  172. app/design/adminhtml/default/default/template/mandrill/system/.DS_Store +0 -0
  173. app/design/adminhtml/default/default/template/mandrill/system/config/.DS_Store +0 -0
  174. app/design/frontend/base/default/layout/ebizmarts/autoresponder.xml +13 -0
  175. app/design/frontend/base/default/template/ebizmarts/autoresponder/backtostock/catalog/product/form.phtml +57 -0
  176. app/design/frontend/base/default/template/ebizmarts/autoresponder/backtostock/catalog/product/notice.phtml +26 -0
  177. app/design/frontend/base/default/template/ebizmarts/autoresponder/backtostock/item.phtml +27 -0
  178. app/locale/en_US/template/email/ebizmarts/autoresponder/backtostock.html +34 -0
  179. js/ebizmarts/autoresponders/visitedproducts.js +29 -13
  180. lib/Mandrill/API.php +2 -0
  181. package.xml +20 -204
  182. skin/adminhtml/default/default/abandonedcart/abandonedcart.css +5 -0
  183. skin/adminhtml/default/default/ebizmarts/ebizmarts-tab.png +0 -0
  184. skin/adminhtml/default/default/ebizmarts/ebizmarts.css +23 -0
app/code/community/Ebizmarts/AbandonedCart/Block/Adminhtml/Abandonedmails.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 5/7/13
5
- * Time : 11:52 PM
6
- * File : Abandonedmails.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_AbandonedCart_Block_Adminhtml_Abandonedmails extends Mage_Adminhtml_Block_Widget_Grid_Container
10
  {
11
  public function __construct()
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_AbandonedCart_Block_Adminhtml_Abandonedmails extends Mage_Adminhtml_Block_Widget_Grid_Container
12
  {
13
  public function __construct()
app/code/community/Ebizmarts/AbandonedCart/Block/Adminhtml/Abandonedmails/Grid.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 5/7/13
5
- * Time : 11:08 PM
6
- * File : Grid.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_AbandonedCart_Block_Adminhtml_Abandonedmails_Grid extends Mage_Adminhtml_Block_Widget_Grid
10
  {
11
  public function __construct()
@@ -92,7 +94,7 @@ class Ebizmarts_AbandonedCart_Block_Adminhtml_Abandonedmails_Grid extends Mage_A
92
  protected function getMailTypeOptions()
93
  {
94
  return array('abandoned cart'=>'abandoned cart','happy birthday'=>'happy birthday','new order'=>'new order', 'related products'=>'related products',
95
- 'product review'=>'product review', 'no activity'=>'no activity', 'wishlist'=>'wishlist', 'review coupon' => 'review coupon');
96
  }
97
 
98
  }
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_AbandonedCart_Block_Adminhtml_Abandonedmails_Grid extends Mage_Adminhtml_Block_Widget_Grid
12
  {
13
  public function __construct()
94
  protected function getMailTypeOptions()
95
  {
96
  return array('abandoned cart'=>'abandoned cart','happy birthday'=>'happy birthday','new order'=>'new order', 'related products'=>'related products',
97
+ 'product review'=>'product review', 'no activity'=>'no activity', 'wishlist'=>'wishlist', 'review coupon' => 'review coupon' , 'back to stock' => 'back to stock');
98
  }
99
 
100
  }
app/code/community/Ebizmarts/AbandonedCart/Block/Adminhtml/Abandonedorder.php CHANGED
@@ -1,10 +1,13 @@
1
  <?php
 
2
  /**
3
- * Created by Ebizmarts
4
- * User: gonzalo@ebizmarts.com
5
- * Date: 1/16/13
6
- * Time: 2:16 PM
 
7
  */
 
8
  class Ebizmarts_AbandonedCart_Block_Adminhtml_Abandonedorder extends Mage_Adminhtml_Block_Widget_Grid_Container
9
  {
10
  public function __construct()
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_AbandonedCart_Block_Adminhtml_Abandonedorder extends Mage_Adminhtml_Block_Widget_Grid_Container
12
  {
13
  public function __construct()
app/code/community/Ebizmarts/AbandonedCart/Block/Adminhtml/Abandonedorder/Grid.php CHANGED
@@ -1,10 +1,13 @@
1
  <?php
 
2
  /**
3
- * Created by Ebizmarts
4
- * User: gonzalo@ebizmarts.com
5
- * Date: 1/16/13
6
- * Time: 2:17 PM
 
7
  */
 
8
  class Ebizmarts_AbandonedCart_Block_Adminhtml_Abandonedorder_Grid extends Mage_Adminhtml_Block_Widget_Grid
9
  {
10
  /**
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_AbandonedCart_Block_Adminhtml_Abandonedorder_Grid extends Mage_Adminhtml_Block_Widget_Grid
12
  {
13
  /**
app/code/community/Ebizmarts/AbandonedCart/Block/Adminhtml/Dashboard.php CHANGED
@@ -1,10 +1,13 @@
1
  <?php
 
2
  /**
3
- * Created by Ebizmarts
4
- * User: gonzalo@ebizmarts.com
5
- * Date: 1/17/13
6
- * Time: 3:15 PM
 
7
  */
 
8
  class Ebizmarts_AbandonedCart_Block_Adminhtml_Dashboard extends Mage_Adminhtml_Block_Template
9
  {
10
  public function __construct()
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_AbandonedCart_Block_Adminhtml_Dashboard extends Mage_Adminhtml_Block_Template
12
  {
13
  public function __construct()
app/code/community/Ebizmarts/AbandonedCart/Block/Adminhtml/Dashboard/Sales.php CHANGED
@@ -1,9 +1,11 @@
1
  <?php
 
2
  /**
3
- * Created by Ebizmarts
4
- * User: gonzalo@ebizmarts.com
5
- * Date: 1/18/13
6
- * Time: 4:34 PM
 
7
  */
8
 
9
  class Ebizmarts_AbandonedCart_Block_Adminhtml_Dashboard_Sales extends Mage_Adminhtml_Block_Dashboard_Bar
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
 
11
  class Ebizmarts_AbandonedCart_Block_Adminhtml_Dashboard_Sales extends Mage_Adminhtml_Block_Dashboard_Bar
app/code/community/Ebizmarts/AbandonedCart/Block/Adminhtml/Dashboard/Totals.php CHANGED
@@ -1,10 +1,13 @@
1
  <?php
 
2
  /**
3
- * Created by Ebizmarts
4
- * User: gonzalo@ebizmarts.com
5
- * Date: 1/18/13
6
- * Time: 5:11 PM
 
7
  */
 
8
  class Ebizmarts_AbandonedCart_Block_Adminhtml_Dashboard_Totals extends Mage_Adminhtml_Block_Dashboard_Bar
9
  {
10
  /**
@@ -90,7 +93,7 @@ class Ebizmarts_AbandonedCart_Block_Adminhtml_Dashboard_Totals extends Mage_Admi
90
  $this->addTotal($this->__('Generated Conv. Rate'),$convrate.'%',true);
91
  // get Mandrill statistics
92
  if(Mage::helper('core')->isModuleEnabled('Ebizmarts_Mandrill')
93
- && Mage::getConfig()->getNode()->modules->Ebizmarts_Mandrill->version > '1.0.4'
94
  && Mage::helper('mandrill')->useTransactionalService()) {
95
  if(!$isFilter) {
96
  $stores = Mage::app()->getStores();
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_AbandonedCart_Block_Adminhtml_Dashboard_Totals extends Mage_Adminhtml_Block_Dashboard_Bar
12
  {
13
  /**
93
  $this->addTotal($this->__('Generated Conv. Rate'),$convrate.'%',true);
94
  // get Mandrill statistics
95
  if(Mage::helper('core')->isModuleEnabled('Ebizmarts_Mandrill')
96
+ && (version_compare(Mage::getConfig()->getNode()->modules->Ebizmarts_Mandrill->version, '1.0.4', '>'))
97
  && Mage::helper('mandrill')->useTransactionalService()) {
98
  if(!$isFilter) {
99
  $stores = Mage::app()->getStores();
app/code/community/Ebizmarts/AbandonedCart/Block/Adminhtml/System/Config/Date.php CHANGED
@@ -1,10 +1,13 @@
1
  <?php
 
2
  /**
3
- * Created by Ebizmarts
4
- * User: gonzalo@ebizmarts.com
5
- * Date: 3/11/13
6
- * Time: 3:03 PM
 
7
  */
 
8
  class Ebizmarts_AbandonedCart_Block_Adminhtml_System_Config_Date extends Mage_Adminhtml_Block_System_Config_Form_Field
9
  {
10
  public function render(Varien_Data_Form_Element_Abstract $element)
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_AbandonedCart_Block_Adminhtml_System_Config_Date extends Mage_Adminhtml_Block_System_Config_Form_Field
12
  {
13
  public function render(Varien_Data_Form_Element_Abstract $element)
app/code/community/Ebizmarts/AbandonedCart/Block/Adminhtml/System/Config/Fieldset/Hint.php CHANGED
@@ -1,5 +1,13 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
3
  class Ebizmarts_AbandonedCart_Block_Adminhtml_System_Config_Fieldset_Hint
4
  extends Mage_Adminhtml_Block_Abstract
5
  implements Varien_Data_Form_Element_Renderer_Interface
1
  <?php
2
 
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
  class Ebizmarts_AbandonedCart_Block_Adminhtml_System_Config_Fieldset_Hint
12
  extends Mage_Adminhtml_Block_Abstract
13
  implements Varien_Data_Form_Element_Renderer_Interface
app/code/community/Ebizmarts/AbandonedCart/Block/Email/Order/Items.php CHANGED
@@ -1,5 +1,13 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
3
  class Ebizmarts_AbandonedCart_Block_Email_Order_Items extends Mage_Sales_Block_Items_Abstract
4
  {
5
  public function _construct()
1
  <?php
2
 
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
  class Ebizmarts_AbandonedCart_Block_Email_Order_Items extends Mage_Sales_Block_Items_Abstract
12
  {
13
  public function _construct()
app/code/community/Ebizmarts/AbandonedCart/Helper/Data.php CHANGED
@@ -1,5 +1,13 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
3
  class Ebizmarts_AbandonedCart_Helper_Data extends Mage_Core_Helper_Abstract {
4
 
5
  /**
@@ -25,10 +33,10 @@ class Ebizmarts_AbandonedCart_Helper_Data extends Mage_Core_Helper_Abstract {
25
  'lifetime' => $this->__('Lifetime'),
26
  );
27
  }
28
- public function log($message)
29
  {
30
  if(Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::LOG)) {
31
- Mage::log($message);
32
  }
33
  }
34
  public function saveMail($mailType,$mail,$name,$couponCode,$storeId)
1
  <?php
2
 
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
  class Ebizmarts_AbandonedCart_Helper_Data extends Mage_Core_Helper_Abstract {
12
 
13
  /**
33
  'lifetime' => $this->__('Lifetime'),
34
  );
35
  }
36
+ public function log($message, $filename = 'Ebizmarts_AbandonedCart.log')
37
  {
38
  if(Mage::getStoreConfig(Ebizmarts_AbandonedCart_Model_Config::LOG)) {
39
+ Mage::log($message, null, $filename);
40
  }
41
  }
42
  public function saveMail($mailType,$mail,$name,$couponCode,$storeId)
app/code/community/Ebizmarts/AbandonedCart/Model/Config.php CHANGED
@@ -1,10 +1,13 @@
1
  <?php
 
2
  /**
3
- * Created by Ebizmarts
4
- * User: gonzalo@ebizmarts.com
5
- * Date: 3/20/13
6
- * Time: 8:34 AM
 
7
  */
 
8
  class Ebizmarts_AbandonedCart_Model_Config
9
  {
10
  const ACTIVE = "ebizmarts_abandonedcart/general/active";
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_AbandonedCart_Model_Config
12
  {
13
  const ACTIVE = "ebizmarts_abandonedcart/general/active";
app/code/community/Ebizmarts/AbandonedCart/Model/Cron.php CHANGED
@@ -1,4 +1,13 @@
1
  <?php
 
 
 
 
 
 
 
 
 
2
  class Ebizmarts_AbandonedCart_Model_Cron
3
  {
4
  // const EMAIL_TEMPLATE_XML_PATH = 'ebizmarts_abandonedcart/general/template';
1
  <?php
2
+
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
  class Ebizmarts_AbandonedCart_Model_Cron
12
  {
13
  // const EMAIL_TEMPLATE_XML_PATH = 'ebizmarts_abandonedcart/general/template';
app/code/community/Ebizmarts/AbandonedCart/Model/EventObserver.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 8/21/13
5
- * Time : 1:50 AM
6
- * File : EventObserver.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_AbandonedCart_Model_EventObserver
10
  {
11
  public function saveConfig(Varien_Event_Observer $o)
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_AbandonedCart_Model_EventObserver
12
  {
13
  public function saveConfig(Varien_Event_Observer $o)
app/code/community/Ebizmarts/AbandonedCart/Model/Mailssent.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 7/15/13
5
- * Time : 1:21 PM
6
- * File : MailsSent.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_AbandonedCart_Model_Mailssent extends Mage_Core_Model_Abstract
10
  {
11
  public function _construct() {
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_AbandonedCart_Model_Mailssent extends Mage_Core_Model_Abstract
12
  {
13
  public function _construct() {
app/code/community/Ebizmarts/AbandonedCart/Model/Resource/Mailssent.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 7/15/13
5
- * Time : 1:24 PM
6
- * File : MailsSent.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_AbandonedCart_Model_Resource_Mailssent extends Mage_Core_Model_Mysql4_Abstract
10
  {
11
  public function _construct()
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_AbandonedCart_Model_Resource_Mailssent extends Mage_Core_Model_Mysql4_Abstract
12
  {
13
  public function _construct()
app/code/community/Ebizmarts/AbandonedCart/Model/Resource/Mailssent/Collection.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 7/15/13
5
- * Time : 1:26 PM
6
- * File : Collection.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_AbandonedCart_Model_Resource_Mailssent_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
10
  {
11
  protected function _construct()
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_AbandonedCart_Model_Resource_Mailssent_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
12
  {
13
  protected function _construct()
app/code/community/Ebizmarts/AbandonedCart/Model/Resource/Order/Collection.php CHANGED
@@ -1,9 +1,11 @@
1
  <?php
 
2
  /**
3
- * Created by Ebizmarts
4
- * User: gonzalo@ebizmarts.com
5
- * Date: 1/21/13
6
- * Time: 3:26 PM
 
7
  */
8
 
9
  class Ebizmarts_AbandonedCart_Model_Resource_Order_Collection extends Mage_Reports_Model_Mysql4_Order_Collection
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
 
11
  class Ebizmarts_AbandonedCart_Model_Resource_Order_Collection extends Mage_Reports_Model_Mysql4_Order_Collection
app/code/community/Ebizmarts/AbandonedCart/Model/System/Config/Automatic.php CHANGED
@@ -1,10 +1,13 @@
1
  <?php
 
2
  /**
3
- * Created by Ebizmarts
4
- * User: gonzalo@ebizmarts.com
5
- * Date: 3/20/13
6
- * Time: 4:07 PM
 
7
  */
 
8
  class Ebizmarts_AbandonedCart_Model_System_Config_Automatic
9
  {
10
  /**
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_AbandonedCart_Model_System_Config_Automatic
12
  {
13
  /**
app/code/community/Ebizmarts/AbandonedCart/Model/System/Config/Cmspage.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 8/13/13
5
- * Time : 2:00 PM
6
- * File : Cmspage.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_AbandonedCart_Model_System_Config_Cmspage
10
  {
11
 
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_AbandonedCart_Model_System_Config_Cmspage
12
  {
13
 
app/code/community/Ebizmarts/AbandonedCart/Model/System/Config/Customergroup.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 5/3/13
5
- * Time : 12:47 PM
6
- * File : Customergroup.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_AbandonedCart_Model_System_Config_Customergroup
10
  {
11
  protected $_options;
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_AbandonedCart_Model_System_Config_Customergroup
12
  {
13
  protected $_options;
app/code/community/Ebizmarts/AbandonedCart/Model/System/Config/Discounttype.php CHANGED
@@ -1,5 +1,13 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
3
  class Ebizmarts_AbandonedCart_Model_System_Config_Discounttype
4
  {
5
  /**
1
  <?php
2
 
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
  class Ebizmarts_AbandonedCart_Model_System_Config_Discounttype
12
  {
13
  /**
app/code/community/Ebizmarts/AbandonedCart/Model/System/Config/Unit.php CHANGED
@@ -1,10 +1,13 @@
1
  <?php
 
2
  /**
3
- * Created by Ebizmarts
4
- * User: gonzalo@ebizmarts.com
5
- * Date: 4/8/13
6
- * Time: 11:46 AM
 
7
  */
 
8
  class Ebizmarts_AbandonedCart_Model_System_Config_Unit
9
  {
10
  public function toOptionArray()
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_AbandonedCart_Model_System_Config_Unit
12
  {
13
  public function toOptionArray()
app/code/community/Ebizmarts/AbandonedCart/controllers/AbandonedController.php CHANGED
@@ -1,5 +1,13 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
3
  require_once Mage::getModuleDir('controllers','Mage_Checkout').DS.'CartController.php';
4
 
5
  class Ebizmarts_AbandonedCart_AbandonedController extends Mage_Checkout_CartController
1
  <?php
2
 
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
  require_once Mage::getModuleDir('controllers','Mage_Checkout').DS.'CartController.php';
12
 
13
  class Ebizmarts_AbandonedCart_AbandonedController extends Mage_Checkout_CartController
app/code/community/Ebizmarts/AbandonedCart/controllers/Adminhtml/AbandonedmailsController.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 5/7/13
5
- * Time : 11:33 PM
6
- * File : AbandonedmailsController.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_AbandonedCart_Adminhtml_AbandonedmailsController extends Mage_Adminhtml_Controller_Action
10
  {
11
  /**
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_AbandonedCart_Adminhtml_AbandonedmailsController extends Mage_Adminhtml_Controller_Action
12
  {
13
  /**
app/code/community/Ebizmarts/AbandonedCart/controllers/Adminhtml/AbandonedorderController.php CHANGED
@@ -1,9 +1,11 @@
1
  <?php
 
2
  /**
3
- * Created by Ebizmarts
4
- * User: gonzalo@ebizmarts.com
5
- * Date: 1/16/13
6
- * Time: 2:22 PM
 
7
  */
8
 
9
  class Ebizmarts_AbandonedCart_Adminhtml_AbandonedorderController extends Mage_Adminhtml_Controller_Action
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_AbandonedCart
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
 
11
  class Ebizmarts_AbandonedCart_Adminhtml_AbandonedorderController extends Mage_Adminhtml_Controller_Action
app/code/community/Ebizmarts/AbandonedCart/etc/config.xml CHANGED
@@ -1,8 +1,16 @@
1
  <?xml version="1.0"?>
 
 
 
 
 
 
 
 
2
  <config>
3
  <modules>
4
  <Ebizmarts_AbandonedCart>
5
- <version>0.1.25</version>
6
  </Ebizmarts_AbandonedCart>
7
  </modules>
8
  <global>
1
  <?xml version="1.0"?>
2
+ <!--
3
+ Configuration file for Ebizmarts_AbandonedCart module, touch at you entire responsibility
4
+
5
+ @category Ebizmarts
6
+ @package Ebizmarts_AbandonedCart
7
+ @author Ebizmarts Team <info@ebizmarts.com>
8
+ @license http://opensource.org/licenses/osl-3.0.php
9
+ -->
10
  <config>
11
  <modules>
12
  <Ebizmarts_AbandonedCart>
13
+ <version>0.1.26</version>
14
  </Ebizmarts_AbandonedCart>
15
  </modules>
16
  <global>
app/code/community/Ebizmarts/AbandonedCart/etc/system.xml CHANGED
@@ -1,4 +1,12 @@
1
  <?xml version="1.0"?>
 
 
 
 
 
 
 
 
2
  <config>
3
  <sections>
4
  <ebizmarts_abandonedcart translate="label" module="ebizmarts_abandonedcart">
1
  <?xml version="1.0"?>
2
+ <!--
3
+ Configuration file for Ebizmarts_AbandonedCart module, touch at you entire responsibility
4
+
5
+ @category Ebizmarts
6
+ @package Ebizmarts_AbandonedCart
7
+ @author Ebizmarts Team <info@ebizmarts.com>
8
+ @license http://opensource.org/licenses/osl-3.0.php
9
+ -->
10
  <config>
11
  <sections>
12
  <ebizmarts_abandonedcart translate="label" module="ebizmarts_abandonedcart">
app/code/community/Ebizmarts/Autoresponder/Block/Adminhtml/System/Config/Backtostock/Fieldset/Hint.php ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
+ class Ebizmarts_Autoresponder_Block_Adminhtml_System_Config_Backtostock_Fieldset_Hint
12
+ extends Mage_Adminhtml_Block_Abstract
13
+ implements Varien_Data_Form_Element_Renderer_Interface
14
+ {
15
+ protected $_template = 'ebizmarts/autoresponder/system/config/backtostock/fieldset/hint.phtml';
16
+
17
+ /**
18
+ * @param Varien_Data_Form_Element_Abstract $element
19
+ * @return string
20
+ */
21
+ public function render(Varien_Data_Form_Element_Abstract $element)
22
+ {
23
+ return $this->toHtml();
24
+ }
25
+
26
+
27
+ }
app/code/community/Ebizmarts/Autoresponder/Block/Adminhtml/System/Config/Birthday/Fieldset/Hint.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 6/25/13
5
- * Time : 2:15 PM
6
- * File : Hint.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Block_Adminhtml_System_Config_Birthday_Fieldset_Hint
10
  extends Mage_Adminhtml_Block_Abstract
11
  implements Varien_Data_Form_Element_Renderer_Interface
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Block_Adminhtml_System_Config_Birthday_Fieldset_Hint
12
  extends Mage_Adminhtml_Block_Abstract
13
  implements Varien_Data_Form_Element_Renderer_Interface
app/code/community/Ebizmarts/Autoresponder/Block/Adminhtml/System/Config/Fieldset/Hint.php CHANGED
@@ -1,5 +1,13 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
3
  class Ebizmarts_Autoresponder_Block_Adminhtml_System_Config_Fieldset_Hint
4
  extends Mage_Adminhtml_Block_Abstract
5
  implements Varien_Data_Form_Element_Renderer_Interface
1
  <?php
2
 
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
  class Ebizmarts_Autoresponder_Block_Adminhtml_System_Config_Fieldset_Hint
12
  extends Mage_Adminhtml_Block_Abstract
13
  implements Varien_Data_Form_Element_Renderer_Interface
app/code/community/Ebizmarts/Autoresponder/Block/Adminhtml/System/Config/Review/Fieldset/Hint.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 6/28/13
5
- * Time : 2:35 PM
6
- * File : Hint.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Block_Adminhtml_System_Config_Review_Fieldset_Hint
10
  extends Mage_Adminhtml_Block_Abstract
11
  implements Varien_Data_Form_Element_Renderer_Interface
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Block_Adminhtml_System_Config_Review_Fieldset_Hint
12
  extends Mage_Adminhtml_Block_Abstract
13
  implements Varien_Data_Form_Element_Renderer_Interface
app/code/community/Ebizmarts/Autoresponder/Block/Adminhtml/System/Config/Wishlist/Fieldset/Hint.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 6/28/13
5
- * Time : 3:13 PM
6
- * File : Hint.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Block_Adminhtml_System_Config_Wishlist_Fieldset_Hint
10
  extends Mage_Adminhtml_Block_Abstract
11
  implements Varien_Data_Form_Element_Renderer_Interface
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Block_Adminhtml_System_Config_Wishlist_Fieldset_Hint
12
  extends Mage_Adminhtml_Block_Abstract
13
  implements Varien_Data_Form_Element_Renderer_Interface
app/code/community/Ebizmarts/Autoresponder/Block/Backtostock/Notice.php ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
+ class Ebizmarts_Autoresponder_Block_Backtostock_Notice extends Mage_Core_Block_Template
12
+ {
13
+ public function __construct()
14
+ {
15
+ parent::__construct();
16
+ $this->setTemplate('ebizmarts/autoresponder/backtostock/catalog/product/notice.phtml');
17
+ }
18
+
19
+ public function isLoggedIn()
20
+ {
21
+ return Mage::helper('customer')->isLoggedIn();
22
+ }
23
+
24
+
25
+ public function getCustomerEmail()
26
+ {
27
+ $email = false;
28
+
29
+ if(!$this->isLoggedIn()) {
30
+ return $email;
31
+ }
32
+
33
+ if(Mage::helper('customer')->getCurrentCustomer()) {
34
+ $email = Mage::helper('customer')->getCurrentCustomer()->getEmail();
35
+ }
36
+
37
+ return $email;
38
+ }
39
+
40
+ public function getProduct()
41
+ {
42
+ $_product = Mage::registry('current_product');
43
+
44
+ return $_product;
45
+ }
46
+
47
+ public function getSubscribeUrl()
48
+ {
49
+ $actionUrl = $this->getUrl('ebizmarts_autoresponder/backtostock/subscribe');
50
+ return $actionUrl;
51
+ }
52
+
53
+ }
app/code/community/Ebizmarts/Autoresponder/Block/Customer/Account/List.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 6/26/13
5
- * Time : 1:02 PM
6
- * File : List.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Block_Customer_Account_List extends Mage_Core_Block_Template
10
  {
11
  public function getLists()
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Block_Customer_Account_List extends Mage_Core_Block_Template
12
  {
13
  public function getLists()
app/code/community/Ebizmarts/Autoresponder/Block/Email/Backtostock/Item.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
+ class Ebizmarts_Autoresponder_Block_Email_Backtostock_Item extends Mage_Sales_Block_Items_Abstract
12
+ {
13
+ public function _construct()
14
+ {
15
+ $this->setTemplate('ebizmarts/autoresponder_backtostock_item.phtml');
16
+ }
17
+ }
app/code/community/Ebizmarts/Autoresponder/Block/Email/Related/Items.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 6/19/13
5
- * Time : 2:50 PM
6
- * File : Items.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Block_Email_Related_Items extends Mage_Sales_Block_Items_Abstract
10
  {
11
  public function _construct()
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Block_Email_Related_Items extends Mage_Sales_Block_Items_Abstract
12
  {
13
  public function _construct()
app/code/community/Ebizmarts/Autoresponder/Block/Email/Review/Items.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 6/21/13
5
- * Time : 1:43 PM
6
- * File : Items.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Block_Email_Review_Items extends Mage_Sales_Block_Items_Abstract
10
  {
11
  public function _construct()
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Block_Email_Review_Items extends Mage_Sales_Block_Items_Abstract
12
  {
13
  public function _construct()
app/code/community/Ebizmarts/Autoresponder/Block/Email/Wishlist/Items.php CHANGED
@@ -1,11 +1,12 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 6/24/13
5
- * Time : 4:37 PM
6
- * File : Items.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Block_Email_Wishlist_Items extends Mage_Sales_Block_Items_Abstract
10
  {
11
  public function _construct()
1
  <?php
2
+
3
  /**
4
+ * @category Ebizmarts
5
+ * @package Ebizmarts_Autoresponder
6
+ * @author Ebizmarts Team <info@ebizmarts.com>
7
+ * @license http://opensource.org/licenses/osl-3.0.php
 
8
  */
9
+
10
  class Ebizmarts_Autoresponder_Block_Email_Wishlist_Items extends Mage_Sales_Block_Items_Abstract
11
  {
12
  public function _construct()
app/code/community/Ebizmarts/Autoresponder/Block/Review/Form.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 10/24/13
5
- * Time : 7:34 PM
6
- * File : Form.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Block_Review_Form extends Mage_Review_Block_Form
10
  {
11
  public function getAction()
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Block_Review_Form extends Mage_Review_Block_Form
12
  {
13
  public function getAction()
app/code/community/Ebizmarts/Autoresponder/Block/Unsubscribe.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 6/26/13
5
- * Time : 8:55 AM
6
- * File : Unsubscribe.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Block_Unsubscribe extends Mage_Core_Block_Template
10
  {
11
  public function _construct() {
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Block_Unsubscribe extends Mage_Core_Block_Template
12
  {
13
  public function _construct() {
app/code/community/Ebizmarts/Autoresponder/Helper/Data.php CHANGED
@@ -1,13 +1,48 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 4/28/13
5
- * Time : 11:20 AM
6
- * File : Data.php
7
- * Module : Ebizmarts_Magemonkey
8
- */
 
9
  class Ebizmarts_Autoresponder_Helper_Data extends Mage_Core_Helper_Abstract {
10
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  public function getLists()
12
  {
13
  $types = array();
@@ -38,4 +73,13 @@ class Ebizmarts_Autoresponder_Helper_Data extends Mage_Core_Helper_Abstract {
38
  {
39
  return Mage::helper('customer')->getCustomer()->getEmail();
40
  }
 
 
 
 
 
 
 
 
 
41
  }
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
  class Ebizmarts_Autoresponder_Helper_Data extends Mage_Core_Helper_Abstract {
12
 
13
+ /**
14
+ * Get module configuration value
15
+ *
16
+ * @param string $value
17
+ * @param string $store
18
+ * @return mixed Configuration setting
19
+ */
20
+ public function config($value, $store = null)
21
+ {
22
+ $store = is_null($store) ? Mage::app()->getStore() : $store;
23
+
24
+ $configscope = Mage::app()->getRequest()->getParam('store');
25
+ if( $configscope && ($configscope !== 'undefined') ){
26
+ $store = $configscope;
27
+ }
28
+
29
+ return Mage::getStoreConfig("ebizmarts_autoresponder/$value", $store);
30
+ }
31
+
32
+ /**
33
+ * Logging facility
34
+ *
35
+ * @param mixed $data Message to save to file
36
+ * @param string $filename log filename, default is <Ebizmarts_Autoresponder.log>
37
+ * @return Mage_Core_Model_Log_Adapter
38
+ */
39
+ public function log($data, $filename = 'Ebizmarts_Autoresponder.log')
40
+ {
41
+ if($this->config('general/enable_log') != 0) {
42
+ return Mage::getModel('core/log_adapter', $filename)->log($data);
43
+ }
44
+ }
45
+
46
  public function getLists()
47
  {
48
  $types = array();
73
  {
74
  return Mage::helper('customer')->getCustomer()->getEmail();
75
  }
76
+
77
+ public function isBacktoStockEnabledForGuest()
78
+ {
79
+ $storeId = Mage::app()->getStore()->getStoreId();
80
+ $allowGuests = Mage::getStoreConfig("ebizmarts_autoresponder/backtostock/allow_guests", $storeId);
81
+
82
+ return $allowGuests;
83
+ }
84
+
85
  }
app/code/community/Ebizmarts/Autoresponder/Model/Backtostock.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
+ class Ebizmarts_Autoresponder_Model_Backtostock extends Mage_Core_Model_Abstract
12
+ {
13
+ public function _construct() {
14
+ $this->_init('ebizmarts_autoresponder/backtostock');
15
+ }
16
+
17
+ }
app/code/community/Ebizmarts/Autoresponder/Model/Backtostockalert.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
+ class Ebizmarts_Autoresponder_Model_Backtostockalert extends Mage_Core_Model_Abstract
12
+ {
13
+ public function _construct() {
14
+ $this->_init('ebizmarts_autoresponder/backtostockalert');
15
+ }
16
+
17
+ }
app/code/community/Ebizmarts/Autoresponder/Model/Config.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 6/14/13
5
- * Time : 5:10 PM
6
- * File : Config.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Model_Config
10
  {
11
  const GENERAL_ACTIVE = 'ebizmarts_autoresponder/general/active';
@@ -94,6 +96,13 @@ class Ebizmarts_Autoresponder_Model_Config
94
  const VISITED_TIME = 'ebizmarts_autoresponder/visitedproducts/time';
95
  const VISITED_MAX = 'ebizmarts_autoresponder/visitedproducts/max_visited';
96
 
 
 
 
 
 
 
 
97
  const COUPON_AUTOMATIC = 2;
98
  const COUPON_MANUAL = 1;
99
  const COUPON_GENERAL = 2;
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Model_Config
12
  {
13
  const GENERAL_ACTIVE = 'ebizmarts_autoresponder/general/active';
96
  const VISITED_TIME = 'ebizmarts_autoresponder/visitedproducts/time';
97
  const VISITED_MAX = 'ebizmarts_autoresponder/visitedproducts/max_visited';
98
 
99
+ const BACKTOSTOCK_ACTIVE = 'ebizmarts_autoresponder/backtostock/active';
100
+ const BACKTOSTOCK_TEMPLATE = 'ebizmarts_autoresponder/backtostock/template';
101
+ const BACKTOSTOCK_SUBJECT = 'ebizmarts_autoresponder/backtostock/subject';
102
+ const BACKTOSTOCK_MANDRILL_TAG = 'ebizmarts_autoresponder/backtostock/mandrill_tag';
103
+ const BACKTOSTOCK_ALLOW_GUESTS = 'ebizmarts_autoresponder/backtostock/allow_guests';
104
+ const BACKTOSTOCK_MAIL_TYPE_NAME = 'back to stock';
105
+
106
  const COUPON_AUTOMATIC = 2;
107
  const COUPON_MANUAL = 1;
108
  const COUPON_GENERAL = 2;
app/code/community/Ebizmarts/Autoresponder/Model/Cron.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 6/14/13
5
- * Time : 5:05 PM
6
- * File : Cron.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Model_Cron
10
  {
11
  /**
@@ -53,6 +55,9 @@ class Ebizmarts_Autoresponder_Model_Cron
53
  if(Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::VISITED_ACTIVE,$storeId)) { // done
54
  $this->_processVisited($storeId);
55
  }
 
 
 
56
  }
57
  protected function _processNewOrders($storeId)
58
  {
@@ -453,6 +458,225 @@ class Ebizmarts_Autoresponder_Model_Cron
453
  }
454
 
455
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
456
  protected function _createNewCoupon($store,$email)
457
  {
458
  $couponamount = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::BIRTHDAY_DISCOUNT, $store);
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Model_Cron
12
  {
13
  /**
55
  if(Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::VISITED_ACTIVE,$storeId)) { // done
56
  $this->_processVisited($storeId);
57
  }
58
+ if(Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::BACKTOSTOCK_ACTIVE,$storeId)){
59
+ $this->_processBackToStock($storeId);
60
+ }
61
  }
62
  protected function _processNewOrders($storeId)
63
  {
458
  }
459
 
460
  }
461
+
462
+ /**
463
+ * Process and send all notifications of Back To Stock
464
+ * @param $storeId
465
+ */
466
+ public function _processBackToStock($storeId)
467
+ {
468
+ // $customerGroups = explode(",",Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::BACKTOSTOCK_ACTIVE, $storeId));
469
+ $tags = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::BACKTOSTOCK_MANDRILL_TAG,$storeId)."_$storeId";
470
+ $mailSubject = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::BACKTOSTOCK_SUBJECT,$storeId);
471
+ $senderId = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::GENERAL_SENDER,$storeId);
472
+ $sender = array('name'=>Mage::getStoreConfig("trans_email/ident_$senderId/name",$storeId), 'email'=> Mage::getStoreConfig("trans_email/ident_$senderId/email",$storeId));
473
+ $templateId = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::BACKTOSTOCK_TEMPLATE,$storeId);
474
+ $mailType = Ebizmarts_Autoresponder_Model_Config::BACKTOSTOCK_MAIL_TYPE_NAME;
475
+
476
+ $errorMessage = false;
477
+
478
+ if(!$sender) {
479
+ $errorMessage = Mage::helper('ebizmarts_autoresponder')->__('ERROR - Back to Stock Notification: No sender is specified. Check System/Configuration/MageMonkey/Autoresponders/General');
480
+ }
481
+
482
+ if(!$storeId) {
483
+ $errorMessage = Mage::helper('ebizmarts_autoresponder')->__('ERROR - Back to Stock Notification: No Store ID is configured');
484
+ }
485
+
486
+ if(!$templateId) {
487
+ $errorMessage = Mage::helper('ebizmarts_autoresponder')->__('ERROR - Back to Stock Notification: No templateId. Check System/Configuration/MageMonkey/Autoresponders/Back to Stock/Email Template');
488
+ }
489
+
490
+ if($errorMessage) {
491
+ Mage::helper('ebizmarts_autoresponder')->log($errorMessage);
492
+ Mage::throwException($errorMessage);
493
+ return;
494
+ }
495
+
496
+
497
+ // Retrieve those Products ids that came back to stock and are active
498
+ // (is_active=1 means we didn't loop through all subscribers in ebizmarts_autoresponder_backtostock)
499
+ $alert = Mage::getModel('ebizmarts_autoresponder/backtostockalert');
500
+ $alert
501
+ ->getCollection()
502
+ ->addFieldToFilter('is_active', array('eq'=>1))
503
+ ;
504
+
505
+ if(count($alert) > 0) {
506
+
507
+ // Loop through all products that came back to stock
508
+ foreach($alert->getCollection() as $productStockAlert) {
509
+
510
+ // We'll validate if this products came back or not.
511
+ if($productStockAlert->getProductId()) {
512
+ $inventory = Mage::getModel('cataloginventory/stock_item');
513
+ $_product = Mage::getModel('catalog/product')->load($productStockAlert->getProductId());
514
+
515
+ // Check if Product is loaded
516
+ if(!$_product->getId()) {
517
+ Mage::helper('ebizmarts_autoresponder')->log('ERROR - Cannot load product ID '. $productStockAlert->getProductId() .'. Existing alert and subscribers will now be disabled.');
518
+ $this->disableStockAlertsForProduct($productStockAlert->getProductId());
519
+ continue;
520
+ }
521
+
522
+ // Retrieve stock data for Product
523
+ $_stock = $inventory->loadByProduct( $_product->getId() );
524
+
525
+ if(!$_stock->getData()) {
526
+ Mage::helper('ebizmarts_autoresponder')->log('Cannot load Product ID ' . $productStockAlert->getProductId() . ' stock info. Check if product still exists.');
527
+ continue;
528
+ }
529
+
530
+ //@TODO check if this next two validations can be replaced with isSaleable()
531
+ // Validate if Product has Stock
532
+ if(!$_stock->getData('is_in_stock')) {
533
+ Mage::helper('ebizmarts_autoresponder')->log('SKIPPED - Product ID '. $_product->getId() .' is not in stock yet.');
534
+ continue;
535
+ }
536
+
537
+ // Validate if Product is Enabled
538
+ if($_product->getStatus() != Mage_Catalog_Model_Product_Status::STATUS_ENABLED) {
539
+ Mage::helper('ebizmarts_autoresponder')->log('SKIPPED - Product ID '. $_product->getId() .' is not enabled (status = disabled).');
540
+ continue;
541
+ }
542
+
543
+ } else {
544
+ Mage::helper('ebizmarts_autoresponder')->log('ERROR - Cannot retrieve Product ID value from "' . $alert->getResource()->getMainTable() . '" table.');
545
+ continue;
546
+ }
547
+
548
+
549
+ // We'll select all subscribers that has the same product_id and are active
550
+ // (is_active=1 means we didn't contact subscribers)
551
+ $collection = Mage::getModel('ebizmarts_autoresponder/backtostock')->getCollection();
552
+ $collection
553
+ ->addFieldToFilter('is_active', array('eq' => 1))
554
+ ->addFieldToFilter('alert_id', array('eq' => $productStockAlert->getAlertId()))
555
+ ;
556
+
557
+ if(count($collection) > 0) {
558
+
559
+ // Loop through all subscribers that signed in to receive an email
560
+ // when this product become available again
561
+ foreach($collection as $subscriber) {
562
+ $_email = $subscriber->getEmail();
563
+
564
+ if($_email) {
565
+ $translate = Mage::getSingleton('core/translate');
566
+
567
+ $customer = Mage::getModel('customer/customer');
568
+ $customer->setStore(Mage::app()->getStore($storeId));
569
+ $customer->loadByEmail($_email);
570
+
571
+ $name = $customer->getFirstname() ? $customer->getFirstname() .' '. $customer->getLastname() : '';
572
+
573
+ $url = Mage::getModel('core/url')->setStore($storeId)->getUrl().'ebizautoresponder/autoresponder/unsubscribe?list=backtostock&email='.$_email.'&store='.$storeId;
574
+ $vars = array('name' => $name,'tags'=>array($tags),'product'=>$_product,'url'=>$url);
575
+
576
+ $mail = Mage::getModel('core/email_template')->setTemplateSubject($mailSubject)->sendTransactional($templateId,$sender,$_email,$name,$vars,$storeId);
577
+
578
+ $translate->setTranslateInLine(true);
579
+ Mage::helper('ebizmarts_abandonedcart')->saveMail($mailType, $_email, $name, "", $storeId);
580
+
581
+ // Flag/Disable notification that we already send
582
+ $subscriber->setIsActive(0);
583
+ $subscriber->save();
584
+ Mage::helper('ebizmarts_autoresponder')->log($_email . ' notified sent for "' . $_product->getName() . '"');
585
+
586
+ unset($mail);
587
+ }
588
+
589
+ }
590
+
591
+ }
592
+
593
+ unset($collection);
594
+ // Since there's no subscribers to contact -or all of them have been already contacted-
595
+ // we'll deactivate this alert so another cron parses this an deletes it.
596
+ $productStockAlert->setIsActive(0);
597
+ $productStockAlert->save();
598
+ }
599
+
600
+ }
601
+
602
+ unset($alert);
603
+ }
604
+
605
+ /**
606
+ * Back to Stock : Disable Alerts and Subscribers for a specific Product ID
607
+ * @param int $product_id
608
+ * @return bool
609
+ */
610
+ private function disableStockAlertsForProduct($product_id)
611
+ {
612
+ if(!$product_id) {
613
+ return false;
614
+ }
615
+
616
+ $stockAlert = Mage::getModel('ebizmarts_autoresponder/backtostockalert')->getCollection();
617
+ $stockAlert->addFieldToFilter('is_active', array('eq' => 1));
618
+ $stockAlert->addFieldToFilter('product_id', array('eq' => $product_id));
619
+
620
+ if($stockAlert->getSize() > 0) {
621
+ foreach($stockAlert as $alert) {
622
+ $alert_id = $alert->getAlertId();
623
+
624
+ $subscribers = Mage::getModel('ebizmarts_autoresponder/backtostock')->getCollection();
625
+ $subscribers->addFieldToFilter('alert_id', array('eq'=> $alert_id));
626
+
627
+ foreach($subscribers as $subscriber) {
628
+ $subscriber->setIsActive(0);
629
+ $subscriber->save();
630
+ }
631
+
632
+ $alert->setIsActive(0);
633
+ $alert->save();
634
+ }
635
+ }
636
+
637
+ Mage::helper('ebizmarts_autoresponder')->log('Back to Stock Notifications deactivated in database for Product ID ' . $product_id);
638
+ }
639
+
640
+ /**
641
+ * Remove records from BackToStock tables which were flagged as is_active=0
642
+ *
643
+ */
644
+ public function cleanupBackToStock()
645
+ {
646
+ // Retrieve all records that were deactivated
647
+ $stockAlert = Mage::getModel('ebizmarts_autoresponder/backtostockalert')->getCollection();
648
+ $stockAlert->addFieldToFilter('is_active', array('eq' => 0));
649
+
650
+ Mage::helper('ebizmarts_autoresponder')->log('MageMonkey Autoresponder BackToStock Cleanup - started');
651
+
652
+ if($stockAlert->count() > 0) {
653
+ Mage::helper('ebizmarts_autoresponder')->log('Cleaning out ' . $stockAlert->count() . ' backtostockalert.');
654
+ foreach($stockAlert as $alert) {
655
+ $alert->delete();
656
+ }
657
+ }
658
+
659
+
660
+ // Retrieve all records that were deactivated
661
+ $backToStock = Mage::getModel('ebizmarts_autoresponder/backtostock')->getCollection();
662
+ $backToStock->addFieldToFilter('is_active', array('eq' => 0));
663
+
664
+ if($backToStock->count() > 0) {
665
+
666
+ Mage::helper('ebizmarts_autoresponder')->log('Cleaning out ' . $backToStock->count() . ' backtostock.');
667
+ foreach($backToStock as $subscriber) {
668
+ $subscriber->delete();
669
+ }
670
+
671
+ }
672
+
673
+ unset($stockAlert);
674
+ unset($backToStock);
675
+
676
+ Mage::helper('ebizmarts_autoresponder')->log('MageMonkey Autoresponder BackToStock Cleanup - finished');
677
+ }
678
+
679
+
680
  protected function _createNewCoupon($store,$email)
681
  {
682
  $couponamount = Mage::getStoreConfig(Ebizmarts_Autoresponder_Model_Config::BIRTHDAY_DISCOUNT, $store);
app/code/community/Ebizmarts/Autoresponder/Model/EventObserver.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 6/24/13
5
- * Time : 5:27 PM
6
- * File : EventObserver.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Model_EventObserver
10
  {
11
  /**
@@ -224,4 +226,5 @@ class Ebizmarts_Autoresponder_Model_EventObserver
224
  $coupon_rule->save();
225
  return array($uniqueId,$discount,$toDate);
226
  }
 
227
  }
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Model_EventObserver
12
  {
13
  /**
226
  $coupon_rule->save();
227
  return array($uniqueId,$discount,$toDate);
228
  }
229
+
230
  }
app/code/community/Ebizmarts/Autoresponder/Model/Resource/Backtostock.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
+ class Ebizmarts_Autoresponder_Model_Resource_Backtostock extends Mage_Core_Model_Mysql4_Abstract
12
+ {
13
+ public function _construct()
14
+ {
15
+ $this->_init('ebizmarts_autoresponder/backtostock','backtostock_id');
16
+ }
17
+
18
+
19
+ }
app/code/community/Ebizmarts/Autoresponder/Model/Resource/Backtostock/Collection.php ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
+ class Ebizmarts_Autoresponder_Model_Resource_Backtostock_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
12
+ {
13
+ protected function _construct()
14
+ {
15
+ $this->_init('ebizmarts_autoresponder/backtostock');
16
+ }
17
+ }
app/code/community/Ebizmarts/Autoresponder/Model/Resource/Backtostockalert.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
+ class Ebizmarts_Autoresponder_Model_Resource_Backtostockalert extends Mage_Core_Model_Mysql4_Abstract
12
+ {
13
+ public function _construct()
14
+ {
15
+ $this->_init('ebizmarts_autoresponder/backtostockalert','alert_id');
16
+ }
17
+
18
+
19
+ }
app/code/community/Ebizmarts/Autoresponder/Model/Resource/Backtostockalert/Collection.php ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
+ class Ebizmarts_Autoresponder_Model_Resource_Backtostockalert_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
12
+ {
13
+ protected function _construct()
14
+ {
15
+ $this->_init('ebizmarts_autoresponder/backtostockalert');
16
+ }
17
+
18
+ }
app/code/community/Ebizmarts/Autoresponder/Model/Resource/Review.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 10/22/13
5
- * Time : 5:21 PM
6
- * File : Review.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Model_Resource_Review extends Mage_Core_Model_Mysql4_Abstract
10
  {
11
  public function _construct()
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Model_Resource_Review extends Mage_Core_Model_Mysql4_Abstract
12
  {
13
  public function _construct()
app/code/community/Ebizmarts/Autoresponder/Model/Resource/Review/Collection.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 10/22/13
5
- * Time : 5:22 PM
6
- * File : Collection.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Model_Resource_Review_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
10
  {
11
  protected function _construct()
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Model_Resource_Review_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
12
  {
13
  protected function _construct()
app/code/community/Ebizmarts/Autoresponder/Model/Resource/Unsubscribe.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 6/25/13
5
- * Time : 5:24 PM
6
- * File : Unsubscribe.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Model_Resource_Unsubscribe extends Mage_Core_Model_Mysql4_Abstract
10
  {
11
  public function _construct()
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Model_Resource_Unsubscribe extends Mage_Core_Model_Mysql4_Abstract
12
  {
13
  public function _construct()
app/code/community/Ebizmarts/Autoresponder/Model/Resource/Unsubscribe/Collection.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 6/26/13
5
- * Time : 7:51 AM
6
- * File : Collection.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Model_Resource_Unsubscribe_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
10
  {
11
  protected function _construct()
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Model_Resource_Unsubscribe_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
12
  {
13
  protected function _construct()
app/code/community/Ebizmarts/Autoresponder/Model/Resource/Visited.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 8/15/13
5
- * Time : 8:05 PM
6
- * File : Visited.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Model_Resource_Visited extends Mage_Core_Model_Mysql4_Abstract
10
  {
11
  public function _construct()
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Model_Resource_Visited extends Mage_Core_Model_Mysql4_Abstract
12
  {
13
  public function _construct()
app/code/community/Ebizmarts/Autoresponder/Model/Resource/Visited/Collection.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 8/15/13
5
- * Time : 8:06 PM
6
- * File : Collection.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Model_Resource_Visited_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
10
  {
11
  protected function _construct()
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Model_Resource_Visited_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
12
  {
13
  protected function _construct()
app/code/community/Ebizmarts/Autoresponder/Model/Review.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 10/22/13
5
- * Time : 5:20 PM
6
- * File : Review.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Model_Review extends Mage_Core_Model_Abstract
10
  {
11
  public function _construct() {
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Model_Review extends Mage_Core_Model_Abstract
12
  {
13
  public function _construct() {
app/code/community/Ebizmarts/Autoresponder/Model/System/Config/Automatic.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 6/14/13
5
- * Time : 4:15 PM
6
- * File : Automatic.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Model_System_Config_Automatic
10
  {
11
  /**
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Model_System_Config_Automatic
12
  {
13
  /**
app/code/community/Ebizmarts/Autoresponder/Model/System/Config/Couponcounter.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 10/27/13
5
- * Time : 8:10 AM
6
- * File : Pertype.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Model_System_Config_Couponcounter
10
  {
11
  public function toOptionArray()
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Model_System_Config_Couponcounter
12
  {
13
  public function toOptionArray()
app/code/community/Ebizmarts/Autoresponder/Model/System/Config/Customergroup.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 6/14/13
5
- * Time : 4:21 PM
6
- * File : Customergroup.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Model_System_Config_Customergroup
10
  {
11
  protected $_options;
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Model_System_Config_Customergroup
12
  {
13
  protected $_options;
app/code/community/Ebizmarts/Autoresponder/Model/System/Config/Discounttype.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 6/14/13
5
- * Time : 4:16 PM
6
- * File : Discounttype.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Model_System_Config_Discounttype
10
  {
11
  /**
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Model_System_Config_Discounttype
12
  {
13
  /**
app/code/community/Ebizmarts/Autoresponder/Model/System/Config/Generaltype.php CHANGED
@@ -1,11 +1,12 @@
1
  <?php
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 10/27/13
5
- * Time : 11:00 AM
6
- * File : Generaltype.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Model_System_Config_Generaltype
10
  {
11
  public function toOptionArray()
1
  <?php
2
  /**
3
+ *
4
+ * @category Ebizmarts
5
+ * @package Ebizmarts_Autoresponder
6
+ * @author Ebizmarts Team <info@ebizmarts.com>
7
+ * @license http://opensource.org/licenses/osl-3.0.php
8
  */
9
+
10
  class Ebizmarts_Autoresponder_Model_System_Config_Generaltype
11
  {
12
  public function toOptionArray()
app/code/community/Ebizmarts/Autoresponder/Model/System/Config/Time.php CHANGED
@@ -1,11 +1,12 @@
1
  <?php
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 6/14/13
5
- * Time : 4:15 PM
6
- * File : Automatic.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Model_System_Config_Time
10
  {
11
  /**
1
  <?php
2
  /**
3
+ *
4
+ * @category Ebizmarts
5
+ * @package Ebizmarts_Autoresponder
6
+ * @author Ebizmarts Team <info@ebizmarts.com>
7
+ * @license http://opensource.org/licenses/osl-3.0.php
8
  */
9
+
10
  class Ebizmarts_Autoresponder_Model_System_Config_Time
11
  {
12
  /**
app/code/community/Ebizmarts/Autoresponder/Model/Unsubscribe.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 6/25/13
5
- * Time : 5:21 PM
6
- * File : Unsubscribe.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Model_Unsubscribe extends Mage_Core_Model_Abstract
10
  {
11
  public function _construct() {
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Model_Unsubscribe extends Mage_Core_Model_Abstract
12
  {
13
  public function _construct() {
app/code/community/Ebizmarts/Autoresponder/Model/Visited.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 8/15/13
5
- * Time : 8:04 PM
6
- * File : Visited.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_Model_Visited extends Mage_Core_Model_Abstract
10
  {
11
  public function _construct() {
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_Model_Visited extends Mage_Core_Model_Abstract
12
  {
13
  public function _construct() {
app/code/community/Ebizmarts/Autoresponder/controllers/AutoresponderController.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
 
2
  /**
3
- * Author : Ebizmarts <info@ebizmarts.com>
4
- * Date : 6/25/13
5
- * Time : 3:22 PM
6
- * File : AutoresponderController.php
7
- * Module : Ebizmarts_Magemonkey
8
  */
 
9
  class Ebizmarts_Autoresponder_AutoresponderController extends Mage_Core_Controller_Front_Action
10
  {
11
  public function indexAction()
1
  <?php
2
+
3
  /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_Autoresponder_AutoresponderController extends Mage_Core_Controller_Front_Action
12
  {
13
  public function indexAction()
app/code/community/Ebizmarts/Autoresponder/controllers/BacktostockController.php ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
+ class Ebizmarts_Autoresponder_BacktostockController extends Mage_Core_Controller_Front_Action
12
+ {
13
+
14
+ public function subscribeAction()
15
+ {
16
+ $params = $this->getRequest()->getParams();
17
+ $redirect = '/';
18
+
19
+ if(isset($params['subscriber_email']) && isset($params['product_id'])) {
20
+
21
+ $email = $params['subscriber_email'];
22
+ $productId = $params['product_id'];
23
+ $alertId = false;
24
+
25
+ $stockAlertCollection = Mage::getModel('ebizmarts_autoresponder/backtostockalert')->getCollection();
26
+ $stockAlertCollection
27
+ ->addFieldToFilter('main_table.product_id', array('eq'=>$productId))
28
+ ->addFieldToFilter('main_table.is_active', array('eq'=> 1))
29
+ ;
30
+
31
+ // Check if we already have this Product ID in alert table, otherwise insert a new one
32
+ if($stockAlertCollection->getSize() == 0) {
33
+ $stockAlert = Mage::getModel('ebizmarts_autoresponder/backtostockalert');
34
+ $stockAlert
35
+ ->setProductId($productId)
36
+ ->setIsActive(1)
37
+ ;
38
+
39
+ $stockAlert->save();
40
+
41
+ $alertId = $stockAlert->getAlertId();
42
+
43
+ Mage::helper('ebizmarts_autoresponder')->log('New Stock Alert for product #'. $productId . ' was saved.');
44
+
45
+ } else {
46
+ // Retrieve existing Stock Alert ID
47
+ $alertId = $stockAlertCollection->getFirstItem()->getAlertId();
48
+ }
49
+
50
+ // Create new notification for this subscriber
51
+ $backStock = Mage::getModel('ebizmarts_autoresponder/backtostock');
52
+ $backStock
53
+ ->setAlertId($alertId)
54
+ ->setEmail($email)
55
+ ;
56
+ $backStock->save();
57
+
58
+
59
+ //@TODO add configuration option to ask if Admin wants to redirect to Product's View
60
+ // Redirects to Product's View
61
+ /*
62
+ if($productId) {
63
+ $currentProduct = Mage::getModel('catalog/product')->load($productId);
64
+
65
+ if($currentProduct && $currentProduct->getProductUrl()) {
66
+ $redirect = $currentProduct->getProductUrl();
67
+ }
68
+
69
+ }
70
+ */
71
+
72
+ Mage::getSingleton('core/session')
73
+ ->addSuccess($this->__('You have been subscribed successfully!'));
74
+
75
+ } else {
76
+ // Something went wrong and some of the needed params didn't arrived
77
+ Mage::helper('ebizmarts_autoresponder')->log('ERROR - Cannot extract email or ProductID from params. Ensure that Back to stock form is well rendered and has this two fields "subscriber_email", "product_id".');
78
+
79
+ Mage::getSingleton('core/session')
80
+ ->addError($this->__('We cannot subscribe you at this moment. Please, check again later.'));
81
+ }
82
+
83
+ // Redirect User
84
+ $this->_redirectUrl($redirect);
85
+ }
86
+
87
+ }
app/code/community/Ebizmarts/Autoresponder/etc/config.xml CHANGED
@@ -2,16 +2,15 @@
2
  <!--
3
  Configuration file for Ebizmarts_Autoresponder module, touch at you entire responsibility
4
 
5
- Author : Ebizmarts <info@ebizmarts.com>
6
- Date : 4/28/13
7
- Time : 11:20 AM
8
- File : config.xml
9
- Module : Ebizmarts_Magemonkey
10
  -->
11
  <config>
12
  <modules>
13
  <Ebizmarts_Autoresponder>
14
- <version>0.1.5</version>
15
  </Ebizmarts_Autoresponder>
16
  </modules>
17
  <global>
@@ -33,6 +32,12 @@
33
  <review>
34
  <table>ebizmarts_autoresponder_review</table>
35
  </review>
 
 
 
 
 
 
36
  </entities>
37
  </ebizmarts_autoresponder_resource>
38
  </models>
@@ -144,6 +149,15 @@
144
  </ebizmarts_autoresponder_review_coupon_template>
145
  </email>
146
  </template>
 
 
 
 
 
 
 
 
 
147
  </global>
148
  <adminhtml>
149
  <events>
@@ -155,6 +169,14 @@
155
  </ebizmarts_autoresponder_save_config>
156
  </observers>
157
  </admin_system_config_changed_section_ebizmarts_autoresponder>
 
 
 
 
 
 
 
 
158
  </events>
159
  </adminhtml>
160
  <frontend>
@@ -204,6 +226,14 @@
204
  <model>ebizmarts_autoresponder/cron::process</model>
205
  </run>
206
  </ebizmarts_autoresponder>
 
 
 
 
 
 
 
 
207
  </jobs>
208
  </crontab>
209
  <default>
@@ -246,6 +276,12 @@
246
  <subject>Visited Product Subject</subject>
247
  <listname>Visited Product List</listname>
248
  </visitedproducts>
 
 
 
 
 
 
249
  </ebizmarts_autoresponder>
250
  </default>
251
  </config>
2
  <!--
3
  Configuration file for Ebizmarts_Autoresponder module, touch at you entire responsibility
4
 
5
+ @category Ebizmarts
6
+ @package Ebizmarts_Autoresponder
7
+ @author Ebizmarts Team <info@ebizmarts.com>
8
+ @license http://opensource.org/licenses/osl-3.0.php
 
9
  -->
10
  <config>
11
  <modules>
12
  <Ebizmarts_Autoresponder>
13
+ <version>0.1.6</version>
14
  </Ebizmarts_Autoresponder>
15
  </modules>
16
  <global>
32
  <review>
33
  <table>ebizmarts_autoresponder_review</table>
34
  </review>
35
+ <backtostock>
36
+ <table>ebizmarts_autoresponder_backtostock</table>
37
+ </backtostock>
38
+ <backtostockalert>
39
+ <table>ebizmarts_autoresponder_backtostock_alert</table>
40
+ </backtostockalert>
41
  </entities>
42
  </ebizmarts_autoresponder_resource>
43
  </models>
149
  </ebizmarts_autoresponder_review_coupon_template>
150
  </email>
151
  </template>
152
+ <template>
153
+ <email>
154
+ <ebizmarts_autoresponder_backtostock_template translate="label" module="ebizmarts_autoresponder">
155
+ <label>Back to Stock</label>
156
+ <file>ebizmarts/autoresponder/backtostock.html</file>
157
+ <type>html</type>
158
+ </ebizmarts_autoresponder_backtostock_template>
159
+ </email>
160
+ </template>
161
  </global>
162
  <adminhtml>
163
  <events>
169
  </ebizmarts_autoresponder_save_config>
170
  </observers>
171
  </admin_system_config_changed_section_ebizmarts_autoresponder>
172
+ <admin_system_config_changed_section_mandrill>
173
+ <observers>
174
+ <mandrill_save_config>
175
+ <class>ebizmarts_autoresponder/eventObserver</class>
176
+ <method>saveConfig</method>
177
+ </mandrill_save_config>
178
+ </observers>
179
+ </admin_system_config_changed_section_mandrill>
180
  </events>
181
  </adminhtml>
182
  <frontend>
226
  <model>ebizmarts_autoresponder/cron::process</model>
227
  </run>
228
  </ebizmarts_autoresponder>
229
+ <ebizmarts_autoresponder_backtostock_cleanup>
230
+ <schedule>
231
+ <cron_expr>0 0 1 * *</cron_expr>
232
+ </schedule>
233
+ <run>
234
+ <model>ebizmarts_autoresponder/cron::cleanupBackToStock</model>
235
+ </run>
236
+ </ebizmarts_autoresponder_backtostock_cleanup>
237
  </jobs>
238
  </crontab>
239
  <default>
276
  <subject>Visited Product Subject</subject>
277
  <listname>Visited Product List</listname>
278
  </visitedproducts>
279
+ <backtostock>
280
+ <subject>Back to Stock Notification</subject>
281
+ <mandrill_tag>Autoresponder_BacktoStock</mandrill_tag>
282
+ <allow-guests>1</allow-guests>
283
+ <listname>Back to Stock List</listname>
284
+ </backtostock>
285
  </ebizmarts_autoresponder>
286
  </default>
287
  </config>
app/code/community/Ebizmarts/Autoresponder/etc/system.xml CHANGED
@@ -1,12 +1,11 @@
1
  <?xml version="1.0"?>
2
  <!--
3
- Configuration file for Ebizmarts_Autoresponder module, touch at you entire responsibility
4
 
5
- Author : Ebizmarts <info@ebizmarts.com>
6
- Date : 4/28/13
7
- Time : 11:20 AM
8
- File : system.xml
9
- Module : Ebizmarts_Magemonkey
10
  -->
11
  <config>
12
  <sections>
@@ -42,6 +41,16 @@ Module : Ebizmarts_Magemonkey
42
  <show_in_website>1</show_in_website>
43
  <show_in_store>1</show_in_store>
44
  </active>
 
 
 
 
 
 
 
 
 
 
45
  <identity translate="label">
46
  <label>Sender</label>
47
  <frontend_type>select</frontend_type>
@@ -1100,6 +1109,81 @@ Module : Ebizmarts_Magemonkey
1100
  </max-visited>
1101
  </fields>
1102
  </visitedproducts>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1103
  </groups>
1104
  </ebizmarts_autoresponder>
1105
  </sections>
1
  <?xml version="1.0"?>
2
  <!--
3
+ Configuration file for Ebizmarts_Autoresponder module, touch at you entire responsibility
4
 
5
+ @category Ebizmarts
6
+ @package Ebizmarts_Autoresponder
7
+ @author Ebizmarts Team <info@ebizmarts.com>
8
+ @license http://opensource.org/licenses/osl-3.0.php
 
9
  -->
10
  <config>
11
  <sections>
41
  <show_in_website>1</show_in_website>
42
  <show_in_store>1</show_in_store>
43
  </active>
44
+ <enable_log translate="label">
45
+ <label>Enable Log</label>
46
+ <frontend_type>select</frontend_type>
47
+ <source_model>adminhtml/system_config_source_yesno</source_model>
48
+ <sort_order>11</sort_order>
49
+ <show_in_default>1</show_in_default>
50
+ <show_in_website>0</show_in_website>
51
+ <show_in_store>1</show_in_store>
52
+ <comment>File is {{base_dir}}/var/log/Ebzimarts_Autoresponder.log</comment>
53
+ </enable_log>
54
  <identity translate="label">
55
  <label>Sender</label>
56
  <frontend_type>select</frontend_type>
1109
  </max-visited>
1110
  </fields>
1111
  </visitedproducts>
1112
+ <backtostock>
1113
+ <label>Back to Stock Notifications</label>
1114
+ <sort_order>25</sort_order>
1115
+ <frontend_type>text</frontend_type>
1116
+ <show_in_default>1</show_in_default>
1117
+ <show_in_website>1</show_in_website>
1118
+ <show_in_store>1</show_in_store>
1119
+ <fields>
1120
+ <hint>
1121
+ <frontend_model>ebizmarts_autoresponder/adminhtml_system_config_backtostock_fieldset_hint</frontend_model>
1122
+ <sort_order>0</sort_order>
1123
+ <show_in_default>1</show_in_default>
1124
+ <show_in_website>1</show_in_website>
1125
+ <show_in_store>1</show_in_store>
1126
+ </hint>
1127
+ <active translate="label">
1128
+ <label>Enabled</label>
1129
+ <frontend_type>select</frontend_type>
1130
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1131
+ <sort_order>10</sort_order>
1132
+ <show_in_default>1</show_in_default>
1133
+ <show_in_website>1</show_in_website>
1134
+ <show_in_store>1</show_in_store>
1135
+ </active>
1136
+ <template translate="label">
1137
+ <label>Email Template</label>
1138
+ <frontend_type>select</frontend_type>
1139
+ <config_path>ebizmarts_autoresponder/backtostock/template</config_path>
1140
+ <source_model>adminhtml/system_config_source_email_template</source_model>
1141
+ <sort_order>30</sort_order>
1142
+ <show_in_default>1</show_in_default>
1143
+ <show_in_website>1</show_in_website>
1144
+ <show_in_store>1</show_in_store>
1145
+ <depends>
1146
+ <active>1</active>
1147
+ </depends>
1148
+ </template>
1149
+ <subject translate="label comment">
1150
+ <label>Email Subject</label>
1151
+ <frontend_type>text</frontend_type>
1152
+ <sort_order>35</sort_order>
1153
+ <show_in_default>1</show_in_default>
1154
+ <show_in_website>1</show_in_website>
1155
+ <show_in_store>1</show_in_store>
1156
+ <can_be_empty>0</can_be_empty>
1157
+ <comment><![CDATA[Subject for Back To Stock email notification]]></comment>
1158
+ <depends>
1159
+ <active>1</active>
1160
+ </depends>
1161
+ </subject>
1162
+ <mandrill_tag translate="label">
1163
+ <label>Mandrill Tag</label>
1164
+ <frontend_type>text</frontend_type>
1165
+ <sort_order>40</sort_order>
1166
+ <show_in_default>1</show_in_default>
1167
+ <show_in_website>1</show_in_website>
1168
+ <show_in_store>1</show_in_store>
1169
+ <depends>
1170
+ <active>1</active>
1171
+ </depends>
1172
+ </mandrill_tag>
1173
+ <allow_guests translate="label comment">
1174
+ <label>Allow Guests to be notified</label>
1175
+ <frontend_type>select</frontend_type>
1176
+ <source_model>adminhtml/system_config_source_yesno</source_model>
1177
+ <sort_order>45</sort_order>
1178
+ <show_in_default>1</show_in_default>
1179
+ <show_in_website>1</show_in_website>
1180
+ <show_in_store>1</show_in_store>
1181
+ <depends>
1182
+ <active>1</active>
1183
+ </depends>
1184
+ </allow_guests>
1185
+ </fields>
1186
+ </backtostock>
1187
  </groups>
1188
  </ebizmarts_autoresponder>
1189
  </sections>
app/code/community/Ebizmarts/Autoresponder/sql/ebizmarts_autoresponder_setup/mysql4-upgrade-0.1.5-0.1.6.php ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
+ $installer = $this;
12
+
13
+ $installer->startSetup();
14
+
15
+ $installer->run("
16
+
17
+ CREATE TABLE IF NOT EXISTS `{$this->getTable('ebizmarts_autoresponder_backtostock')}` (
18
+ `backtostock_id` int(10) unsigned NOT NULL auto_increment,
19
+ `alert_id` int(10),
20
+ `email` varchar(255),
21
+ `is_active` smallint(5) unsigned NOT NULL DEFAULT '1',
22
+ PRIMARY KEY (`backtostock_id`)
23
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
24
+ ");
25
+
26
+ $installer->run("
27
+
28
+ CREATE TABLE IF NOT EXISTS `{$this->getTable('ebizmarts_autoresponder_backtostock_alert')}` (
29
+ `alert_id` int(10) unsigned NOT NULL auto_increment,
30
+ `product_id` int(10),
31
+ `is_active` smallint(5) unsigned NOT NULL DEFAULT '1',
32
+ PRIMARY KEY (`alert_id`)
33
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
34
+ ");
35
+
36
+ $installer->run("
37
+ ALTER TABLE `{$this->getTable('magemonkey_mails_sent')}`
38
+ CHANGE `mail_type` `mail_type` ENUM( 'abandoned cart', 'happy birthday', 'new order', 'related products', 'product review', 'no activity', 'wishlist', 'review coupon', 'back to stock' )
39
+ CHARACTER SET utf8 NOT NULL;
40
+ ");
41
+
42
+ $installer->endSetup();
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Bulksync/Export.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Bulksync_Export extends Mage_Adminhtml_Block_Widget_Form_Container
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Bulksync_Export extends Mage_Adminhtml_Block_Widget_Form_Container
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Bulksync/Export/Form.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Bulksync_Export_Form extends Mage_Adminhtml_Block_Widget_Form
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Bulksync_Export_Form extends Mage_Adminhtml_Block_Widget_Form
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Bulksync/Import.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Bulksync_Import extends Mage_Adminhtml_Block_Widget_Form_Container
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Bulksync_Import extends Mage_Adminhtml_Block_Widget_Form_Container
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Bulksync/Import/Form.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Bulksync_Import_Form extends Mage_Adminhtml_Block_Widget_Form
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Bulksync_Import_Form extends Mage_Adminhtml_Block_Widget_Form
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Bulksync/Queue.php CHANGED
@@ -1,5 +1,13 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
3
  class Ebizmarts_MageMonkey_Block_Adminhtml_Bulksync_Queue extends Mage_Adminhtml_Block_Widget_Grid_Container
4
  {
5
 
1
  <?php
2
 
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_MageMonkey
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
  class Ebizmarts_MageMonkey_Block_Adminhtml_Bulksync_Queue extends Mage_Adminhtml_Block_Widget_Grid_Container
12
  {
13
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Bulksync/Queue/Grid.php CHANGED
@@ -1,5 +1,13 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
3
  class Ebizmarts_MageMonkey_Block_Adminhtml_Bulksync_Queue_Grid extends Mage_Adminhtml_Block_Widget_Grid
4
  {
5
 
1
  <?php
2
 
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_MageMonkey
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
  class Ebizmarts_MageMonkey_Block_Adminhtml_Bulksync_Queue_Grid extends Mage_Adminhtml_Block_Widget_Grid
12
  {
13
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Bulksync/QueueExport.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Bulksync_QueueExport extends Mage_Adminhtml_Block_Widget_Grid_Container
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Bulksync_QueueExport extends Mage_Adminhtml_Block_Widget_Grid_Container
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Bulksync/QueueExport/Grid.php CHANGED
@@ -7,7 +7,9 @@
7
  * @category Ebizmarts
8
  * @package Ebizmarts_MageMonkey
9
  * @author Ebizmarts Team <info@ebizmarts.com>
 
10
  */
 
11
  class Ebizmarts_MageMonkey_Block_Adminhtml_Bulksync_QueueExport_Grid extends Mage_Adminhtml_Block_Widget_Grid
12
  {
13
 
7
  * @category Ebizmarts
8
  * @package Ebizmarts_MageMonkey
9
  * @author Ebizmarts Team <info@ebizmarts.com>
10
+ * @license http://opensource.org/licenses/osl-3.0.php
11
  */
12
+
13
  class Ebizmarts_MageMonkey_Block_Adminhtml_Bulksync_QueueExport_Grid extends Mage_Adminhtml_Block_Widget_Grid
14
  {
15
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Bulksync/QueueImport.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Bulksync_QueueImport extends Mage_Adminhtml_Block_Widget_Grid_Container
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Bulksync_QueueImport extends Mage_Adminhtml_Block_Widget_Grid_Container
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Bulksync/QueueImport/Grid.php CHANGED
@@ -7,7 +7,9 @@
7
  * @category Ebizmarts
8
  * @package Ebizmarts_MageMonkey
9
  * @author Ebizmarts Team <info@ebizmarts.com>
 
10
  */
 
11
  class Ebizmarts_MageMonkey_Block_Adminhtml_Bulksync_QueueImport_Grid extends Mage_Adminhtml_Block_Widget_Grid
12
  {
13
 
7
  * @category Ebizmarts
8
  * @package Ebizmarts_MageMonkey
9
  * @author Ebizmarts Team <info@ebizmarts.com>
10
+ * @license http://opensource.org/licenses/osl-3.0.php
11
  */
12
+
13
  class Ebizmarts_MageMonkey_Block_Adminhtml_Bulksync_QueueImport_Grid extends Mage_Adminhtml_Block_Widget_Grid
14
  {
15
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Customer/Edit/Tab/Memberactivity.php CHANGED
@@ -7,7 +7,9 @@
7
  * @category Ebizmarts
8
  * @package Ebizmarts_MageMonkey
9
  * @author Ebizmarts Team <info@ebizmarts.com>
 
10
  */
 
11
  class Ebizmarts_MageMonkey_Block_Adminhtml_Customer_Edit_Tab_Memberactivity
12
  extends Ebizmarts_MageMonkey_Block_Adminhtml_Memberactivity_Grid
13
  implements Mage_Adminhtml_Block_Widget_Tab_Interface
7
  * @category Ebizmarts
8
  * @package Ebizmarts_MageMonkey
9
  * @author Ebizmarts Team <info@ebizmarts.com>
10
+ * @license http://opensource.org/licenses/osl-3.0.php
11
  */
12
+
13
  class Ebizmarts_MageMonkey_Block_Adminhtml_Customer_Edit_Tab_Memberactivity
14
  extends Ebizmarts_MageMonkey_Block_Adminhtml_Memberactivity_Grid
15
  implements Mage_Adminhtml_Block_Widget_Tab_Interface
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Ecommerce.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Ecommerce extends Mage_Adminhtml_Block_Widget_Grid_Container
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Ecommerce extends Mage_Adminhtml_Block_Widget_Grid_Container
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Ecommerce/Grid.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Ecommerce_Grid extends Mage_Adminhtml_Block_Widget_Grid
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Ecommerce_Grid extends Mage_Adminhtml_Block_Widget_Grid
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Ecommerceapi.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Ecommerceapi extends Mage_Adminhtml_Block_Widget_Grid_Container
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Ecommerceapi extends Mage_Adminhtml_Block_Widget_Grid_Container
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Ecommerceapi/Grid.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Ecommerceapi_Grid extends Mage_Adminhtml_Block_Widget_Grid
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Ecommerceapi_Grid extends Mage_Adminhtml_Block_Widget_Grid
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Ecommerceapi/Renderer/Items.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Ecommerceapi_Renderer_Items extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Ecommerceapi_Renderer_Items extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Memberactivity/Grid.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Memberactivity_Grid extends Mage_Adminhtml_Block_Widget_Grid
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Memberactivity_Grid extends Mage_Adminhtml_Block_Widget_Grid
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Renderer/Date.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Renderer_Date extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
11
  {
12
  /**
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Renderer_Date extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
13
  {
14
  /**
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Renderer/Importypes.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Renderer_Importypes extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
11
  {
12
  /**
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Renderer_Importypes extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
13
  {
14
  /**
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Renderer/Lists.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Renderer_Lists extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
11
  {
12
  /**
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Renderer_Lists extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
13
  {
14
  /**
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Renderer/Progress.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Renderer_Progress extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
11
  {
12
  /**
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Renderer_Progress extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
13
  {
14
  /**
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Renderer/Yesno.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Renderer_Yesno extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
11
  {
12
  /**
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Renderer_Yesno extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract
13
  {
14
  /**
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/System/Config/Account.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_System_Config_Account
11
  extends Mage_Adminhtml_Block_System_Config_Form_Field
12
  {
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_System_Config_Account
13
  extends Mage_Adminhtml_Block_System_Config_Form_Field
14
  {
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/System/Config/Fieldset/Hint.php CHANGED
@@ -1,9 +1,13 @@
1
  <?php
2
 
3
  /**
4
- * Renderer for SagePay banner in System Configuration
5
- * @author Ebizmart Team <info@ebizmarts.com>
 
 
 
6
  */
 
7
  class Ebizmarts_MageMonkey_Block_Adminhtml_System_Config_Fieldset_Hint
8
  extends Mage_Adminhtml_Block_Abstract
9
  implements Varien_Data_Form_Element_Renderer_Interface
1
  <?php
2
 
3
  /**
4
+ * Renderer for MageMonkey banner in System Configuration
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_MageMonkey
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
  */
10
+
11
  class Ebizmarts_MageMonkey_Block_Adminhtml_System_Config_Fieldset_Hint
12
  extends Mage_Adminhtml_Block_Abstract
13
  implements Varien_Data_Form_Element_Renderer_Interface
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/System/Config/Form/Field/Mapfields.php CHANGED
@@ -7,7 +7,9 @@
7
  * @category Ebizmarts
8
  * @package Ebizmarts_MageMonkey
9
  * @author Ebizmarts Team <info@ebizmarts.com>
 
10
  */
 
11
  class Ebizmarts_MageMonkey_Block_Adminhtml_System_Config_Form_Field_Mapfields extends Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract
12
  {
13
 
7
  * @category Ebizmarts
8
  * @package Ebizmarts_MageMonkey
9
  * @author Ebizmarts Team <info@ebizmarts.com>
10
+ * @license http://opensource.org/licenses/osl-3.0.php
11
  */
12
+
13
  class Ebizmarts_MageMonkey_Block_Adminhtml_System_Config_Form_Field_Mapfields extends Mage_Adminhtml_Block_System_Config_Form_Field_Array_Abstract
14
  {
15
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/System/Config/OauthWizard.php CHANGED
@@ -2,11 +2,13 @@
2
 
3
  /**
4
  * Custom renderer for Oauth2 authorization wizard popup
5
- *
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_System_Config_OauthWizard extends Mage_Adminhtml_Block_System_Config_Form_Field {
11
 
12
  /**
2
 
3
  /**
4
  * Custom renderer for Oauth2 authorization wizard popup
5
+ *
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_System_Config_OauthWizard extends Mage_Adminhtml_Block_System_Config_Form_Field {
13
 
14
  /**
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Transactionalemail/Mandrill.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Transactionalemail_Mandrill extends Mage_Adminhtml_Block_Widget_Grid_Container
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Transactionalemail_Mandrill extends Mage_Adminhtml_Block_Widget_Grid_Container
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Transactionalemail/Mandrill/Grid.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Transactionalemail_Mandrill_Grid extends Mage_Adminhtml_Block_Widget_Grid
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Transactionalemail_Mandrill_Grid extends Mage_Adminhtml_Block_Widget_Grid
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Transactionalemail/Newemail.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Transactionalemail_Newemail extends Mage_Adminhtml_Block_Widget_Form_Container
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Transactionalemail_Newemail extends Mage_Adminhtml_Block_Widget_Form_Container
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Transactionalemail/Newemail/Form.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Transactionalemail_Newemail_Form extends Mage_Adminhtml_Block_Widget_Form
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Transactionalemail_Newemail_Form extends Mage_Adminhtml_Block_Widget_Form
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Transactionalemail/Sts.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Transactionalemail_Sts extends Mage_Adminhtml_Block_Widget_Grid_Container
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Transactionalemail_Sts extends Mage_Adminhtml_Block_Widget_Grid_Container
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Block/Adminhtml/Transactionalemail/Sts/Grid.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Adminhtml_Transactionalemail_Sts_Grid extends Mage_Adminhtml_Block_Widget_Grid
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Adminhtml_Transactionalemail_Sts_Grid extends Mage_Adminhtml_Block_Widget_Grid
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Block/Checkout/Subscribe.php CHANGED
@@ -6,9 +6,28 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Checkout_Subscribe extends Ebizmarts_MageMonkey_Block_Lists
11
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
 
13
  /**
14
  * Render block HTML
@@ -17,45 +36,45 @@ class Ebizmarts_MageMonkey_Block_Checkout_Subscribe extends Ebizmarts_MageMonkey
17
  */
18
  protected function _toHtml()
19
  {
20
- $alreadySubscribed = Mage::getModel('newsletter/subscriber')
21
- ->loadByEmail($this->getQuote()->getCustomerEmail())
22
- ->isSubscribed();
23
- /**
24
- * If you don't want to show the lists in the checkout when the user it's already subscribed.
25
- * Replace the code below for the condition below
26
- *
27
- * if ( !$this->helper('monkey')->canCheckoutSubscribe() OR $alreadySubscribed ) {
28
- *
29
- *
30
- * **/
31
-
32
- if ( !$this->helper('monkey')->canCheckoutSubscribe() ) {
 
33
  return '';
34
  }
35
 
36
  return parent::_toHtml();
37
  }
38
 
39
- /**
40
- * Retrieve current quote object from session
41
- *
42
- * @return Mage_Sales_Model_Quote
43
- */
44
  public function getQuote()
45
  {
46
- return Mage::getSingleton('checkout/session')
47
- ->getQuote();
48
  }
49
 
50
- /**
51
- * Retrieve from config the status of the checkbox
52
- *
53
- * @see Ebizmarts_MageMonkey_Model_System_Config_Source_Checkoutsubscribe
54
- * @return integer Config value possible values are 0,1,2,3
55
- */
56
- public function checkStatus()
57
- {
58
- return (int)$this->helper('monkey')->config('checkout_subscribe');
59
- }
60
-
61
  }
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Checkout_Subscribe extends Ebizmarts_MageMonkey_Block_Lists
13
  {
14
+ protected function _construct()
15
+ {
16
+ parent::_construct();
17
+
18
+ $key = array(
19
+ 'EbizMageMonkeyCheckoutSubscribe',
20
+ (int)Mage::app()->getStore()->isCurrentlySecure(),
21
+ Mage::getSingleton('customer/session')->isLoggedIn(),
22
+ $this->getQuote()->getCustomer()->getId()
23
+ );
24
+
25
+ $this->addData(array(
26
+ 'cache_lifetime' => 60 * 60 * 4, // four hours valid
27
+ 'cache_tags' => array('EbizMageMonkey_Checkout_Subscribe'),
28
+ 'cache_key' => implode('_', $key),
29
+ ));
30
+ }
31
 
32
  /**
33
  * Render block HTML
36
  */
37
  protected function _toHtml()
38
  {
39
+ /**
40
+ * If you don't want to show the lists in the checkout when the user it's already subscribed.
41
+ * Replace the code below for the condition below
42
+ */
43
+
44
+ /*
45
+ $alreadySubscribed = Mage::getModel('newsletter/subscriber')
46
+ ->loadByEmail($this->getQuote()->getCustomerEmail())
47
+ ->isSubscribed();
48
+
49
+ if ( !$this->helper('monkey')->canCheckoutSubscribe() OR $alreadySubscribed ) {
50
+ */
51
+
52
+ if (!$this->helper('monkey')->canCheckoutSubscribe()) {
53
  return '';
54
  }
55
 
56
  return parent::_toHtml();
57
  }
58
 
59
+ /**
60
+ * Retrieve current quote object from session
61
+ *
62
+ * @return Mage_Sales_Model_Quote
63
+ */
64
  public function getQuote()
65
  {
66
+ return Mage::getSingleton('checkout/session')
67
+ ->getQuote();
68
  }
69
 
70
+ /**
71
+ * Retrieve from config the status of the checkbox
72
+ *
73
+ * @see Ebizmarts_MageMonkey_Model_System_Config_Source_Checkoutsubscribe
74
+ * @return integer Config value possible values are 0,1,2,3
75
+ */
76
+ public function checkStatus()
77
+ {
78
+ return (int)$this->helper('monkey')->config('checkout_subscribe');
79
+ }
 
80
  }
app/code/community/Ebizmarts/MageMonkey/Block/Customer/Account/Lists.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Customer_Account_Lists extends Ebizmarts_MageMonkey_Block_Lists
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Customer_Account_Lists extends Ebizmarts_MageMonkey_Block_Lists
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Block/Lists.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Lists extends Mage_Core_Block_Template
11
  {
12
 
@@ -235,19 +237,51 @@ class Ebizmarts_MageMonkey_Block_Lists extends Mage_Core_Block_Template
235
  if($memberInfo['success'] == 1){
236
  $groupings = $memberInfo['data'][0]['merges']['GROUPINGS'];
237
 
238
- foreach($groupings as $_group){
239
- if(!empty($_group['groups'])){
240
 
241
- if($fieldType == 'checkboxes'){
242
- $myGroups[$_group['id']] = explode(', ', $_group['groups']);
243
- }elseif($fieldType == 'radio'){
244
- $myGroups[$_group['id']] = array($_group['groups']);
245
- }else{
246
- $myGroups[$_group['id']] = $_group['groups'];
247
- }
248
 
249
- }
250
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251
  }
252
 
253
  switch ($fieldType) {
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Lists extends Mage_Core_Block_Template
13
  {
14
 
237
  if($memberInfo['success'] == 1){
238
  $groupings = $memberInfo['data'][0]['merges']['GROUPINGS'];
239
 
240
+ foreach($groupings as $_group){
 
241
 
242
+ if(!empty($_group['groups'])){
243
+ if($fieldType == 'checkboxes'){
 
 
 
 
 
244
 
245
+ $currentGroup = str_replace('\\,','%C%',$_group['groups']);
246
+ $currentGroupArray = explode(', ', $currentGroup);
247
+
248
+ $myGroups[$_group['id']] = str_replace('%C%',',', $currentGroupArray);
249
+
250
+ }elseif($fieldType == 'radio'){
251
+
252
+ if(strpos($_group['groups'], ',')) {
253
+ $currentGroup = str_replace('\\,','%C%',$_group['groups']);
254
+ $currentGroupArray = explode(', ', $currentGroup);
255
+ $collapsed = str_replace('%C%',',', $currentGroupArray);
256
+
257
+ if(is_array($collapsed) && isset($collapsed[0])) {
258
+ $myGroups[$_group['id']] = array($collapsed[0]);
259
+ } else {
260
+ $myGroups[$_group['id']] = array($collapsed);
261
+ }
262
+ } else {
263
+ $myGroups[$_group['id']] = array($_group['groups']);
264
+ }
265
+
266
+ }else{
267
+ if(strpos($_group['groups'], ',')) {
268
+ $currentGroup = str_replace('\\,','%C%',$_group['groups']);
269
+ $currentGroupArray = explode(', ', $currentGroup);
270
+ $collapsed = str_replace('%C%',',', $currentGroupArray);
271
+
272
+ if(is_array($collapsed) && isset($collapsed[0])) {
273
+ $myGroups[$_group['id']] = array($collapsed[0]);
274
+ } else {
275
+ $myGroups[$_group['id']] = array($collapsed);
276
+ }
277
+ } else {
278
+ $myGroups[$_group['id']] = array($_group['groups']);
279
+ }
280
+
281
+ }
282
+
283
+ }
284
+ }
285
  }
286
 
287
  switch ($fieldType) {
app/code/community/Ebizmarts/MageMonkey/Block/Signup.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Block_Signup extends Ebizmarts_MageMonkey_Block_Lists
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Block_Signup extends Ebizmarts_MageMonkey_Block_Lists
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Helper/Cache.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Helper_Cache extends Mage_Core_Helper_Abstract
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Helper_Cache extends Mage_Core_Helper_Abstract
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Helper/Data.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
11
  {
12
 
@@ -30,6 +32,17 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
30
  return is_object(Mage::getConfig()->getNode('global/models/enterprise_enterprise'));
31
  }
32
 
 
 
 
 
 
 
 
 
 
 
 
33
  /**
34
  * Return Webhooks security key for given store
35
  *
@@ -46,6 +59,9 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
46
  $crypt = md5((string)Mage::getConfig()->getNode('global/crypt/key'));
47
  $key = substr($crypt, 0, (strlen($crypt)/2));
48
 
 
 
 
49
  return ($key . $store);
50
  }
51
 
@@ -452,6 +468,7 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
452
  ->addFieldToFilter('customer_email', $customer->getEmail())
453
  ->addFieldToFilter('state', array('in' => Mage::getSingleton('sales/order_config')->getVisibleOnFrontStates()))
454
  ->setOrder('created_at', 'desc')
 
455
  ->getFirstItem();
456
  if ( $last_order->getId() ){
457
  $merge_vars[$key] = Mage::helper('core')->formatDate($last_order->getCreatedAt());
@@ -527,13 +544,30 @@ class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
527
  $groups = $customer->getListGroups();
528
  $groupings = array();
529
 
530
- if(is_array($groups) && count($groups)){
531
- foreach($groups as $groupId => $grupoptions){
532
- $groupings[] = array(
533
- 'id' => $groupId,
534
- 'groups' => (is_array($grupoptions) ? implode(', ', $grupoptions) : $grupoptions)
535
- );
536
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
537
  }
538
 
539
  $merge_vars['GROUPINGS'] = $groupings;
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Helper_Data extends Mage_Core_Helper_Abstract
13
  {
14
 
32
  return is_object(Mage::getConfig()->getNode('global/models/enterprise_enterprise'));
33
  }
34
 
35
+
36
+ /**
37
+ * Whether Admin Notifications should be displayed or not in backend Admin
38
+ *
39
+ * @return bool
40
+ */
41
+ public function isAdminNotificationEnabled()
42
+ {
43
+ return $this->config('adminhtml_notification');
44
+ }
45
+
46
  /**
47
  * Return Webhooks security key for given store
48
  *
59
  $crypt = md5((string)Mage::getConfig()->getNode('global/crypt/key'));
60
  $key = substr($crypt, 0, (strlen($crypt)/2));
61
 
62
+ // Prevent most cases to attach default in webhook url
63
+ if($store == 'default') $store = '';
64
+
65
  return ($key . $store);
66
  }
67
 
468
  ->addFieldToFilter('customer_email', $customer->getEmail())
469
  ->addFieldToFilter('state', array('in' => Mage::getSingleton('sales/order_config')->getVisibleOnFrontStates()))
470
  ->setOrder('created_at', 'desc')
471
+ ->setPageSize(1)
472
  ->getFirstItem();
473
  if ( $last_order->getId() ){
474
  $merge_vars[$key] = Mage::helper('core')->formatDate($last_order->getCreatedAt());
544
  $groups = $customer->getListGroups();
545
  $groupings = array();
546
 
547
+ if(is_array($groups) && count($groups)) {
548
+ foreach($groups as $groupId => $grupoptions)
549
+ {
550
+ if (is_array($grupoptions))
551
+ {
552
+ $grupOptionsEscaped = array();
553
+ foreach($grupoptions as $gopt)
554
+ {
555
+ $gopt = str_replace(",","%C%",$gopt);
556
+ $grupOptionsEscaped[] = $gopt;
557
+ }
558
+ $groupings[] = array(
559
+ 'id' => $groupId,
560
+ 'groups' => str_replace('%C%','\\,',implode(', ', $grupOptionsEscaped))
561
+ );
562
+ }
563
+ else
564
+ {
565
+ $groupings[] = array(
566
+ 'id' => $groupId,
567
+ 'groups' => str_replace(',','\\,',$grupoptions)
568
+ );
569
+ }
570
+ }
571
  }
572
 
573
  $merge_vars['GROUPINGS'] = $groupings;
app/code/community/Ebizmarts/MageMonkey/Helper/Export.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Helper_Export extends Mage_Core_Helper_Abstract
11
  {
12
  /**
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Helper_Export extends Mage_Core_Helper_Abstract
13
  {
14
  /**
app/code/community/Ebizmarts/MageMonkey/Helper/Oauth2.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Helper_Oauth2 extends Mage_Core_Helper_Abstract {
11
 
12
  protected $_authorizeUri = "https://login.mailchimp.com/oauth2/authorize";
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Helper_Oauth2 extends Mage_Core_Helper_Abstract {
13
 
14
  protected $_authorizeUri = "https://login.mailchimp.com/oauth2/authorize";
app/code/community/Ebizmarts/MageMonkey/Model/Api.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_Api {
11
 
12
  /**
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_Api {
13
 
14
  /**
app/code/community/Ebizmarts/MageMonkey/Model/Apidebug.php DELETED
@@ -1,23 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Apidebug db accessor
5
- *
6
- * @category Ebizmarts
7
- * @package Ebizmarts_MageMonkey
8
- * @author Ebizmarts Team <info@ebizmarts.com>
9
- */
10
- class Ebizmarts_MageMonkey_Model_Apidebug extends Mage_Core_Model_Abstract
11
- {
12
-
13
- /**
14
- * Initialize
15
- *
16
- * @return void
17
- */
18
- public function _construct()
19
- {
20
- parent::_construct();
21
- $this->_init('monkey/apidebug');
22
- }
23
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Ebizmarts/MageMonkey/Model/BulksyncExport.php CHANGED
@@ -1,13 +1,14 @@
1
  <?php
2
 
3
-
4
  /**
5
  * Bulksync export data access model
6
  *
7
  * @category Ebizmarts
8
  * @package Ebizmarts_MageMonkey
9
  * @author Ebizmarts Team <info@ebizmarts.com>
 
10
  */
 
11
  class Ebizmarts_MageMonkey_Model_BulksyncExport extends Mage_Core_Model_Abstract
12
  {
13
 
1
  <?php
2
 
 
3
  /**
4
  * Bulksync export data access model
5
  *
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_BulksyncExport extends Mage_Core_Model_Abstract
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Model/BulksyncImport.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_BulksyncImport extends Mage_Core_Model_Abstract
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_BulksyncImport extends Mage_Core_Model_Abstract
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Model/Cache.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_Cache {
11
 
12
  /**
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_Cache {
13
 
14
  /**
app/code/community/Ebizmarts/MageMonkey/Model/Cron.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_Cron
11
  {
12
  /**
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_Cron
13
  {
14
  /**
app/code/community/Ebizmarts/MageMonkey/Model/Custom/Collection.php CHANGED
@@ -1,13 +1,14 @@
1
  <?php
2
 
3
-
4
  /**
5
  * Custom collection class for nondb data
6
  *
7
  * @category Ebizmarts
8
  * @package Ebizmarts_MageMonkey
9
  * @author Ebizmarts Team <info@ebizmarts.com>
 
10
  */
 
11
  class Ebizmarts_MageMonkey_Model_Custom_Collection
12
  extends Varien_Data_Collection
13
  {
1
  <?php
2
 
 
3
  /**
4
  * Custom collection class for nondb data
5
  *
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_Custom_Collection
13
  extends Varien_Data_Collection
14
  {
app/code/community/Ebizmarts/MageMonkey/Model/Ecommerce.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_Ecommerce extends Mage_Core_Model_Abstract
11
  {
12
  /**
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_Ecommerce extends Mage_Core_Model_Abstract
13
  {
14
  /**
app/code/community/Ebizmarts/MageMonkey/Model/Ecommerce360.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_Ecommerce360
11
  {
12
 
@@ -127,6 +129,7 @@ class Ebizmarts_MageMonkey_Model_Ecommerce360
127
  'tax' => $this->_order->getTaxAmount(),
128
  'store_id' => $this->_order->getStoreId(),
129
  'store_name' => $this->_order->getStoreName(),
 
130
  'plugin_id' => 1215,
131
  'items' => array()
132
  );
@@ -244,21 +247,14 @@ class Ebizmarts_MageMonkey_Model_Ecommerce360
244
  *
245
  *
246
  */
247
- public function autoExportJobs(){
248
- $allow_sent = false;
249
- $orderIds[] = '0';
250
- $ecommerceOrders = Mage::getModel('monkey/ecommerce')
251
- ->getCollection()->getData();
252
- if($ecommerceOrders) {
253
- foreach($ecommerceOrders as $ecommerceOrder){
254
- $orderIds[] = $ecommerceOrder['order_id'];
255
- }
256
- }
257
- $orders = Mage::getResourceModel('sales/order_collection');
258
- //Get ALL orders which has not been sent to MailChimp
259
- $orders->getSelect()->where('main_table.entity_id NOT IN(?)', $orderIds);
260
- //Get status options selected in the Configuration
261
- $states = explode(',', Mage::helper('monkey')->config('order_status'));
262
  foreach($orders as $order){
263
  foreach($states as $state){
264
  if($order->getStatus() == $state || $state == 'all_status'){
@@ -286,6 +282,7 @@ class Ebizmarts_MageMonkey_Model_Ecommerce360
286
  'tax' => $this->_order->getTaxAmount(),
287
  'store_id' => $this->_order->getStoreId(),
288
  'store_name' => $this->_order->getStoreName(),
 
289
  'plugin_id' => 1215,
290
  'items' => array()
291
  );
@@ -305,7 +302,7 @@ class Ebizmarts_MageMonkey_Model_Ecommerce360
305
  $rs = $api->ecommOrderAdd($this->_info);
306
  }
307
  $allow_sent = false;
308
- if ( $rs === TRUE ){
309
  $this->_logCall();
310
  }
311
  }
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_Ecommerce360
13
  {
14
 
129
  'tax' => $this->_order->getTaxAmount(),
130
  'store_id' => $this->_order->getStoreId(),
131
  'store_name' => $this->_order->getStoreName(),
132
+ 'order_date' => $this->_order->getCreatedAt(),
133
  'plugin_id' => 1215,
134
  'items' => array()
135
  );
247
  *
248
  *
249
  */
250
+ public function autoExportJobs(){
251
+ $allow_sent = false;
252
+ $orders = Mage::getResourceModel('sales/order_collection');
253
+ $orders->getSelect()->joinLeft( array('ecommerce'=> Mage::getSingleton('core/resource')->getTableName('monkey/ecommerce')), 'main_table.entity_id = ecommerce.order_id', 'main_table.*')->where('ecommerce.order_id is null');
254
+
255
+ //Get status options selected in the Configuration
256
+ $states = explode(',', Mage::helper('monkey')->config('order_status'));
257
+
 
 
 
 
 
 
 
258
  foreach($orders as $order){
259
  foreach($states as $state){
260
  if($order->getStatus() == $state || $state == 'all_status'){
282
  'tax' => $this->_order->getTaxAmount(),
283
  'store_id' => $this->_order->getStoreId(),
284
  'store_name' => $this->_order->getStoreName(),
285
+ 'order_date' => $this->_order->getCreatedAt(),
286
  'plugin_id' => 1215,
287
  'items' => array()
288
  );
302
  $rs = $api->ecommOrderAdd($this->_info);
303
  }
304
  $allow_sent = false;
305
+ if ( isset($rs['complete']) && $rs['complete'] == TRUE ) {
306
  $this->_logCall();
307
  }
308
  }
app/code/community/Ebizmarts/MageMonkey/Model/Email/Template.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_Email_Template extends Mage_Core_Model_Email_Template
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_Email_Template extends Mage_Core_Model_Email_Template
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Model/Feed/Updates.php CHANGED
@@ -5,8 +5,10 @@
5
  *
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
- * @author Ebizmarts <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_Feed_Updates {
11
 
12
  private $_key = 'monkey';
@@ -112,7 +114,10 @@ class Ebizmarts_MageMonkey_Model_Feed_Updates {
112
  }
113
 
114
  if (count($feedData)) {
115
- Mage::getModel('adminnotification/inbox')->parse($feedData);
 
 
 
116
  }
117
 
118
  Mage::app()->saveCache(time(), $this->_key . $resource . '_updates_feed_lastcheck');
5
  *
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
+ * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_Feed_Updates {
13
 
14
  private $_key = 'monkey';
114
  }
115
 
116
  if (count($feedData)) {
117
+ $inbox = Mage::getModel('adminnotification/inbox');
118
+ if ($inbox){
119
+ $inbox->parse($feedData);
120
+ }
121
  }
122
 
123
  Mage::app()->saveCache(time(), $this->_key . $resource . '_updates_feed_lastcheck');
app/code/community/Ebizmarts/MageMonkey/Model/MCAPI.php CHANGED
@@ -3,7 +3,12 @@
3
  /**
4
  * MailChimp API wrapper
5
  *
 
 
 
 
6
  */
 
7
  class Ebizmarts_MageMonkey_Model_MCAPI
8
  {
9
  var $version = "1.3";
3
  /**
4
  * MailChimp API wrapper
5
  *
6
+ * @category Ebizmarts
7
+ * @package Ebizmarts_MageMonkey
8
+ * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_MCAPI
13
  {
14
  var $version = "1.3";
app/code/community/Ebizmarts/MageMonkey/Model/MCEXPORTAPI.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_MCEXPORTAPI extends Ebizmarts_MageMonkey_Model_MCAPI
11
  {
12
  var $version = "1.0";
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_MCEXPORTAPI extends Ebizmarts_MageMonkey_Model_MCAPI
13
  {
14
  var $version = "1.0";
app/code/community/Ebizmarts/MageMonkey/Model/Monkey.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_Monkey {
11
  /**
12
  * Webhooks request url path
@@ -102,12 +104,15 @@ class Ebizmarts_MageMonkey_Model_Monkey {
102
  * @return void
103
  */
104
  protected function _clean(array $data) {
105
- $text = Mage::helper('monkey')->__('MailChimp Cleaned Emails: %s %s at %s reason: %s', $data['data']['email'], $data['type'], $data['fired_at'], $data['data']['reason']);
106
 
107
- $this->_getInbox()
108
- ->setTitle($text)
109
- ->setDescription($text)
110
- ->save();
 
 
 
 
111
 
112
  //Delete subscriber from Magento
113
  $s = $this->loadByEmail($data['data']['email']);
@@ -128,12 +133,16 @@ class Ebizmarts_MageMonkey_Model_Monkey {
128
  * @return void
129
  */
130
  protected function _campaign(array $data) {
131
- $text = Mage::helper('monkey')->__('MailChimp Campaign Send: %s %s at %s', $data['data']['subject'], $data['data']['status'], $data['fired_at']);
132
 
133
- $this->_getInbox()
134
- ->setTitle($text)
135
- ->setDescription($text)
136
- ->save();
 
 
 
 
 
137
  }
138
 
139
  /**
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_Monkey {
13
  /**
14
  * Webhooks request url path
104
  * @return void
105
  */
106
  protected function _clean(array $data) {
 
107
 
108
+ if(Mage::helper('monkey')->isAdminNotificationEnabled()) {
109
+ $text = Mage::helper('monkey')->__('MailChimp Cleaned Emails: %s %s at %s reason: %s', $data['data']['email'], $data['type'], $data['fired_at'], $data['data']['reason']);
110
+
111
+ $this->_getInbox()
112
+ ->setTitle($text)
113
+ ->setDescription($text)
114
+ ->save();
115
+ }
116
 
117
  //Delete subscriber from Magento
118
  $s = $this->loadByEmail($data['data']['email']);
133
  * @return void
134
  */
135
  protected function _campaign(array $data) {
 
136
 
137
+ if(Mage::helper('monkey')->isAdminNotificationEnabled()) {
138
+ $text = Mage::helper('monkey')->__('MailChimp Campaign Send: %s %s at %s', $data['data']['subject'], $data['data']['status'], $data['fired_at']);
139
+
140
+ $this->_getInbox()
141
+ ->setTitle($text)
142
+ ->setDescription($text)
143
+ ->save();
144
+ }
145
+
146
  }
147
 
148
  /**
app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Apidebug.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_Mysql4_Apidebug extends Mage_Core_Model_Mysql4_Abstract
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_Mysql4_Apidebug extends Mage_Core_Model_Mysql4_Abstract
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Apidebug/Collection.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_Mysql4_Apidebug_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_Mysql4_Apidebug_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Bulksync/Export.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_Mysql4_Bulksync_Export extends Mage_Core_Model_Mysql4_Abstract
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_Mysql4_Bulksync_Export extends Mage_Core_Model_Mysql4_Abstract
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Bulksync/Export/Collection.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_Mysql4_Bulksync_Export_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_Mysql4_Bulksync_Export_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Bulksync/Import.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_Mysql4_Bulksync_Import extends Mage_Core_Model_Mysql4_Abstract
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_Mysql4_Bulksync_Import extends Mage_Core_Model_Mysql4_Abstract
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Bulksync/Import/Collection.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_Mysql4_Bulksync_Import_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_Mysql4_Bulksync_Import_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Ecommerce.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_Mysql4_Ecommerce extends Mage_Core_Model_Mysql4_Abstract
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_Mysql4_Ecommerce extends Mage_Core_Model_Mysql4_Abstract
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Model/Mysql4/Ecommerce/Collection.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_Mysql4_Ecommerce_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_Mysql4_Ecommerce_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Model/Observer.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_Observer
11
  {
12
  /**
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_Observer
13
  {
14
  /**
app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/Account.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_System_Config_Source_Account
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_System_Config_Source_Account
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/BulksyncDatasource.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_System_Config_Source_BulksyncDatasource
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_System_Config_Source_BulksyncDatasource
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/BulksyncStatus.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_System_Config_Source_BulksyncStatus
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_System_Config_Source_BulksyncStatus
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/Checkoutsubscribe.php CHANGED
@@ -1,13 +1,14 @@
1
  <?php
2
 
3
-
4
  /**
5
  * Checkout subscribe available status options source
6
  *
7
  * @category Ebizmarts
8
  * @package Ebizmarts_MageMonkey
9
  * @author Ebizmarts Team <info@ebizmarts.com>
 
10
  */
 
11
  class Ebizmarts_MageMonkey_Model_System_Config_Source_Checkoutsubscribe
12
  {
13
  /**
1
  <?php
2
 
 
3
  /**
4
  * Checkout subscribe available status options source
5
  *
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_System_Config_Source_Checkoutsubscribe
13
  {
14
  /**
app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/CronProcessLimit.php CHANGED
@@ -1,13 +1,14 @@
1
  <?php
2
 
3
-
4
  /**
5
  * Cron Process available count limits options source
6
  *
7
  * @category Ebizmarts
8
  * @package Ebizmarts_MageMonkey
9
  * @author Ebizmarts Team <info@ebizmarts.com>
 
10
  */
 
11
  class Ebizmarts_MageMonkey_Model_System_Config_Source_CronProcessLimit
12
  {
13
  /**
1
  <?php
2
 
 
3
  /**
4
  * Cron Process available count limits options source
5
  *
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_System_Config_Source_CronProcessLimit
13
  {
14
  /**
app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/Ecommerce360.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_System_Config_Source_Ecommerce360
11
  {
12
  /**
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_System_Config_Source_Ecommerce360
13
  {
14
  /**
app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/List.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_System_Config_Source_List
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_System_Config_Source_List
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/OrderStatus.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_System_Config_Source_OrderStatus
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_System_Config_Source_OrderStatus
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/Status.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_System_Config_Source_Status
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_System_Config_Source_Status
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/TransactionalEmails.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_System_Config_Source_TransactionalEmails
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_System_Config_Source_TransactionalEmails
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Model/System/Config/Source/WebhookDelete.php CHANGED
@@ -1,13 +1,14 @@
1
  <?php
2
 
3
-
4
  /**
5
  * Webhook delete available status options source
6
  *
7
  * @category Ebizmarts
8
  * @package Ebizmarts_MageMonkey
9
  * @author Ebizmarts Team <info@ebizmarts.com>
 
10
  */
 
11
  class Ebizmarts_MageMonkey_Model_System_Config_Source_WebhookDelete
12
  {
13
  /**
1
  <?php
2
 
 
3
  /**
4
  * Webhook delete available status options source
5
  *
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_System_Config_Source_WebhookDelete
13
  {
14
  /**
app/code/community/Ebizmarts/MageMonkey/Model/TransactionalEmail/Adapter.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_TransactionalEmail_Adapter
11
  {
12
  const ADAPTER_STS = 'sts';
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_TransactionalEmail_Adapter
13
  {
14
  const ADAPTER_STS = 'sts';
app/code/community/Ebizmarts/MageMonkey/Model/TransactionalEmail/MANDRILL.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_TransactionalEmail_MANDRILL
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_TransactionalEmail_MANDRILL
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/Model/TransactionalEmail/STS.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Model_TransactionalEmail_STS
11
  {
12
  /**
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Model_TransactionalEmail_STS
13
  {
14
  /**
app/code/community/Ebizmarts/MageMonkey/controllers/Adminhtml/BulksyncController.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Adminhtml_BulksyncController extends Mage_Adminhtml_Controller_Action
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Adminhtml_BulksyncController extends Mage_Adminhtml_Controller_Action
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/controllers/Adminhtml/EcommerceController.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Adminhtml_EcommerceController extends Mage_Adminhtml_Controller_Action
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Adminhtml_EcommerceController extends Mage_Adminhtml_Controller_Action
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/controllers/Adminhtml/TransactionalemailController.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Adminhtml_TransactionalemailController extends Mage_Adminhtml_Controller_Action
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Adminhtml_TransactionalemailController extends Mage_Adminhtml_Controller_Action
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/controllers/Customer/AccountController.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_Customer_AccountController extends Mage_Core_Controller_Front_Action
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_Customer_AccountController extends Mage_Core_Controller_Front_Action
13
  {
14
 
app/code/community/Ebizmarts/MageMonkey/controllers/SignupController.php CHANGED
@@ -1,5 +1,13 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
3
  class Ebizmarts_MageMonkey_SignupController extends Mage_Core_Controller_Front_Action
4
  {
5
 
1
  <?php
2
 
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_MageMonkey
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
  class Ebizmarts_MageMonkey_SignupController extends Mage_Core_Controller_Front_Action
12
  {
13
 
app/code/community/Ebizmarts/MageMonkey/controllers/WebhookController.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_MageMonkey_WebhookController extends Mage_Core_Controller_Front_Action
11
  {
12
 
@@ -26,7 +28,7 @@ class Ebizmarts_MageMonkey_WebhookController extends Mage_Core_Controller_Front_
26
  ->sendResponse();
27
  return $this;
28
  }
29
-
30
  Mage::helper('monkey')->log( print_r($this->getRequest()->getPost(), true) );
31
 
32
  Mage::app()->setCurrentStore(Mage::app()->getDefaultStoreView());
@@ -36,10 +38,15 @@ class Ebizmarts_MageMonkey_WebhookController extends Mage_Core_Controller_Front_
36
 
37
  //Validate "wkey" GET parameter
38
  if ($this->getRequest()->getPost('type')) {
39
- Mage::getModel('monkey/monkey')->processWebhookData($this->getRequest()->getPost());
40
  } else {
41
- Mage::helper('monkey')->log($this->__('WebHook Key invalid! Key Request: %s. My Key: %s', $requestKey, $myKey));
42
- }
 
 
 
 
 
43
 
44
 
45
  }
6
  * @category Ebizmarts
7
  * @package Ebizmarts_MageMonkey
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_MageMonkey_WebhookController extends Mage_Core_Controller_Front_Action
13
  {
14
 
28
  ->sendResponse();
29
  return $this;
30
  }
31
+
32
  Mage::helper('monkey')->log( print_r($this->getRequest()->getPost(), true) );
33
 
34
  Mage::app()->setCurrentStore(Mage::app()->getDefaultStoreView());
38
 
39
  //Validate "wkey" GET parameter
40
  if ($this->getRequest()->getPost('type')) {
41
+ Mage::getModel('monkey/monkey')->processWebhookData($this->getRequest()->getPost());
42
  } else {
43
+ if($myKey != $requestKey) {
44
+ Mage::helper('monkey')->log($this->__('Webhook Key invalid! Key Request: %s - My Key: %s', $requestKey, $myKey));
45
+ }
46
+
47
+ Mage::helper('monkey')->log($this->__('Webhook call ended'));
48
+ }
49
+
50
 
51
 
52
  }
app/code/community/Ebizmarts/MageMonkey/etc/config.xml CHANGED
@@ -1,8 +1,16 @@
1
  <?xml version="1.0"?>
 
 
 
 
 
 
 
 
2
  <config>
3
  <modules>
4
  <Ebizmarts_MageMonkey>
5
- <version>1.1.19</version>
6
  </Ebizmarts_MageMonkey>
7
  </modules>
8
  <global>
1
  <?xml version="1.0"?>
2
+ <!--
3
+ Configuration file for Ebizmarts_MageMonkey module, touch at you entire responsibility
4
+
5
+ @category Ebizmarts
6
+ @package Ebizmarts_MageMonkey
7
+ @author Ebizmarts Team <info@ebizmarts.com>
8
+ @license http://opensource.org/licenses/osl-3.0.php
9
+ -->
10
  <config>
11
  <modules>
12
  <Ebizmarts_MageMonkey>
13
+ <version>1.1.21</version>
14
  </Ebizmarts_MageMonkey>
15
  </modules>
16
  <global>
app/code/community/Ebizmarts/MageMonkey/etc/system.xml CHANGED
@@ -1,4 +1,12 @@
1
  <?xml version="1.0"?>
 
 
 
 
 
 
 
 
2
  <config>
3
  <tabs>
4
  <monkey translate="label" module="monkey">
@@ -204,11 +212,21 @@
204
  <show_in_store>1</show_in_store>
205
  <comment></comment>
206
  </webhook_delete>
 
 
 
 
 
 
 
 
 
 
207
  <enable_log translate="label comment">
208
  <label>Enable Log</label>
209
  <frontend_type>select</frontend_type>
210
  <source_model>adminhtml/system_config_source_yesno</source_model>
211
- <sort_order>124</sort_order>
212
  <show_in_default>1</show_in_default>
213
  <show_in_website>0</show_in_website>
214
  <show_in_store>1</show_in_store>
1
  <?xml version="1.0"?>
2
+ <!--
3
+ Configuration file for Ebizmarts_MageMonkey module, touch at you entire responsibility
4
+
5
+ @category Ebizmarts
6
+ @package Ebizmarts_MageMonkey
7
+ @author Ebizmarts Team <info@ebizmarts.com>
8
+ @license http://opensource.org/licenses/osl-3.0.php
9
+ -->
10
  <config>
11
  <tabs>
12
  <monkey translate="label" module="monkey">
212
  <show_in_store>1</show_in_store>
213
  <comment></comment>
214
  </webhook_delete>
215
+ <adminhtml_notification translate="label comment">
216
+ <label>Show Admin Notifications</label>
217
+ <frontend_type>select</frontend_type>
218
+ <source_model>adminhtml/system_config_source_yesno</source_model>
219
+ <sort_order>124</sort_order>
220
+ <show_in_default>1</show_in_default>
221
+ <show_in_website>0</show_in_website>
222
+ <show_in_store>1</show_in_store>
223
+ <comment>Notifications related to campaigns sent, cleaned emails, etc</comment>
224
+ </adminhtml_notification>
225
  <enable_log translate="label comment">
226
  <label>Enable Log</label>
227
  <frontend_type>select</frontend_type>
228
  <source_model>adminhtml/system_config_source_yesno</source_model>
229
+ <sort_order>125</sort_order>
230
  <show_in_default>1</show_in_default>
231
  <show_in_website>0</show_in_website>
232
  <show_in_store>1</show_in_store>
app/code/community/Ebizmarts/Mandrill/Block/Adminhtml/System/Config/Fieldset/Hint.php CHANGED
@@ -1,5 +1,13 @@
1
  <?php
2
 
 
 
 
 
 
 
 
 
3
  class Ebizmarts_Mandrill_Block_Adminhtml_System_Config_Fieldset_Hint
4
  extends Mage_Adminhtml_Block_Abstract
5
  implements Varien_Data_Form_Element_Renderer_Interface {
1
  <?php
2
 
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Mandrill
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+
11
  class Ebizmarts_Mandrill_Block_Adminhtml_System_Config_Fieldset_Hint
12
  extends Mage_Adminhtml_Block_Abstract
13
  implements Varien_Data_Form_Element_Renderer_Interface {
app/code/community/Ebizmarts/Mandrill/Block/Adminhtml/System/Config/Userinfo.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_Mandrill
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_Mandrill_Block_Adminhtml_System_Config_Userinfo
11
  extends Mage_Adminhtml_Block_System_Config_Form_Field {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_Mandrill
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_Mandrill_Block_Adminhtml_System_Config_Userinfo
13
  extends Mage_Adminhtml_Block_System_Config_Form_Field {
14
 
app/code/community/Ebizmarts/Mandrill/Block/Adminhtml/Users/Senders.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_Mandrill
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_Mandrill_Block_Adminhtml_Users_Senders extends Mage_Adminhtml_Block_Widget_Grid_Container
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_Mandrill
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_Mandrill_Block_Adminhtml_Users_Senders extends Mage_Adminhtml_Block_Widget_Grid_Container
13
  {
14
 
app/code/community/Ebizmarts/Mandrill/Block/Adminhtml/Users/Senders/Grid.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_Mandrill
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_Mandrill_Block_Adminhtml_Users_Senders_Grid extends Mage_Adminhtml_Block_Widget_Grid
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_Mandrill
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_Mandrill_Block_Adminhtml_Users_Senders_Grid extends Mage_Adminhtml_Block_Widget_Grid
13
  {
14
 
app/code/community/Ebizmarts/Mandrill/Helper/Data.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_Mandrill
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_Mandrill_Helper_Data extends Mage_Core_Helper_Abstract {
11
 
12
  private $_configPath = 'mandrill/general/';
6
  * @category Ebizmarts
7
  * @package Ebizmarts_Mandrill
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_Mandrill_Helper_Data extends Mage_Core_Helper_Abstract {
13
 
14
  private $_configPath = 'mandrill/general/';
app/code/community/Ebizmarts/Mandrill/Model/Customcollection.php CHANGED
@@ -1,13 +1,14 @@
1
  <?php
2
 
3
-
4
  /**
5
  * Custom collection class for nondb data
6
  *
7
  * @category Ebizmarts
8
  * @package Ebizmarts_Mandrill
9
  * @author Ebizmarts Team <info@ebizmarts.com>
 
10
  */
 
11
  class Ebizmarts_Mandrill_Model_Customcollection extends Varien_Data_Collection {
12
 
13
  /**
1
  <?php
2
 
 
3
  /**
4
  * Custom collection class for nondb data
5
  *
6
  * @category Ebizmarts
7
  * @package Ebizmarts_Mandrill
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_Mandrill_Model_Customcollection extends Varien_Data_Collection {
13
 
14
  /**
app/code/community/Ebizmarts/Mandrill/Model/Email/Template.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_Mandrill
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_Mandrill_Model_Email_Template extends Mage_Core_Model_Email_Template {
11
 
12
  protected $_mandrill = null;
6
  * @category Ebizmarts
7
  * @package Ebizmarts_Mandrill
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_Mandrill_Model_Email_Template extends Mage_Core_Model_Email_Template {
13
 
14
  protected $_mandrill = null;
app/code/community/Ebizmarts/Mandrill/Model/System/Config/Source/Userinfo.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_Mandrill
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_Mandrill_Model_System_Config_Source_Userinfo
11
  {
12
 
6
  * @category Ebizmarts
7
  * @package Ebizmarts_Mandrill
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_Mandrill_Model_System_Config_Source_Userinfo
13
  {
14
 
app/code/community/Ebizmarts/Mandrill/controllers/Adminhtml/Mandrill/UsersController.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_Mandrill
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Ebizmarts_Mandrill_Adminhtml_Mandrill_UsersController extends Mage_Adminhtml_Controller_Action {
11
 
12
  /**
6
  * @category Ebizmarts
7
  * @package Ebizmarts_Mandrill
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Ebizmarts_Mandrill_Adminhtml_Mandrill_UsersController extends Mage_Adminhtml_Controller_Action {
13
 
14
  /**
app/code/community/Ebizmarts/Mandrill/etc/adminhtml.xml CHANGED
@@ -18,6 +18,15 @@
18
  </email_template>
19
  </children>
20
  </system>
 
 
 
 
 
 
 
 
 
21
  </menu>
22
  <acl>
23
  <resources>
18
  </email_template>
19
  </children>
20
  </system>
21
+ <newsletter>
22
+ <children>
23
+ <ebizmarts_mandrill>
24
+ <title>Mandrill Settings</title>
25
+ <sort_order>999</sort_order>
26
+ <action>adminhtml/system_config/edit/section/mandrill</action>
27
+ </ebizmarts_mandrill>
28
+ </children>
29
+ </newsletter>
30
  </menu>
31
  <acl>
32
  <resources>
app/code/community/Ebizmarts/Mandrill/etc/config.xml CHANGED
@@ -1,4 +1,12 @@
1
  <?xml version="1.0"?>
 
 
 
 
 
 
 
 
2
  <config>
3
  <modules>
4
  <Ebizmarts_Mandrill>
@@ -66,16 +74,6 @@
66
  </Ebizmarts_Mandrill>
67
  </modules>
68
  </translate>
69
- <events>
70
- <admin_system_config_changed_section_mandrill>
71
- <observers>
72
- <mandrill_save_config>
73
- <class>ebizmarts_autoresponder/eventObserver</class>
74
- <method>saveConfig</method>
75
- </mandrill_save_config>
76
- </observers>
77
- </admin_system_config_changed_section_mandrill>
78
- </events>
79
  </adminhtml>
80
  <default>
81
  <mandrill>
1
  <?xml version="1.0"?>
2
+ <!--
3
+ Configuration file for Ebizmarts_Mandrill module, touch at you entire responsibility
4
+
5
+ @category Ebizmarts
6
+ @package Ebizmarts_Mandrill
7
+ @author Ebizmarts Team <info@ebizmarts.com>
8
+ @license http://opensource.org/licenses/osl-3.0.php
9
+ -->
10
  <config>
11
  <modules>
12
  <Ebizmarts_Mandrill>
74
  </Ebizmarts_Mandrill>
75
  </modules>
76
  </translate>
 
 
 
 
 
 
 
 
 
 
77
  </adminhtml>
78
  <default>
79
  <mandrill>
app/code/community/Ebizmarts/Mandrill/etc/system.xml CHANGED
@@ -1,4 +1,12 @@
1
  <?xml version="1.0"?>
 
 
 
 
 
 
 
 
2
  <config>
3
  <sections>
4
  <mandrill translate="label" module="mandrill">
1
  <?xml version="1.0"?>
2
+ <!--
3
+ Configuration file for Ebizmarts_Mandrill module, touch at you entire responsibility
4
+
5
+ @category Ebizmarts
6
+ @package Ebizmarts_Mandrill
7
+ @author Ebizmarts Team <info@ebizmarts.com>
8
+ @license http://opensource.org/licenses/osl-3.0.php
9
+ -->
10
  <config>
11
  <sections>
12
  <mandrill translate="label" module="mandrill">
app/design/adminhtml/default/default/template/ebizmarts/abandonedcart/dashboard/totalbar.phtml CHANGED
@@ -29,7 +29,7 @@
29
  extension and configure <a class="action-link-holder" href="http://mandrill.com/signup/?pid=ebizmart&source=website" target="_blank">Mandrill</a> is free
30
  </div>
31
  <?php else: ?>
32
- <?php if(Mage::getConfig()->getNode()->modules->Ebizmarts_Mandrill->version < '1.0.5'): ?>
33
  <div class="warning-msg">
34
  You may obtain more statistics if you upgrade your <a class="action-link" href="http://www.magentocommerce.com/magento-connect/mage-monkey-mailchimp-integration-4865.html" target="_blank">Ebizmarts_Magemonkey</a>
35
  extension to 1.0.5 or up and configure <a class="action-link-holder" href="http://mandrill.com/signup/?pid=ebizmart&source=website" target="_blank">Mandrill</a> is free
29
  extension and configure <a class="action-link-holder" href="http://mandrill.com/signup/?pid=ebizmart&source=website" target="_blank">Mandrill</a> is free
30
  </div>
31
  <?php else: ?>
32
+ <?php if(version_compare(Mage::getConfig()->getNode()->modules->Ebizmarts_Mandrill->version, '1.0.5', '<')): ?>
33
  <div class="warning-msg">
34
  You may obtain more statistics if you upgrade your <a class="action-link" href="http://www.magentocommerce.com/magento-connect/mage-monkey-mailchimp-integration-4865.html" target="_blank">Ebizmarts_Magemonkey</a>
35
  extension to 1.0.5 or up and configure <a class="action-link-holder" href="http://mandrill.com/signup/?pid=ebizmart&source=website" target="_blank">Mandrill</a> is free
app/design/adminhtml/default/default/template/ebizmarts/autoresponder/system/config/backtostock/fieldset/hint.phtml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?php if(!Mage::getStoreConfig('cataloginventory/options/show_out_of_stock')) : ?>
2
+ <div class="box error-msg" style="padding-left:30px;">
3
+ <a href="<?php echo Mage::helper('adminhtml')->getUrl('/system_config/edit',array('section'=>'cataloginventory')); ?>">Manage your Catalog Inventory options</a>.<br/>
4
+ You must activate "Display Out of Stock Products" in System->Configuration->Catalog->Inventory->Stock Options->Display Out of Stock Products
5
+ </div>
6
+ <?php endif; ?>
app/design/adminhtml/default/default/template/mandrill/.DS_Store ADDED
Binary file
app/design/adminhtml/default/default/template/mandrill/system/.DS_Store ADDED
Binary file
app/design/adminhtml/default/default/template/mandrill/system/config/.DS_Store ADDED
Binary file
app/design/frontend/base/default/layout/ebizmarts/autoresponder.xml CHANGED
@@ -60,4 +60,17 @@
60
  <!--review_product_list>
61
  <update handle="ebizmarts_review_form"></update>
62
  </review_product_list-->
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  </layout>
60
  <!--review_product_list>
61
  <update handle="ebizmarts_review_form"></update>
62
  </review_product_list-->
63
+
64
+ <catalog_product_view>
65
+ <reference name="content">
66
+ <reference name="product.info">
67
+ <reference name="alert.urls">
68
+ <block type="ebizmarts_autoresponder/backtostock_notice" name="backtostock.notice" as="backtostock_notice" template="ebizmarts/autoresponder/backtostock/catalog/product/notice.phtml" />
69
+ </reference>
70
+ </reference>
71
+ <reference name="product.info.additional">
72
+ <block type="ebizmarts_autoresponder/backtostock_notice" name="backtostock.form" as="backtostock_form" template="ebizmarts/autoresponder/backtostock/catalog/product/form.phtml" />
73
+ </reference>
74
+ </reference>
75
+ </catalog_product_view>
76
  </layout>
app/design/frontend/base/default/template/ebizmarts/autoresponder/backtostock/catalog/product/form.phtml ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+ ?>
11
+
12
+ <?php
13
+ $_product = $this->getProduct();
14
+ $formAction = $this->getSubscribeUrl();
15
+ ?>
16
+ <?php if($_product && !$_product->getStockItem()->getIsInStock()): ?>
17
+
18
+ <?php if( $this->isLoggedIn() || (!$this->isLoggedIn() && Mage::helper('ebizmarts_autoresponder')->isBacktoStockEnabledForGuest()) ): ?>
19
+
20
+ <div class="box-collateral block-autoresponder-backtostock" style="padding: 20px 0 0;">
21
+ <div class="form-add">
22
+ <form id="backtostock_form" action="<?php echo $formAction?>" method="post">
23
+ <div>
24
+ <h2><?php echo $this->__('Get notified !'); ?></h2>
25
+ <p><?php echo $this->__('Subscribe to receive an email as soon as this product become available again!'); ?></p>
26
+ <ul class="form-list">
27
+ <li>
28
+ <label for="subscriber_email"><?php echo $this->__('Enter your email address');?></label>
29
+ <div class="input-box">
30
+ <?php $email = $this->isLoggedIn() ? Mage::getSingleton('customer/session')->getCustomer()->getEmail() : ''; ?>
31
+ <input type="text" class="input-text validate-email required-entry" name="subscriber_email" id="subscriber_email" size="35" value="<?php echo $email; ?>" />
32
+ </div>
33
+ </li>
34
+ </ul>
35
+ <button type="submit" class="button" title="<?php echo $this->__('Subscribe'); ?>">
36
+ <span>
37
+ <span><?php echo $this->__('Subscribe'); ?></span>
38
+ </span>
39
+ </button>
40
+ <input type="hidden" name="redirect_url" value="<?php echo $_product->getProductUrl(); ?>" />
41
+ <input type="hidden" name="product_id" value="<?php echo $_product->getId(); ?>" />
42
+ </div>
43
+ </form>
44
+ </div>
45
+ </div>
46
+
47
+ <script type="text/javascript">
48
+ //<![CDATA[
49
+ var dataForm = new VarienForm('backtostock_form', false);
50
+
51
+ function btsShowForm() { $('backtostock_form').scrollTo(); }
52
+ //]]>
53
+ </script>
54
+
55
+ <?php endif; ?>
56
+
57
+ <?php endif; ?>
app/design/frontend/base/default/template/ebizmarts/autoresponder/backtostock/catalog/product/notice.phtml ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ *
5
+ * @category Ebizmarts
6
+ * @package Ebizmarts_Autoresponder
7
+ * @author Ebizmarts Team <info@ebizmarts.com>
8
+ * @license http://opensource.org/licenses/osl-3.0.php
9
+ */
10
+ ?>
11
+
12
+ <?php
13
+ $_product = $this->getProduct();
14
+ $formAction = $this->getSubscribeUrl();
15
+ ?>
16
+ <?php if($_product && !$_product->getStockItem()->getIsInStock()): ?>
17
+
18
+ <?php if($this->isLoggedIn() || (!$this->isLoggedIn() && Mage::helper('ebizmarts_autoresponder')->isBacktoStockEnabledForGuest()) ): ?>
19
+ <div class="box-collateral block-autoresponder-backtostock">
20
+ <div class="form-add">
21
+ <a href="#" onclick="btsShowForm(); return false;"><?php echo $this->__('Sign up to be notified when this product is back to stock'); ?></a>
22
+ </div>
23
+ </div>
24
+ <?php endif; ?>
25
+
26
+ <?php endif; ?>
app/design/frontend/base/default/template/ebizmarts/autoresponder/backtostock/item.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php $product = $this->getProduct(); ?>
2
+ <table cellspacing="0" cellpadding="0" border="0" width="650" style="border:1px solid #EAEAEA;">
3
+ <?php if($product): ?>
4
+ <tr>
5
+ <?php $parentId = Mage::getModel('catalog/product_type_configurable')->getParentIdsByChild($product->getId());
6
+ if(isset($parentId[0])) {
7
+ $product = Mage::getModel('catalog/product')->load($parentId[0]);
8
+ }
9
+ ?>
10
+
11
+ <td valign="top" align="left" style="padding:3px 9px">
12
+ <a href="<?php echo $product->getProductUrl(); ?>" alt="<?php echo $this->escapeHtml($product->getName()); ?>" target="_blank">
13
+ <img src="<?php echo $product->getThumbnailUrl();?>" alt="<?php echo $this->escapeHtml($product->getName()); ?>"/>
14
+ </a>
15
+ </td>
16
+ <td valign="top" align="left" style="padding:3px 9px">
17
+ <p><h2><a href="<?php echo $product->getProductUrl(); ?>"><?php echo $this->escapeHtml($product->getName()); ?></a></h2></p>
18
+ <?php echo $this->escapeHtml($product->getShortDescription()); ?>
19
+ </td>
20
+ </tr>
21
+ <tr>
22
+ <td colspan="2" align="center">
23
+ <strong><a href="<?php echo $product->getProductUrl(); ?>" title="<?php echo $this->escapeHtml($product->getName()); ?>"><?php echo $this->__('Go to product\'s page now!');?></a></strong>
24
+ </td>
25
+ </tr>
26
+ <?php endif; ?>
27
+ </table>
app/locale/en_US/template/email/ebizmarts/autoresponder/backtostock.html ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <body style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;">
2
+ <div style="background:#F6F6F6; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; margin:0; padding:0;">
3
+ <table cellspacing="0" cellpadding="0" border="0" width="100%">
4
+ <tr>
5
+ <td align="center" valign="top" style="padding:20px 0 20px 0">
6
+ <table bgcolor="#FFFFFF" cellspacing="0" cellpadding="10" border="0" width="650" style="border:1px solid #E0E0E0;">
7
+ <!-- [ header starts here] -->
8
+ <tr>
9
+ <td valign="top"><a href="{{store url=""}}"><img src="{{skin url="images/logo_email.gif" _area='frontend'}}" alt="{{var store.getFrontendName()}}" style="margin-bottom:10px;" border="0"/></a></td>
10
+ </tr>
11
+ <!-- [ middle starts here] -->
12
+ <tr>
13
+ <td valign="top">
14
+ <h1 style="font-size:22px; font-weight:normal; line-height:22px; margin:0 0 11px 0;"">Hello, {{htmlescape var=$name}}</h1>
15
+ <p style="font-size:12px; line-height:16px; margin:0;">
16
+ <p>You have subscribed to receive this notification when a product become available in our store.</p>
17
+ <p>If you have any questions about your order please contact us at <a href="mailto:{{config path='trans_email/ident_support/email'}}" style="color:#1E7EC8;">{{config path='trans_email/ident_support/email'}}</a> or call us at <span class="nobr">{{config path='general/store_information/phone'}}</span> Monday - Friday, 8am - 5pm PST.</p>
18
+ </p>
19
+ </td>
20
+ </tr>
21
+ <tr>
22
+ <td>
23
+ {{block type='ebizmarts_autoresponder/email_backtostock_item' area='frontend' template='ebizmarts/autoresponder/backtostock/item.phtml' product=$product}}
24
+ </td>
25
+ </tr>
26
+ <tr>
27
+ <td bgcolor="#EAEAEA" align="center" style="background:#EAEAEA; text-align:center;"><center><p style="font-size:12px; margin:0;">Thank you, <strong>{{var store.getFrontendName()}}</strong></p></center></td>
28
+ </tr>
29
+ </table>
30
+ </td>
31
+ </tr>
32
+ </table>
33
+ </div>
34
+ </body>
js/ebizmarts/autoresponders/visitedproducts.js CHANGED
@@ -1,21 +1,37 @@
1
- function markVisited(productID) {
2
- new Ajax.Request('../index.php/ebizautoresponder/autoresponder/markVisitedProducts?product_id='+productID, { method:'get', onSuccess: function(transport){
3
- }
4
- });
5
- }
6
- (function() {
7
- var cb = function() {
8
- var productID = $$('input[name^=product]').first().value;
9
- new Ajax.Request('/ebizautoresponder/autoresponder/getVisitedProductsConfig?product_id='+productID, { method:'get', onSuccess: function(transport){
10
- if(transport.responseJSON.time > -1) {
11
- markVisited.delay(transport.responseJSON.time,productID);
12
- }
13
  }
14
  });
15
- };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  if (document.loaded) {
17
  cb();
18
  } else {
19
  document.observe('dom:loaded', cb);
20
  }
 
21
  })();
1
+ /*!
2
+ * Ebizmarts_MageMonkey
3
+ * @copyright Copyright Ebizmarts
4
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
5
+ *
6
+ */
7
+ (function () {
8
+ function markVisited(productID) {
9
+ new Ajax.Request('../index.php/ebizautoresponder/autoresponder/markVisitedProducts?product_id=' + productID, {
10
+ method: 'get',
11
+ onSuccess: function (transport) {
 
12
  }
13
  });
14
+ }
15
+
16
+ var cb = function () {
17
+ var $product = $$('input[name^=product]').first(),
18
+ productID = '';
19
+ if ($product) {
20
+ productID = $product.value;
21
+ new Ajax.Request('/ebizautoresponder/autoresponder/getVisitedProductsConfig?product_id=' + productID, {
22
+ method: 'get',
23
+ onSuccess: function (transport) {
24
+ if (transport.responseJSON.time > -1) {
25
+ markVisited.delay(transport.responseJSON.time, productID);
26
+ }
27
+ }
28
+ });
29
+ }
30
+ }
31
  if (document.loaded) {
32
  cb();
33
  } else {
34
  document.observe('dom:loaded', cb);
35
  }
36
+ // window.markVisited = markVisited;
37
  })();
lib/Mandrill/API.php CHANGED
@@ -6,7 +6,9 @@
6
  * @category Ebizmarts
7
  * @package Ebizmarts_Mandrill
8
  * @author Ebizmarts Team <info@ebizmarts.com>
 
9
  */
 
10
  class Mandrill_API {
11
 
12
  /**
6
  * @category Ebizmarts
7
  * @package Ebizmarts_Mandrill
8
  * @author Ebizmarts Team <info@ebizmarts.com>
9
+ * @license http://opensource.org/licenses/osl-3.0.php
10
  */
11
+
12
  class Mandrill_API {
13
 
14
  /**
package.xml CHANGED
@@ -1,215 +1,31 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Ebizmarts_MageMonkey</name>
4
- <version>1.1.20</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>MailChimp integration for Magento by Ebizmarts</summary>
10
  <description>Full MailChimp integration, automatic webhooks, multiple lists, interest groups</description>
11
- <notes>-- version 1.1.20 stable&#xD;
12
- - Fix visited product javascript issue&#xD;
13
- - Fix for template design in multistore website&#xD;
14
- - Add Order State attribute in product review autoresponder&#xD;
15
- - Add Order State attribute in product related autoresponder &#xD;
16
- - Fix ebizmarts_mark_visited product attribute (make it user_defined)&#xD;
17
- - Fix for es wrong default store&#xD;
18
- - Fix for product name and description in autoresponders templates&#xD;
19
- - New facility, coupons for reviews&#xD;
20
- - Fix to hide Header title of hidden groups&#xD;
21
- - Changed mergeVars() validation for firstname/lastname. Now are evaluated separately.&#xD;
22
- - Fix $email variable for related products. it was not retrieving and validating isSubscribed&#xD;
23
- - Mandrill fix for allow multiple bcc&#xD;
24
- &#xD;
25
- -- version 1.1.19 stable&#xD;
26
- - add browsed products autoresponder&#xD;
27
- &#xD;
28
- -- version 1.1.18 stable&#xD;
29
- - new facility to redirect abandoned cart to cms page&#xD;
30
- - fix for autoresonders, configurable products in review email&#xD;
31
- &#xD;
32
- -- version 1.1.17 stable&#xD;
33
- - add token to abandoned cart url for security&#xD;
34
- &#xD;
35
- -- version 1.1.16 stable&#xD;
36
- - fix for abandoned cart when a logged customer abandon an order and make this order as guess&#xD;
37
- - introduce autologin feature for abandoned carts&#xD;
38
- &#xD;
39
- -- version 1.1.15 stable&#xD;
40
- - fix for abandoned cart cron configuration&#xD;
41
- &#xD;
42
- -- version 1.1.14 stable&#xD;
43
- - Add grid for sent email (autoresponder and abandoned carts)&#xD;
44
- - Minor fix for mandrill tags&#xD;
45
- &#xD;
46
- -- version 1.1.13 stable&#xD;
47
- - Fix for mandrill tags&#xD;
48
- - Fix for autoresponders admin configuration&#xD;
49
- &#xD;
50
- -- version 1.1.12 stable&#xD;
51
- - Fix for autoresponders&#xD;
52
- &#xD;
53
- -- version 1.1.11 stable&#xD;
54
- - fix for abandoned carts&#xD;
55
- -- fix for multistore templates&#xD;
56
- - first release of autoresponders&#xD;
57
- &#xD;
58
- &#xD;
59
- -- version 1.1.10 stable&#xD;
60
- - fix for abandondedcart dashboard&#xD;
61
- &#xD;
62
- -- version 1.1.9 stable&#xD;
63
- - Fix for mandrill tags&#xD;
64
- &#xD;
65
- -- version 1.1.8 stable&#xD;
66
- - Fix render group errors when user it's guest&#xD;
67
- - Improve merge var to get address fields&#xD;
68
- - Fix Bulk Sync import functionality when we create new customers in case doesn't exist&#xD;
69
- - Fix dashboard in abandoned cart&#xD;
70
- - Fix database definition in abandoned cart&#xD;
71
- - Add logs in abandoned cart settings&#xD;
72
- - Fix for tags in abandoned carts mandrill&#xD;
73
- - Add subject email to the admin in abandoned cart&#xD;
74
- &#xD;
75
- -- version 1.17 stable&#xD;
76
- - Add customer groups to abandoned cart&#xD;
77
- - Fix abandoned cart orders grid&#xD;
78
- - Fix for unsuscribe&#xD;
79
- &#xD;
80
- -- version 1.1.6 stable&#xD;
81
- - Improve Abandoned Cart template (add tax, skus in configurable/bundle products)&#xD;
82
- - Add option to send abandoned cart emails By Days/Hours&#xD;
83
- - Add new Ecommerce360 option to send orders to MailChimp (By Cron depending on the Orders Status)&#xD;
84
- - Fix Wrong Store Name display error on BulkSync exports&#xD;
85
- - Posibility to Delete Ecommerce360 Orders in Magento (Not in MailChimp)&#xD;
86
- - Improve data Sync between Magento -&gt; MailChimp (add telephone and company) Send Billing and Shipping address on Exports&#xD;
87
- - Show interest groups on Checkout in case has enable the subscribe on checkout&#xD;
88
- - Add createAtachment and addTo in the Emails functionality&#xD;
89
- &#xD;
90
- -- version 1.1.5 stable&#xD;
91
- - Fix for abandoned cart, enable to put a specific coupon created on magento&#xD;
92
- &#xD;
93
- -- version 1.1.4 stable&#xD;
94
- - Fix for abandoned cart multi store management&#xD;
95
- - Fix for abandoned cart not send email for a quote who has an order posterior from the same customer&#xD;
96
- &#xD;
97
- -- version 1.1.3 stable&#xD;
98
- - Support for mandrill attachments&#xD;
99
- &#xD;
100
- -- version 1.1.2 stable&#xD;
101
- - Fix for abandoned cart, coupon qty &gt; 1 for the same product&#xD;
102
- - Fix for abandoned cart, customer name in email&#xD;
103
- - Fix for abandoned cart, cart content in email&#xD;
104
- - Fix for database with prefix&#xD;
105
- &#xD;
106
- -- version 1.1.1 stable&#xD;
107
- - Adding configuration field to Start Date for abandoned carts&#xD;
108
- - Add abandonedflag to sales_flat_order&#xD;
109
- - Change for magento 1.4.2 and 1.5.*&#xD;
110
- &#xD;
111
- -- version 1.1.0 stable&#xD;
112
- &#xD;
113
- - Adding abandoned order manager (beta)&#xD;
114
- &#xD;
115
- -- version 1.0.22 stable&#xD;
116
- &#xD;
117
- - Adding Oauth2 support to connect MageMonkey with MailChimp&#xD;
118
- - Fallback on setReplyTo in Mandrill when transactional email is not enabled&#xD;
119
- - addBcc Fix on Mandrill&#xD;
120
- &#xD;
121
- -- version 1.0.21 stable&#xD;
122
- &#xD;
123
- - Fix duplicated confirmation email notifications&#xD;
124
- - Add success message when customer register from the "My Account" section&#xD;
125
- - Add mass action option to Sales -&gt; Order grid in admin panel to send orders to MC&#xD;
126
- - Fix Mandrill_API::addTo() and Mandrill_API::replyTo() issues in the Mandrill module&#xD;
127
- - Add version information in the configuration for the Mandrill module&#xD;
128
- &#xD;
129
- -- version 1.0.19 stable&#xD;
130
- &#xD;
131
- - Fix automatic unsubscribe issue when users create orders from backend&#xD;
132
- - Adding BCC support for Mandrill Emails&#xD;
133
- - Remove enconding from subject for Mandrill Emails&#xD;
134
- - Add tags in emails sent from Mandrill&#xD;
135
- &#xD;
136
- -- version 1.0.18 stable&#xD;
137
- &#xD;
138
- Independence between MageMonkey and Mandrill modules&#xD;
139
- &#xD;
140
- -- version 1.0.17 stable&#xD;
141
- &#xD;
142
- -Fix "unsubscribe" when place an order &#xD;
143
- &#xD;
144
- -- version 1.0.16 stable&#xD;
145
- &#xD;
146
- - Fix progress bar on export function &#xD;
147
- - Add option in admin for limit of customers per round for export and import and delete customers in Magento when are removed in MailChimp&#xD;
148
- - Fix unsubscribe on edit customer from the admin panel&#xD;
149
- - Add version in the config&#xD;
150
- - Fix "Fatal error: Cannot use string offset as an array"&#xD;
151
- &#xD;
152
- -- version 1.0.15 stable&#xD;
153
- &#xD;
154
- - fix rendering of additional lists html elements&#xD;
155
- - Fix force subscription on checkout when use a payment method wich redirects to a payment page like PayPal Express Checkout.&#xD;
156
- &#xD;
157
- -- version 1.0.14 stable&#xD;
158
- Fix Export functionality, only customers with status "subscribed" are exported now.&#xD;
159
- Increase the limit of customers for exports from 200 to 1000 per hour&#xD;
160
- Fix bug in unsubscribe customers.&#xD;
161
- Send email confirmation in double opt-in is not used.&#xD;
162
- Improve the save configuration proccess, add warnings, remove blank messages, improve the auto save webhooks in MailChimp.&#xD;
163
- Fix force subscription on checkout when use a payment method wich redirects to a payment page like PayPal Express Checkout.&#xD;
164
- Add new help links in the configuration ("What's MailChimp my IP Key?" and "How to segment your list based on your customers purchase activity").&#xD;
165
- Don't display additional lists newsletter block on checkout when there are no additional lists selected&#xD;
166
- &#xD;
167
- -- version 1.0.13 stable&#xD;
168
- Fixing bug on admin urls when store code is used, more bugs fixed.&#xD;
169
- &#xD;
170
- -- version 1.0.12 stable&#xD;
171
- Fixing bug on renderer for old magentos&#xD;
172
- &#xD;
173
- -- version 1.0.11 stable&#xD;
174
- Adding export jobs per store id&#xD;
175
- &#xD;
176
- -- version 1.0.10 stable&#xD;
177
- Fixing Ebizmarts_MageMonkey_Block_Adminhtml_Renderer_Lists bug&#xD;
178
- Fixing bug on MyAccount when subscribing, unsubscribing&#xD;
179
- Fix for bug on account creation, automatically subscribing&#xD;
180
- Ecommerce360 total with discount&#xD;
181
- Fixing but on order saving issue when customer is subscribed on MailChimp&#xD;
182
- Fixing error on cart page when compilation is ON&#xD;
183
- &#xD;
184
- -- version 1.0.9 stable&#xD;
185
- Bug fix on webhooks url when Rewrites are not enabled&#xD;
186
- &#xD;
187
- -- version 1.0.8 stable&#xD;
188
- Bug fix on checkout subscribe issues and EE customer credit balance issue fix (Customer is not set or does not exist.)&#xD;
189
- &#xD;
190
- -- version 1.0.7 stable&#xD;
191
- Bug fix on TinyMCE inserting image, workaround for Magento passing a store parameter with undefined value.&#xD;
192
- &#xD;
193
- -- version 1.0.6 stable&#xD;
194
- Fix bug when on hardcoded default store code. Additional Lists. &#xD;
195
- &#xD;
196
- -- version 1.0.4 stable&#xD;
197
- Fix bug when checking newsletter box when registering. Adding customer groups as Interest Grouping&#xD;
198
- &#xD;
199
- -- version 1.0.2 beta&#xD;
200
- Fixing bug on bulk export for customers, gets stuck on 200&#xD;
201
- &#xD;
202
- -- version 1.0.1 beta&#xD;
203
- Bug fixing when deleting a subscriber&#xD;
204
- &#xD;
205
- -- version 1.0.0 beta&#xD;
206
- Including STS&#xD;
207
- &#xD;
208
- First public release 0.0.9, January 2012</notes>
209
- <authors><author><name>Ebizmarts Development Team</name><user>auto-converted</user><email>info@ebizmarts.com</email></author></authors>
210
- <date>2013-11-19</date>
211
- <time>18:46:07</time>
212
- <contents><target name="magecommunity"><dir name="Ebizmarts"><dir name="MageMonkey"><dir name="Block"><dir name="Adminhtml"><dir name="Bulksync"><dir name="Export"><file name="Form.php" hash="494b043f37b3e50b64ebcdf839404bcd"/></dir><dir name="Import"><file name="Form.php" hash="876d2d4779f6cab94efcf875e9f91124"/></dir><dir name="Queue"><file name="Grid.php" hash="390dd759c2817044c44a0871819517b1"/></dir><dir name="QueueExport"><file name="Grid.php" hash="9f813bb7c6cc57a4dc2c4b40dbd0de0c"/></dir><dir name="QueueImport"><file name="Grid.php" hash="75363f7b616236e0d0b61625cb47b034"/></dir><file name="Export.php" hash="839406dcc6fdc21eafcc2a4482c409d9"/><file name="Import.php" hash="ffd9954540eb34e843924bf883ad96a9"/><file name="Queue.php" hash="cb98b0a44474e0c73f8e2deadfe040d5"/><file name="QueueExport.php" hash="c265f7173b88cdccf86c95d7189a8b7a"/><file name="QueueImport.php" hash="1ab842ed0d21fdcef5c1a03395036754"/></dir><dir name="Customer"><dir name="Edit"><dir name="Tab"><file name="Memberactivity.php" hash="b36206aff7545c2daeaecae13c09ccc0"/></dir></dir></dir><dir name="Ecommerce"><file name="Grid.php" hash="d5a96878c984ea0b83c3eaca3c5112f3"/></dir><dir name="Ecommerceapi"><dir name="Renderer"><file name="Items.php" hash="e1d1f0fa96a0fc43e4cf13de1e919fbf"/></dir><file name="Grid.php" hash="4082405d6e7d83b1b08fcaf56c5b2ffd"/></dir><dir name="Memberactivity"><file name="Grid.php" hash="35efc93f57716c24970fb404d0c085b6"/></dir><dir name="Renderer"><file name="Date.php" hash="d49c78b64451be697c8618b8d0359594"/><file name="Importypes.php" hash="c701400787cf5030c9443985ff71d641"/><file name="Lists.php" hash="941bc98f92c814efe2889b978ed478f8"/><file name="Progress.php" hash="a0a1c6e7820779f9816bc2573c498480"/><file name="Yesno.php" hash="dfa6a63276fc013759f1624bf5b4b011"/></dir><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="9b80747920f4e807f9965e9e220df7f0"/></dir><dir name="Form"><dir name="Field"><file name="Mapfields.php" hash="2a842a1af2cf5c77811e2278af24c8ad"/></dir></dir><file name="Account.php" hash="da002554cad88eb8a2c88db03911ecbe"/><file name="OauthWizard.php" hash="5e7284770d5a5861a9c208b0bb1af400"/></dir></dir><dir name="Transactionalemail"><dir name="Mandrill"><file name="Grid.php" hash="9bdba2256861d7b2b956eebdf5f74810"/></dir><dir name="Newemail"><file name="Form.php" hash="2dc7e08b4ac6db0a8feaeb8edcac298b"/></dir><dir name="Sts"><file name="Grid.php" hash="f676f809fb853345f2cb4024c8439b18"/></dir><file name="Mandrill.php" hash="2b61e9227eacf5cf9f63c2a6636a122a"/><file name="Newemail.php" hash="ff60f1428e93cd85ff433b8c8991914c"/><file name="Sts.php" hash="3e11110c89e687a76e0b5eb16382cbf3"/></dir><file name="Ecommerce.php" hash="23466d320d6cf639262ea45295ca7fad"/><file name="Ecommerceapi.php" hash="2362186beb28cea702c720ddaca6ff59"/></dir><dir name="Checkout"><file name="Subscribe.php" hash="5e998c988af48b0b2288351a46d242cb"/></dir><dir name="Customer"><dir name="Account"><file name="Lists.php" hash="10e67b8fb610eeb26f53f9975a0777e0"/></dir></dir><file name="Lists.php" hash="30c23403376a9ba62303917b81bf53a4"/><file name="Signup.php" hash="381f59bcb8076de6e4cc4a58ec1749de"/></dir><dir name="Helper"><file name="Cache.php" hash="461d2b77aff5eb4bad80a52b65978f0d"/><file name="Data.php" hash="f23f05f50144e5d6153ff674eebc39ad"/><file name="Export.php" hash="bb36cff9864f8d53570200b371d84148"/><file name="Oauth2.php" hash="96e747768b4a0f2197ca1dda34e718cd"/></dir><dir name="Model"><dir name="Custom"><file name="Collection.php" hash="0ef74aaaac158aea31f90f6968ad651d"/></dir><dir name="Email"><file name="Template.php" hash="15e22e333d3ea8ed4cca2a5d8ecbfd0f"/></dir><dir name="Feed"><file name="Updates.php" hash="4ea3720b6e409ad396803a8203528e0a"/></dir><dir name="Mysql4"><dir name="Apidebug"><file name="Collection.php" hash="bda066b79c0d02744517bdedcecc0f63"/></dir><dir name="Bulksync"><dir name="Export"><file name="Collection.php" hash="8867a8e938fdbe6ea2727d5a47394a88"/></dir><dir name="Import"><file name="Collection.php" hash="2cb299ac506584ac4ab7baa61523fe55"/></dir><file name="Export.php" hash="257ebb74a4098a5c871e333139f46030"/><file name="Import.php" hash="8a69917cdcc660f0c907f5047301064e"/></dir><dir name="Ecommerce"><file name="Collection.php" hash="249fc8232239f7b6caeb3637ab3563dc"/></dir><file name="Apidebug.php" hash="97ca435168f87996cc6ec28c8416f6a5"/><file name="Ecommerce.php" hash="aab9408ea22072c8f64b253d53a2b0c5"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Account.php" hash="cfe2a819e278a6316dada4f1e8a5f0b8"/><file name="BulksyncDatasource.php" hash="0e60006bd0f9d621efed121a51764942"/><file name="BulksyncStatus.php" hash="0d8aec39d675d1f1e182ebf9e6521036"/><file name="Checkoutsubscribe.php" hash="1354dc01bc7f2ae34345a6a326f441b0"/><file name="CronProcessLimit.php" hash="d5ea4bcf96d89161746bf668f3c08caa"/><file name="Ecommerce360.php" hash="9d52d037f9c1e1354454bbc4e6d4862d"/><file name="List.php" hash="b7e3facaa5ee55753c065bae06f7d490"/><file name="OrderStatus.php" hash="fcffa29f07dbd3193a161430d70ae7d2"/><file name="Status.php" hash="dfb9f8702682ec6b7493e56bf995d40f"/><file name="TransactionalEmails.php" hash="8268078df511548abbc2dfa2730eb466"/><file name="WebhookDelete.php" hash="31a3456d1917da0d36fc1602aad90dab"/></dir></dir></dir><dir name="TransactionalEmail"><file name="Adapter.php" hash="48c9343c6a83f76dbf9ca5f111631f4a"/><file name="MANDRILL.php" hash="e9c9ade76a71d4feb9f78636ab9dbc4b"/><file name="STS.php" hash="3475e766d22ad464559b4e5b5a9cf03d"/></dir><file name="Api.php" hash="ff4937f6725ac342db5e9cb32827b233"/><file name="Apidebug.php" hash="c12fdbbcc042b5c00105fa27927da2f2"/><file name="BulksyncExport.php" hash="4ac2dffdfdbeb613ec662ff3cea3de45"/><file name="BulksyncImport.php" hash="2584cba71ec74d00304fb0c17258a3c6"/><file name="Cache.php" hash="8cd79a8368972846ce4197d9c7f975cc"/><file name="Cron.php" hash="229d10cd3e799b3ed1c44c8ecf1715ca"/><file name="Ecommerce.php" hash="ac3cda4fa10edce879e4c685ac405db1"/><file name="Ecommerce360.php" hash="b85e399ba0ed54a7fc1bd310faad5aa8"/><file name="MCAPI.php" hash="e0069816d5254a6d865412e0ce7246bc"/><file name="MCEXPORTAPI.php" hash="a559121e56448f22c58470635fb5f9ff"/><file name="Monkey.php" hash="eb5fe1633c912ac24992125329807dd2"/><file name="Observer.php" hash="9fe3120b2ebf9a4bb7f5a61b49700fe1"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="BulksyncController.php" hash="d1be92d5ba05fd106bfe0e1f9ddcf622"/><file name="EcommerceController.php" hash="6c4d1285022e2b03f08b27cfb57b7578"/><file name="TransactionalemailController.php" hash="1af1861fa74ddc0e917c8ea7f66c4843"/></dir><dir name="Customer"><file name="AccountController.php" hash="62b34054aa3b72a18570cf1b7fde48d1"/></dir><file name="SignupController.php" hash="e4d83eec491e96aada17e248c84a33fe"/><file name="WebhookController.php" hash="525f7e7657ab0353783eaa341fb2a714"/></dir><dir name="etc"><file name="adminhtml.xml" hash="95fef632f0e0eda69d6717d7231749bd"/><file name="config.xml" hash="1e1fb15a2f2cc721f1a9403ed87b45b2"/><file name="system.xml" hash="cef6a7882f43aa04c7e47c34847c273f"/></dir><dir name="sql"><dir name="monkey_setup"><file name="mysql4-install-0.0.1.php" hash="4df34769f4d5a8ceca90fd582500e3a9"/><file name="mysql4-upgrade-0.0.1-0.0.2.php" hash="d81147dab407bc55c59cddb5a764c53e"/><file name="mysql4-upgrade-0.0.2-0.0.3.php" hash="ce1925ff2ab03aa9fd6cbe43283ea37d"/><file name="mysql4-upgrade-0.0.3-0.0.4.php" hash="7f1e38bcf030e6346a9fd8321f1a4362"/><file name="mysql4-upgrade-0.0.4-0.0.5.php" hash="bbe6b895320effca77cc2c23431f043f"/><file name="mysql4-upgrade-0.0.5-0.0.6.php" hash="98b72d9ef4ec8078c09a1f641fc35a39"/><file name="mysql4-upgrade-0.0.6-0.0.7.php" hash="ea15755fc072e7c82b78063589360779"/><file name="mysql4-upgrade-1.0.10-1.0.11.php" hash="b2ec497921eb2bd9a97a318554fd980b"/><file name="mysql4-upgrade-1.1.5-1.1.6.php" hash="14750274ece5816d6c1ab490f7d610ab"/></dir></dir></dir><dir name="Mandrill"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="e74ee5dac57de8157c1b22499fc3cc17"/></dir><file name="Userinfo.php" hash="5f4bb5e8b314ecd2662eb428a89eb6ab"/></dir></dir><dir name="Users"><dir name="Senders"><file name="Grid.php" hash="b6edb098f54daad0ccc046e37407f56f"/></dir><file name="Senders.php" hash="65406b23588d5ac1681c2767676f8634"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="b71bc11b8749b9c7def82e81e32455db"/></dir><dir name="Model"><dir name="Email"><file name="Template.php" hash="21a82b01e7dc92d24e231d516fd3c487"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Userinfo.php" hash="b7ebed36a640a389cad61faddd62d30f"/></dir></dir></dir><file name="Customcollection.php" hash="6cf600e84ff59c89be519171c0df22e3"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Mandrill"><file name="UsersController.php" hash="e7f1cb19d1bb424a873797844768bbbf"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="07d9aad815062f4d1630ba757c2e0544"/><file name="config.xml" hash="0aba10bd3f65b1c6e8c738a75e2906e2"/><file name="system.xml" hash="82a53c22cd2f57706fbde69c6cf4e603"/></dir></dir><dir name="AbandonedCart"><dir name="Block"><dir name="Adminhtml"><dir name="Abandonedmails"><file name="Grid.php" hash="3c243d2dc78e73c9f9beb3a6ff2f7620"/></dir><dir name="Abandonedorder"><file name="Grid.php" hash="5ce2c2ce64f31770de9366e48c0a1574"/></dir><dir name="Dashboard"><file name="Sales.php" hash="16abf05ddd0c40a2c5ddbd3d41ea0d33"/><file name="Totals.php" hash="d85af3df9878c5fa263060a36e4c26b2"/></dir><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="4c885ae5c0bc9dfe81f1230277d254d9"/></dir><file name="Date.php" hash="3d6d093a0a8b78323940dcb7c3af503c"/></dir></dir><file name="Abandonedmails.php" hash="481f6ad7621a0ad22e6cc4ca5b134f4f"/><file name="Abandonedorder.php" hash="432ab1613ce56bf05d588220981c55f2"/><file name="Dashboard.php" hash="3b21c7594c0b197e184e6c3a4981324d"/></dir><dir name="Email"><dir name="Order"><file name="Items.php" hash="8df49873c836d2fa3ef270730ddc32e6"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="7f1d1e8c82f761c40102f521bd8e83a3"/></dir><dir name="Model"><dir name="Resource"><dir name="Mailssent"><file name="Collection.php" hash="e6c0f3aebc086a50661e8b1851698d04"/></dir><dir name="Order"><file name="Collection.php" hash="d89b12a08d926abe27d56579e920d66f"/></dir><file name="Mailssent.php" hash="680224fabede906f58f70afe3873203b"/></dir><dir name="System"><dir name="Config"><file name="Automatic.php" hash="04110625fa0be42905ccd21be919b46b"/><file name="Cmspage.php" hash="30c24459f4070408bc0c84cf8903e5d2"/><file name="Customergroup.php" hash="394ebe1114d7a08fb9a4d6f4b5b3d9df"/><file name="Discounttype.php" hash="6f647fbfc3a7ecff05bb0c7ad85a0272"/><file name="Unit.php" hash="d22875d2d2e5206e243031bba727cbe3"/></dir></dir><file name="Config.php" hash="4a1dcdabd84f652d14b3eb8b22e68ed0"/><file name="Cron.php" hash="a17392b51b2f2cf539a6cd3c1f9bfbda"/><file name="EventObserver.php" hash="e2f81d6fa712249e22594b43d62eb239"/><file name="Mailssent.php" hash="bd816e03345495f6becc5a14b84c9ce1"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="AbandonedmailsController.php" hash="960493d95b9dcc22a492eb26a54b5ff6"/><file name="AbandonedorderController.php" hash="9fcb3223357dfb9281a689232b28c6e0"/></dir><file name="AbandonedController.php" hash="135e3ed6203f372e9c35a235197d7285"/></dir><dir name="etc"><file name="adminhtml.xml" hash="c2a82d9e46d715f3d10a5ae40f457c89"/><file name="config.xml" hash="61e2418b6625ff3299a5cd6d492525cc"/><file name="system.xml" hash="0e801b45b32054340c2f2030c9e02354"/></dir><dir name="sql"><dir name="ebizmarts_abandonedcart_setup"><file name="mysql4-install-0.1.0.php" hash="0e1a8c0391654c480773b78a50db5a83"/><file name="mysql4-upgrade-0.1.12-0.1.13.php" hash="4835436b744f8cbff61a66c2e345976f"/><file name="mysql4-upgrade-0.1.18-0.1.19.php" hash="e51b332cb70c81ee472b586fda4e8a7e"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="2e87d09a5008ac2f2432a25e08474c87"/><file name="mysql4-upgrade-0.1.20-0.1.21.php" hash="c461ba10961b4ee4e9385173d4264617"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="60daa0d70a1af929a39d6e20ee52ee9c"/></dir></dir></dir><dir name="Autoresponder"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Birthday"><dir name="Fieldset"><file name="Hint.php" hash="9ad466f965604828a2467ccc54d151b8"/></dir></dir><dir name="Fieldset"><file name="Hint.php" hash="349238311cdf09fc7637cdb294526f61"/></dir><dir name="Review"><dir name="Fieldset"><file name="Hint.php" hash="53d9fabcf8fd265df6b1344d9417bfce"/></dir></dir><dir name="Wishlist"><dir name="Fieldset"><file name="Hint.php" hash="8d3023646bf0bb4a0f3bd7dc7409c88f"/></dir></dir></dir></dir></dir><dir name="Customer"><dir name="Account"><file name="List.php" hash="88f17bfd4caaee22084db1f586932906"/></dir></dir><dir name="Email"><dir name="Related"><file name="Items.php" hash="fb3a41724e89de1a8dfaf2faa3e4f74d"/></dir><dir name="Review"><file name="Items.php" hash="9b80bad72b7f3ecc415a44c0ac96cf93"/></dir><dir name="Wishlist"><file name="Items.php" hash="12bd1d249aac41ba862fb501fc062be1"/></dir></dir><dir name="Review"><file name="Form.php" hash="d9c57580bc74341b5eb16260ce98e731"/></dir><file name="Unsubscribe.php" hash="f67ee7f28b010a87b378a07629c92ac6"/></dir><dir name="Helper"><file name="Data.php" hash="cff844f2ef576bf51770b4d7afeb3f02"/></dir><dir name="Model"><dir name="Resource"><dir name="Review"><file name="Collection.php" hash="3e1544f254eef17885fdb5f606227e22"/></dir><dir name="Unsubscribe"><file name="Collection.php" hash="e6179ce956137d9af5521f10af34f5cf"/></dir><dir name="Visited"><file name="Collection.php" hash="f945f8a90042995b9fd9b8066f300ae3"/></dir><file name="Review.php" hash="04fffdddb414e38134a063def9d8c101"/><file name="Unsubscribe.php" hash="2e0ea91653872a32f8276e4f4c403d0f"/><file name="Visited.php" hash="3aba82fd9bac48334bcd84a677afcb97"/></dir><dir name="System"><dir name="Config"><file name="Automatic.php" hash="1996bb3baf00288e313cc034ef5c0195"/><file name="Couponcounter.php" hash="51101a5a49e5b59c1dae486323a16b95"/><file name="Customergroup.php" hash="0756189e811c962ca77df0154289273f"/><file name="Discounttype.php" hash="225a09b80efedb8a37a6b799d2405129"/><file name="Generaltype.php" hash="4df1a268f0641852795f23c9c5c6fdb3"/><file name="Time.php" hash="54a4783fe88b23017b6bc5a085222c37"/></dir></dir><file name="Config.php" hash="05219e8c19ae27933f9379b4ae15d11e"/><file name="Cron.php" hash="25d021fdc23a6fa71cba930b4234739a"/><file name="EventObserver.php" hash="a64eb99539e4359f5c269f0cad15150c"/><file name="Review.php" hash="e2529d4f09dc8722fd2fab9a034e49ea"/><file name="Unsubscribe.php" hash="ca9037bc1037e27e9c66d6eca9d7c0c2"/><file name="Visited.php" hash="d46e2dd0d0f69d8be707356f6183a98c"/></dir><dir name="controllers"><file name="AutoresponderController.php" hash="b07ce648f8de71d10b934a81fd8011a2"/></dir><dir name="etc"><file name="adminhtml.xml" hash="59a240f12b496566f1a2b1de5f053e96"/><file name="config.xml" hash="843ae53ce95dbe1d4d5206b2b13a3acc"/><file name="system.xml" hash="5d348d587583d0ceb03fae704c957f09"/></dir><dir name="sql"><dir name="ebizmarts_autoresponder_setup"><file name="mysql4-install-0.1.0.php" hash="791af0eec35753144d506294bb4c03ad"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="78438ac4a76091f713815249b89a0fb8"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="b2b4f343d16d99c1396987452fba1039"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="ebizmarts"><file name="abandonedcart.xml" hash="72945454a4d24ef8d1718bf177272ffe"/><file name="autoresponder.xml" hash="d8eca3df02e02d5e42a36cc35e308cdd"/></dir><file name="magemonkey.xml" hash="f86c4a1e77468bf497bbc31f00d379c9"/></dir><dir name="template"><dir name="magemonkey"><dir name="checkout"><file name="subscribe.phtml" hash="e6fc1193e1416db374f17783084f384e"/></dir><file name="lists.phtml" hash="8fdb435eb979aa15372076629503640b"/></dir><dir name="ebizmarts_abandonedcart"><dir name="email"><dir name="order"><dir name="items"><dir name="order"><file name="default.phtml" hash="5ff74635419e7ffb4d3660c306ad6590"/></dir></dir><file name="items.phtml" hash="cd81265b83dc2df835301b5fafb70f8f"/></dir></dir></dir><dir name="ebizmarts"><dir name="autoresponder"><dir name="customer"><file name="list.phtml" hash="be9cd36a644a39e3569c9ae0ded2087d"/></dir><dir name="related"><file name="items.phtml" hash="b05bfbbe1bdf48324d2e3e2df7d7ae97"/></dir><dir name="review"><file name="items.phtml" hash="a1fdcb739b6032b607e67047fd3b65f9"/></dir><dir name="wishlist"><file name="items.phtml" hash="217b12ebbabd46d14c2a95b57aa9dad0"/></dir><file name="unsubscribe.phtml" hash="2635dae225a8a4536d58a87c4de9054d"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="ebizmarts"><file name="abandonedcart.xml" hash="56b2ca552b73a976207cd33afbcfb299"/></dir><file name="magemonkey.xml" hash="613e5cd38048dedadb96434b9c3cc704"/><file name="mandrill.xml" hash="a79308bc32db35d45b151c01041be72d"/></dir><dir name="template"><dir name="magemonkey"><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="f4bbe778592be65a6b452002dfc84c24"/></dir><file name="oauth_wizard.phtml" hash="226d42be1f41838bb80da0e2c3567d71"/></dir></dir></dir><dir name="mandrill"><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="d4025820e90c8e20bc8c6664984a78a1"/></dir></dir></dir></dir><dir name="ebizmarts"><dir name="abandonedcart"><dir name="dashboard"><file name="index.phtml" hash="180d73784745e0c1d5b37b0d435a2cc0"/><file name="salebar.phtml" hash="50a0c2645e2f651da9ba72fd875986cb"/><file name="totalbar.phtml" hash="2652c0ab80efd0acceaf827964fe24c3"/></dir><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="769a7167480f7dd4e46a5cc99e88af20"/></dir></dir></dir></dir><dir name="autoresponder"><dir name="system"><dir name="config"><dir name="birthday"><dir name="fieldset"><file name="hint.phtml" hash="577162540f6f45b822d7784463c31456"/></dir></dir><dir name="fieldset"><file name="hint.phtml" hash="4dc3f6561861ae893eda757221ca8027"/></dir><dir name="review"><dir name="fieldset"><file name="hint.phtml" hash="a3e506441b757f5372337fa59de1d64f"/></dir></dir><dir name="wishlist"><dir name="fieldset"><file name="hint.phtml" hash="8f4427235da3afa30d271745f040c767"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ebizmarts_MageMonkey.xml" hash="9a4b1c469b4652442c7a5f945dd12cac"/><file name="Ebizmarts_Mandrill.xml" hash="c80aa6f98ccc3890303bb4c278f8ad95"/><file name="Ebizmarts_AbandonedCart.xml" hash="48c4cfe8246d5a995e2836c43ab38d74"/><file name="Ebizmarts_Autoresponder.xml" hash="97302f94f5893147db18c4034d135256"/></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><dir name="sales"><file name="abandoned_cart.html" hash="98e069b6316232dc155408326162c3aa"/></dir><dir name="ebizmarts"><dir name="autoresponder"><file name="birthday.html" hash="80c07ab41e13f953bac72f6164a8e9b1"/><file name="neworder.html" hash="c5f7af81d02baa3b4c851f327640c9d0"/><file name="noactivity.html" hash="9dfb99e8cea787a37e552c1e7ecdc961"/><file name="relatedproducts.html" hash="68a2b450dfeff78b4aefd77c1b6000b3"/><file name="review.html" hash="4fbb9589e1b1b7d6a356a59baa7382cb"/><file name="reviewcoupon.html" hash="a169187b1d057bb62f2b154c7c1589fc"/><file name="visitedproducts.html" hash="39eb203e97a10dc3944a57f07103b340"/><file name="wishlist.html" hash="f8dc86167dd0df3100f8821b8db77285"/></dir></dir></dir></dir><file name="Ebizmarts_MageMonkey.csv" hash="181e91ed91dfea5fe7dab66af5719af8"/><file name="Ebizmarts_Mandrill.csv" hash="3dac3af57664fd34f5eda8abf4098ee0"/><file name="Ebizmarts_AbandonedCart.csv" hash="29ee25f32946e687917cf542aaa66941"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="magemonkey"><file name="magemonkey.css" hash="d4eac40764271596a3edc30d1014887f"/><file name="monkey.js" hash="d7d2e3f137d97202214fe29551695739"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="mandrill"><file name="mandrill-tab.png" hash="d7eaf9deef355e4b8b55a96070b90ffe"/><file name="mandrill.css" hash="37a538f63b82a486c364b337420ca8ad"/></dir><dir name="magemonkey"><file name="magemonkey.css" hash="00f0b145e9f9cc99eb46cf97faba3f65"/><file name="magemonkey.js" hash="e40717a83ef300776cc79ad9f8191005"/><file name="mailchimp-connected-ebizmarts-title.png" hash="c6bcb1aa606ecd3b0a9753bb48ddeb58"/><file name="mailchimp-ico.png" hash="14978ec398cede4060bc9b00365bb6c5"/><file name="mailchimp-section-background.png" hash="d4536261c6a3534fbb855428c0cca62c"/><file name="mailchimp-tab.png" hash="61972b4e063364071e81d8c9e10d8feb"/></dir></dir></dir></dir></target><target name="mage"><dir name="lib"><dir name="Mandrill"><file name="API.php" hash="a7b2153852b0a7f65c8869d4c2d56005"/></dir></dir><dir name="js"><dir name="ebizmarts"><dir name="autoresponders"><file name="visitedproducts.js" hash="f2cf78d04c0033f61978b477d9c28e13"/></dir></dir></dir></target></contents>
213
  <compatible/>
214
- <dependencies/>
215
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Ebizmarts_MageMonkey</name>
4
+ <version>1.1.21</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>MailChimp integration for Magento by Ebizmarts</summary>
10
  <description>Full MailChimp integration, automatic webhooks, multiple lists, interest groups</description>
11
+ <notes>FIXES&#xD;
12
+ adminnotification/inbox when call parse method.&#xD;
13
+ Rewrite version validation of Mandrill dependency.&#xD;
14
+ Fix for overload Order when ecommerce360 by cron runs.&#xD;
15
+ Adding date for orders when ecommerce360 Order is pushed.&#xD;
16
+ Moved Autoresponder Observer from Mandrill to Autoresponder (kalenjordan).&#xD;
17
+ Add top nav menu to get to Mandrill settings from Newsletter menu (kalenjordan).&#xD;
18
+ Modified Webhook validation.&#xD;
19
+ Fixed bug in visitedproduct.js not retrieving ProductID (SchumacherFM).&#xD;
20
+ &#xD;
21
+ NEW&#xD;
22
+ New Autoresponder Back to Stock Notification module.&#xD;
23
+ New config option for enable/disable notifications.&#xD;
24
+ Added cache for Checkout Block List (SchumacherFM).</notes>
25
+ <authors><author><name>Ebizmarts Development Team</name><user>ebizmarts</user><email>info@ebizmarts.com</email></author></authors>
26
+ <date>2014-05-09</date>
27
+ <time>19:57:48</time>
28
+ <contents><target name="magecommunity"><dir name="Ebizmarts"><dir name="AbandonedCart"><dir name="Block"><dir name="Adminhtml"><dir name="Abandonedmails"><file name="Grid.php" hash="1d6aa7470345b86ebc544865b1d5988b"/></dir><file name="Abandonedmails.php" hash="1602122456b4a710638e049e87135a57"/><dir name="Abandonedorder"><file name="Grid.php" hash="abdca6b6f4eb45a73eb55b5d553ef4cd"/></dir><file name="Abandonedorder.php" hash="eb6b272bf9da062c0d922f733fd5684d"/><dir name="Dashboard"><file name="Sales.php" hash="0242b35fd7d779e997c9d583d2067200"/><file name="Totals.php" hash="592fdd17f9c4fd19181e37eb47c2a348"/></dir><file name="Dashboard.php" hash="b308fe4aa4339bb980f911ddaf244bf1"/><dir name="System"><dir name="Config"><file name="Date.php" hash="c2c968c7e44e4512afcf1d280b596b12"/><dir name="Fieldset"><file name="Hint.php" hash="7421b2285cbf14f737f197647c444e13"/></dir></dir></dir></dir><dir name="Email"><dir name="Order"><file name="Items.php" hash="c18a4206bfc381771978568276a7a93d"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="3e1fa681e66943898a0ee4e5c7330814"/></dir><dir name="Model"><file name="Config.php" hash="e29adc5eb69c371307de1d4316c7efdb"/><file name="Cron.php" hash="f61ef8688dff08de79994cc370463d48"/><file name="EventObserver.php" hash="9db91c963384183d0bf21ec686620594"/><file name="Mailssent.php" hash="c4bb348f7df03d057b6e71793a35099f"/><dir name="Resource"><dir name="Mailssent"><file name="Collection.php" hash="32a7f66ed04d2774708608e93673eb60"/></dir><file name="Mailssent.php" hash="587b8c706766b178be80dc6539e4172b"/><dir name="Order"><file name="Collection.php" hash="7ba53f0d262e55e55c2212bffeff3fc7"/></dir></dir><dir name="System"><dir name="Config"><file name="Automatic.php" hash="4796f50ff325b34bb7478ae19da5f455"/><file name="Cmspage.php" hash="97fb52c0878ba73934fc54bd23a00284"/><file name="Customergroup.php" hash="56192685ca9110ae95431fc63c494e25"/><file name="Discounttype.php" hash="680ae0d05305ea8ead09bd176914935d"/><file name="Unit.php" hash="a20bb2f70dbff61ad99b12e169116a68"/></dir></dir></dir><dir name="controllers"><file name="AbandonedController.php" hash="c5d4146adaaa34ca06cc444299c13bd1"/><dir name="Adminhtml"><file name="AbandonedmailsController.php" hash="53e508bee05b83175bf940e8e569e5c5"/><file name="AbandonedorderController.php" hash="fa050d8ecfe1d665178375c677a83c38"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="c2a82d9e46d715f3d10a5ae40f457c89"/><file name="config.xml" hash="a80947ce8926b8f751002c0ec8cc9df3"/><file name="system.xml" hash="8dbddb62fd9413ed1620732fc6ddcfbf"/></dir><dir name="sql"><dir name="ebizmarts_abandonedcart_setup"><file name="mysql4-install-0.1.0.php" hash="0e1a8c0391654c480773b78a50db5a83"/><file name="mysql4-upgrade-0.1.12-0.1.13.php" hash="4835436b744f8cbff61a66c2e345976f"/><file name="mysql4-upgrade-0.1.18-0.1.19.php" hash="e51b332cb70c81ee472b586fda4e8a7e"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="2e87d09a5008ac2f2432a25e08474c87"/><file name="mysql4-upgrade-0.1.20-0.1.21.php" hash="c461ba10961b4ee4e9385173d4264617"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="60daa0d70a1af929a39d6e20ee52ee9c"/></dir></dir></dir><dir name="Autoresponder"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Backtostock"><dir name="Fieldset"><file name="Hint.php" hash="2ce3d676335024c283c8cb7004f2fd70"/></dir></dir><dir name="Birthday"><dir name="Fieldset"><file name="Hint.php" hash="b90407590390af8a3b7a5f28fe30fc1d"/></dir></dir><dir name="Fieldset"><file name="Hint.php" hash="6512f3966ad7a5805b37ec347fe3f45d"/></dir><dir name="Review"><dir name="Fieldset"><file name="Hint.php" hash="3a30e310d54d553551645b4ba65d3a97"/></dir></dir><dir name="Wishlist"><dir name="Fieldset"><file name="Hint.php" hash="d958534a50e224778b4f21ab91965c93"/></dir></dir></dir></dir></dir><dir name="Backtostock"><file name="Notice.php" hash="a0ed5dc687baa5eff1c5582fe3d1d7b8"/></dir><dir name="Customer"><dir name="Account"><file name="List.php" hash="12114dfff4daa3fb66ec67886ecd65ce"/></dir></dir><dir name="Email"><dir name="Backtostock"><file name="Item.php" hash="52fdf4d6b9e46af278e845af141babaf"/></dir><dir name="Related"><file name="Items.php" hash="a307ecd59fa183dfd631f3e852d5b0b4"/></dir><dir name="Review"><file name="Items.php" hash="58310c2423a7844e4876adf0fee8d1f8"/></dir><dir name="Wishlist"><file name="Items.php" hash="ea252dac50f360125f964a493db00252"/></dir></dir><dir name="Review"><file name="Form.php" hash="36b468ca8507f5880e792cf2ca144084"/></dir><file name="Unsubscribe.php" hash="3320837d5f53290bea5911184f2f8e89"/></dir><dir name="Helper"><file name="Data.php" hash="9b4a79044374ef53028bfd53d6f6cb8c"/></dir><dir name="Model"><file name="Backtostock.php" hash="bbe12c4e362b4a6b3ff289c4cfad1c1d"/><file name="Backtostockalert.php" hash="7c13e74e80769ce9ec5348dff3146ed7"/><file name="Config.php" hash="c3d0f8a39bd9c4704cd5ef161420e345"/><file name="Cron.php" hash="b59125e9bdffba559d45ab4ad9d6d173"/><file name="EventObserver.php" hash="6d0948c1d54f6494a27cb3b81878a1be"/><dir name="Resource"><dir name="Backtostock"><file name="Collection.php" hash="ed8d4e1356ee483a17c916f3caf5e004"/></dir><file name="Backtostock.php" hash="f843a3a2c8784ebf5844dd24851152b5"/><dir name="Backtostockalert"><file name="Collection.php" hash="0c8888bcd7f10ee01c40ffb1be379b29"/></dir><file name="Backtostockalert.php" hash="667c31247de8122c896f7056f76d69e4"/><dir name="Review"><file name="Collection.php" hash="f6d6fea1af97d22c763ca066f35b60c1"/></dir><file name="Review.php" hash="c452559a7e879c3c1744d0fe2a8d3c44"/><dir name="Unsubscribe"><file name="Collection.php" hash="ce69c3e9a94270d56586d98b9848c40e"/></dir><file name="Unsubscribe.php" hash="52d3a3276a4ffc9dac8969a9f71ab7fe"/><dir name="Visited"><file name="Collection.php" hash="bd6f6853caf49b5cc775853982d080a4"/></dir><file name="Visited.php" hash="2c1255d46620bd32976ec62a74ea8ee5"/></dir><file name="Review.php" hash="3972ef6776b94ccecf6e05b2aa1972db"/><dir name="System"><dir name="Config"><file name="Automatic.php" hash="a13826aaa72aa13d783e9b8032255d11"/><file name="Couponcounter.php" hash="6a5667391ba4ec58490fef07c4b0c20b"/><file name="Customergroup.php" hash="9dacae8f22f927f63fffa065698436b0"/><file name="Discounttype.php" hash="f0434d0bd53e7a18a2a7377b9e08fe5f"/><file name="Generaltype.php" hash="871b01315f4bdcef6fe4317d0ee421fd"/><file name="Time.php" hash="3bb74c6af5f1d2d0920e290f5ff4978a"/></dir></dir><file name="Unsubscribe.php" hash="60b3692fd5f2e29c711954fd0ca91141"/><file name="Visited.php" hash="36850b4973097fd7dfe4d05c45b8dbdd"/></dir><dir name="controllers"><file name="AutoresponderController.php" hash="dcc9961677efd579fa17c9c07df10b00"/><file name="BacktostockController.php" hash="0a7f9280f87c7a663f06529e3811cfc1"/></dir><dir name="etc"><file name="adminhtml.xml" hash="59a240f12b496566f1a2b1de5f053e96"/><file name="config.xml" hash="edf3760cded047a8939bb43e2287fd25"/><file name="system.xml" hash="e46216b7e0f5b0dc36566c2a77e432e3"/></dir><dir name="sql"><dir name="ebizmarts_autoresponder_setup"><file name="mysql4-install-0.1.0.php" hash="791af0eec35753144d506294bb4c03ad"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="78438ac4a76091f713815249b89a0fb8"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="b2b4f343d16d99c1396987452fba1039"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="378accc07eb80b16029db84f56bed683"/></dir></dir></dir><dir name="MageMonkey"><dir name="Block"><dir name="Adminhtml"><dir name="Bulksync"><dir name="Export"><file name="Form.php" hash="3128fdbf1d272d661ddcd35589f6fd58"/></dir><file name="Export.php" hash="8bad2b20c02e6f46bebcf632ca1a47bb"/><dir name="Import"><file name="Form.php" hash="88dfb149d89a293f2e161cc994a6d66d"/></dir><file name="Import.php" hash="25f84fabb2e3ec99281bcdd8fa2f36da"/><dir name="Queue"><file name="Grid.php" hash="66bad4f57dada919cb46b4422aa353ec"/></dir><file name="Queue.php" hash="59ad9d88015d45a8b6874a1946cbb79b"/><dir name="QueueExport"><file name="Grid.php" hash="35e1ec26f0860c35d63132d09b22b9e0"/></dir><file name="QueueExport.php" hash="47358e2366a683b99d974f3c88fea9b9"/><dir name="QueueImport"><file name="Grid.php" hash="2291c0025c67441a667ee85c849b938c"/></dir><file name="QueueImport.php" hash="3674342fcbe1aa23499bdf5bcb16da54"/></dir><dir name="Customer"><dir name="Edit"><dir name="Tab"><file name="Memberactivity.php" hash="480c555fdfd348a830af84cc1b2ec749"/></dir></dir></dir><dir name="Ecommerce"><file name="Grid.php" hash="c328363a48a54819727153270664ccf0"/></dir><file name="Ecommerce.php" hash="218f3f43ab85966c56a51b612dc0d19f"/><dir name="Ecommerceapi"><file name="Grid.php" hash="1d94069e2fe5c5ca96cabbce0ec6b398"/><dir name="Renderer"><file name="Items.php" hash="b7da6bfbfb676c8bcd812b34ee84b7bc"/></dir></dir><file name="Ecommerceapi.php" hash="35fab157ffd89365f58d3f6a7d215af8"/><dir name="Memberactivity"><file name="Grid.php" hash="0dd76b6f10e87bcc8e5516f823a53d77"/></dir><dir name="Renderer"><file name="Date.php" hash="057956ab3107ff1ab1bb63580960db00"/><file name="Importypes.php" hash="db0727a05feebbf5cb6aa4193c7aa5a2"/><file name="Lists.php" hash="d7358169a3fbbaf7422e96eb73642786"/><file name="Progress.php" hash="6476d05d169196791fca792fcc2787c5"/><file name="Yesno.php" hash="9b8689c9c2bc5e51d57d5b8a37345188"/></dir><dir name="System"><dir name="Config"><file name="Account.php" hash="e667fd667ab5b5f98aaf6aa59482b155"/><dir name="Fieldset"><file name="Hint.php" hash="c68500d47c69ad31858b0e7e8f80e1af"/></dir><dir name="Form"><dir name="Field"><file name="Mapfields.php" hash="f12afdd267131675bc65c9da4e98a27d"/></dir></dir><file name="OauthWizard.php" hash="4426268d1c895cc75282788f9c3c57fe"/></dir></dir><dir name="Transactionalemail"><dir name="Mandrill"><file name="Grid.php" hash="16f4ddfb22908829211549cd67910ed5"/></dir><file name="Mandrill.php" hash="20c99e8d4451e5e6948f1869fcf09fad"/><dir name="Newemail"><file name="Form.php" hash="6b1d604005694896751ea448bf5d4fbb"/></dir><file name="Newemail.php" hash="f3f816f536a0ff164e5c9b32de07991f"/><dir name="Sts"><file name="Grid.php" hash="125845125287b0756e1d436c590db7a1"/></dir><file name="Sts.php" hash="c94b5e2a3d4aa977dd1b505ae9dd0733"/></dir></dir><dir name="Checkout"><file name="Subscribe.php" hash="a455450dad6e612cb8c1c53130e62c52"/></dir><dir name="Customer"><dir name="Account"><file name="Lists.php" hash="63d14c898f9399f711b6225e83659908"/></dir></dir><file name="Lists.php" hash="8fba0d27d0a163e9b3c1068439d71fdc"/><file name="Signup.php" hash="222115a830f5fe9d35a7d15d811936bd"/></dir><dir name="Helper"><file name="Cache.php" hash="67e65a10f74e15e46e198ff938614d46"/><file name="Data.php" hash="ff40bacb6981f0ed8806c40bb9259cb9"/><file name="Export.php" hash="e38bc4a6a62e1d421b56b33d951b50f3"/><file name="Oauth2.php" hash="5dde916a8a3683c792d4253a80305371"/></dir><dir name="Model"><file name="Api.php" hash="84fbce714b98a7a1cba24d9a7f0ed443"/><file name="BulksyncExport.php" hash="5963222008697fe79772d7520e91705c"/><file name="BulksyncImport.php" hash="f55ae237b2a1e633a26020d646a78e33"/><file name="Cache.php" hash="64aaa1feca20ee3bbe606076d82034c7"/><file name="Cron.php" hash="2c67424b577391fb84c59827aef1e99c"/><dir name="Custom"><file name="Collection.php" hash="5cf9b979cb7d3863d1db58e4f575e8d0"/></dir><file name="Ecommerce.php" hash="d74ca44e23d32d22f5f64898028d784f"/><file name="Ecommerce360.php" hash="550bc08ace4bfe8a3f057504bf3f4045"/><dir name="Email"><file name="Template.php" hash="e1c1a054a2a99ea4341ce6c63370a589"/></dir><dir name="Feed"><file name="Updates.php" hash="f376504e208008cf935f5e84c363982d"/></dir><file name="MCAPI.php" hash="aa72303864dd40867a5d9a9fdf8bbafe"/><file name="MCEXPORTAPI.php" hash="c8f16211692cf33992fbd785019c01f7"/><file name="Monkey.php" hash="16dd9b512c80d7fc41a36cd9bebf8b82"/><dir name="Mysql4"><dir name="Apidebug"><file name="Collection.php" hash="9f75f1d9dd0f108657ac23607eff50da"/></dir><file name="Apidebug.php" hash="6fbad3a26c6608e84ef0a4d86314af0b"/><dir name="Bulksync"><dir name="Export"><file name="Collection.php" hash="44d269eed50f52146033ff89ed7a2891"/></dir><file name="Export.php" hash="4ae1ac47449cccb7ce25157f7d9d2f11"/><dir name="Import"><file name="Collection.php" hash="7e6be7ba8998b9e173b5be61b2a5f02b"/></dir><file name="Import.php" hash="422523ecbf7248e9340ed5e18486b68b"/></dir><dir name="Ecommerce"><file name="Collection.php" hash="24a35bd64c38d18e3abb2ab9dcea8f34"/></dir><file name="Ecommerce.php" hash="71a3b94d770649dd40e9eabf4a9191ca"/></dir><file name="Observer.php" hash="6ea744276a3668ec450f09b78654ac1d"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Account.php" hash="5fdee829d7167aac52f2daf91f8c4b64"/><file name="BulksyncDatasource.php" hash="bb42813d2227fecc62476ff819e6bfa0"/><file name="BulksyncStatus.php" hash="745e4a9a98c4d74e82184403de7606b8"/><file name="Checkoutsubscribe.php" hash="6d8ce080d9949eda81a5f83dcb0789e9"/><file name="CronProcessLimit.php" hash="201fb2c0d26a121b5b902fff9ba49f88"/><file name="Ecommerce360.php" hash="14a8bc7fd552ec7f35bacaca2c326def"/><file name="List.php" hash="12114a33e1301ae0f2c80e5c19a13796"/><file name="OrderStatus.php" hash="0be73f31140b5b713dcf5fc141052a5c"/><file name="Status.php" hash="4ef26d94a5a1645477c8b1aced56cf01"/><file name="TransactionalEmails.php" hash="406a0998c5d518c0cb177f8c853acb6d"/><file name="WebhookDelete.php" hash="d3628cea58b71611a9b38f3e140ecd5f"/></dir></dir></dir><dir name="TransactionalEmail"><file name="Adapter.php" hash="22d05169667a6be152a898bb2c9fb129"/><file name="MANDRILL.php" hash="b84f4f27564f68ef5a3a35a1d3bf2902"/><file name="STS.php" hash="e49a76aa693d12778dd69a4fbbd613bb"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="BulksyncController.php" hash="14e771adfcbe3395d5624e3f3ca6e8a2"/><file name="EcommerceController.php" hash="4bfd1a7890dffd5468fab55badc905c2"/><file name="TransactionalemailController.php" hash="0b1288af0ab97e26d2a07da425378249"/></dir><dir name="Customer"><file name="AccountController.php" hash="149184229b87fa5c2365992784d560ed"/></dir><file name="SignupController.php" hash="24f60fa1eaf04bf90459ef2f2d3be893"/><file name="WebhookController.php" hash="134517b313c1173fc47b5bd9481656c1"/></dir><dir name="etc"><file name="adminhtml.xml" hash="95fef632f0e0eda69d6717d7231749bd"/><file name="config.xml" hash="c4f38fc5744dac69f4781cf847a0a1e8"/><file name="system.xml" hash="f2b00fb8edb31e32178bcf9e1b0df21e"/></dir><dir name="sql"><dir name="monkey_setup"><file name="mysql4-install-0.0.1.php" hash="4df34769f4d5a8ceca90fd582500e3a9"/><file name="mysql4-upgrade-0.0.1-0.0.2.php" hash="d81147dab407bc55c59cddb5a764c53e"/><file name="mysql4-upgrade-0.0.2-0.0.3.php" hash="ce1925ff2ab03aa9fd6cbe43283ea37d"/><file name="mysql4-upgrade-0.0.3-0.0.4.php" hash="7f1e38bcf030e6346a9fd8321f1a4362"/><file name="mysql4-upgrade-0.0.4-0.0.5.php" hash="bbe6b895320effca77cc2c23431f043f"/><file name="mysql4-upgrade-0.0.5-0.0.6.php" hash="98b72d9ef4ec8078c09a1f641fc35a39"/><file name="mysql4-upgrade-0.0.6-0.0.7.php" hash="ea15755fc072e7c82b78063589360779"/><file name="mysql4-upgrade-1.0.10-1.0.11.php" hash="b2ec497921eb2bd9a97a318554fd980b"/><file name="mysql4-upgrade-1.1.5-1.1.6.php" hash="14750274ece5816d6c1ab490f7d610ab"/></dir></dir></dir><dir name="Mandrill"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="7a88051c88658d6650265c26ed532dba"/></dir><file name="Userinfo.php" hash="fc19ad47dda8547fe66d4fc13821ef66"/></dir></dir><dir name="Users"><dir name="Senders"><file name="Grid.php" hash="fbd15f7d0b651e3c0d3897672050d782"/></dir><file name="Senders.php" hash="99e60358acb36389b10a7e7c02d9a8f6"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="c8587a3d23e283bd9643fe74c9bd135f"/></dir><dir name="Model"><file name="Customcollection.php" hash="f024ab2663565eeca20a0d071e0cffbc"/><dir name="Email"><file name="Template.php" hash="a10f149033ffd6a8224d85f244393e0e"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Userinfo.php" hash="7ebeeb08caa8a0413cab7ba0c7316e1e"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Mandrill"><file name="UsersController.php" hash="22458a083848a119e36edad0fba44972"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="edc966e4e162e73e9955bc7de57b7f74"/><file name="config.xml" hash="da5b10af4ff6b2655d56d1e10c14be62"/><file name="system.xml" hash="c46c48e817034d874aa4a675cf841425"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ebizmarts_MageMonkey.xml" hash="9a4b1c469b4652442c7a5f945dd12cac"/><file name="Ebizmarts_Mandrill.xml" hash="c80aa6f98ccc3890303bb4c278f8ad95"/><file name="Ebizmarts_Autoresponder.xml" hash="97302f94f5893147db18c4034d135256"/><file name="Ebizmarts_AbandonedCart.xml" hash="48c4cfe8246d5a995e2836c43ab38d74"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="ebizmarts"><file name="abandonedcart.xml" hash="72945454a4d24ef8d1718bf177272ffe"/><file name="autoresponder.xml" hash="f85ced7b7bbcea27f5370b166ff971a8"/></dir><file name="magemonkey.xml" hash="f86c4a1e77468bf497bbc31f00d379c9"/></dir><dir name="template"><dir name="magemonkey"><dir name="checkout"><file name="subscribe.phtml" hash="e6fc1193e1416db374f17783084f384e"/></dir><file name="lists.phtml" hash="8fdb435eb979aa15372076629503640b"/></dir><dir name="ebizmarts_abandonedcart"><dir name="email"><dir name="order"><dir name="items"><dir name="order"><file name="default.phtml" hash="5ff74635419e7ffb4d3660c306ad6590"/></dir></dir><file name="items.phtml" hash="cd81265b83dc2df835301b5fafb70f8f"/></dir></dir></dir><dir name="ebizmarts"><dir name="autoresponder"><dir name="backtostock"><dir name="catalog"><dir name="product"><file name="form.phtml" hash="0bf63a70962abf54ad5d995ef38724d3"/><file name="notice.phtml" hash="50e73f8633d6c90ef0a6f630e4d23802"/></dir></dir><file name="item.phtml" hash="f21ac40fa3279b8765012de283206e71"/></dir><dir name="customer"><file name="list.phtml" hash="be9cd36a644a39e3569c9ae0ded2087d"/></dir><dir name="related"><file name="items.phtml" hash="b05bfbbe1bdf48324d2e3e2df7d7ae97"/></dir><dir name="review"><file name="items.phtml" hash="a1fdcb739b6032b607e67047fd3b65f9"/></dir><file name="unsubscribe.phtml" hash="2635dae225a8a4536d58a87c4de9054d"/><dir name="wishlist"><file name="items.phtml" hash="217b12ebbabd46d14c2a95b57aa9dad0"/></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="ebizmarts"><file name="abandonedcart.xml" hash="56b2ca552b73a976207cd33afbcfb299"/><file name="abandonedcart.xml" hash="56b2ca552b73a976207cd33afbcfb299"/></dir><file name="magemonkey.xml" hash="613e5cd38048dedadb96434b9c3cc704"/><file name="mandrill.xml" hash="a79308bc32db35d45b151c01041be72d"/></dir><dir name="template"><dir name="ebizmarts"><dir name="abandonedcart"><dir name="dashboard"><file name="index.phtml" hash="180d73784745e0c1d5b37b0d435a2cc0"/><file name="salebar.phtml" hash="50a0c2645e2f651da9ba72fd875986cb"/><file name="totalbar.phtml" hash="139566ade758da1b8763590c680d65bd"/></dir><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="769a7167480f7dd4e46a5cc99e88af20"/></dir></dir></dir></dir><dir name="autoresponder"><dir name="system"><dir name="config"><dir name="backtostock"><dir name="fieldset"><file name="hint.phtml" hash="f02d4d7e5e45bc45b20cf8d531017c61"/></dir></dir><dir name="birthday"><dir name="fieldset"><file name="hint.phtml" hash="577162540f6f45b822d7784463c31456"/></dir></dir><dir name="fieldset"><file name="hint.phtml" hash="4dc3f6561861ae893eda757221ca8027"/></dir><dir name="review"><dir name="fieldset"><file name="hint.phtml" hash="a3e506441b757f5372337fa59de1d64f"/></dir></dir><dir name="wishlist"><dir name="fieldset"><file name="hint.phtml" hash="8f4427235da3afa30d271745f040c767"/></dir></dir></dir></dir></dir></dir><dir name="magemonkey"><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="f4bbe778592be65a6b452002dfc84c24"/></dir><file name="oauth_wizard.phtml" hash="226d42be1f41838bb80da0e2c3567d71"/></dir></dir></dir><dir name="mandrill"><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="d4025820e90c8e20bc8c6664984a78a1"/></dir><file name=".DS_Store" hash="40417025e55f5123b774e00f7e6e85da"/></dir><file name=".DS_Store" hash="2aa13fb9b981abc32578af2c9fca6a26"/></dir><file name=".DS_Store" hash="4b3efb1c0d10a07bde02cec631a81bbb"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Ebizmarts_AbandonedCart.csv" hash="29ee25f32946e687917cf542aaa66941"/><file name="Ebizmarts_MageMonkey.csv" hash="181e91ed91dfea5fe7dab66af5719af8"/><file name="Ebizmarts_Mandrill.csv" hash="3dac3af57664fd34f5eda8abf4098ee0"/><dir name="template"><dir name="email"><dir name="ebizmarts"><dir name="autoresponder"><file name="backtostock.html" hash="f470d282c2c91627119a131210aab56f"/><file name="birthday.html" hash="80c07ab41e13f953bac72f6164a8e9b1"/><file name="neworder.html" hash="c5f7af81d02baa3b4c851f327640c9d0"/><file name="noactivity.html" hash="9dfb99e8cea787a37e552c1e7ecdc961"/><file name="relatedproducts.html" hash="68a2b450dfeff78b4aefd77c1b6000b3"/><file name="review.html" hash="4fbb9589e1b1b7d6a356a59baa7382cb"/><file name="reviewcoupon.html" hash="a169187b1d057bb62f2b154c7c1589fc"/><file name="visitedproducts.html" hash="39eb203e97a10dc3944a57f07103b340"/><file name="wishlist.html" hash="f8dc86167dd0df3100f8821b8db77285"/></dir></dir><dir name="sales"><file name="abandoned_cart.html" hash="98e069b6316232dc155408326162c3aa"/></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="ebizmarts"><dir name="autoresponders"><file name="visitedproducts.js" hash="a8baeac3511ff874b7972c9008c6543b"/></dir></dir></dir></target><target name="magelib"><dir name="Mandrill"><file name="API.php" hash="9339873211ba696114c51c47a0efcc27"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="ebizmarts"><file name="ebizmarts-tab.png" hash="6dfa08c5cd4329d1df6e7b71fb1f925a"/><file name="ebizmarts.css" hash="10afb44e9b6b09378da6f7adccf1a711"/></dir><dir name="abandonedcart"><file name="abandonedcart.css" hash="0d29bc510ac4af6ae38b89c62019f797"/></dir><dir name="magemonkey"><file name="magemonkey.css" hash="00f0b145e9f9cc99eb46cf97faba3f65"/><file name="magemonkey.js" hash="e40717a83ef300776cc79ad9f8191005"/><file name="mailchimp-connected-ebizmarts-title.png" hash="c6bcb1aa606ecd3b0a9753bb48ddeb58"/><file name="mailchimp-ico.png" hash="14978ec398cede4060bc9b00365bb6c5"/><file name="mailchimp-section-background.png" hash="d4536261c6a3534fbb855428c0cca62c"/><file name="mailchimp-tab.png" hash="61972b4e063364071e81d8c9e10d8feb"/></dir><dir name="mandrill"><file name="mandrill-tab.png" hash="d7eaf9deef355e4b8b55a96070b90ffe"/><file name="mandrill.css" hash="37a538f63b82a486c364b337420ca8ad"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="magemonkey"><file name="magemonkey.css" hash="d4eac40764271596a3edc30d1014887f"/><file name="monkey.js" hash="d7d2e3f137d97202214fe29551695739"/></dir></dir></dir></dir></target></contents>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  <compatible/>
30
+ <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
31
  </package>
skin/adminhtml/default/default/abandonedcart/abandonedcart.css ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ .adminhtml-abandonedorder-dashboard .warning-msg {
2
+ background: url("../images/warning_msg_icon.gif") no-repeat scroll 5px 2px #E6E6E6 !important;
3
+ padding: 2px 2px 2px 30px;
4
+ margin-top:10px;
5
+ }
skin/adminhtml/default/default/ebizmarts/ebizmarts-tab.png ADDED
Binary file
skin/adminhtml/default/default/ebizmarts/ebizmarts.css ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ul.tabs a.ebizmarts-section:hover { background-color:#D8E6E6; background-image:url(images/tabs_link_over_bg.gif); }
2
+ ul.tabs a.ebizmarts-section {border-bottom: 1px; border-bottom-style: dotted;}
3
+ ul.tabs a.ebizmarts-section:hover {border-bottom:1px; border-bottom-style: dotted;}
4
+ ul.tabs a.ebizmarts-section span,
5
+ ul.tabs a.ebizmarts-section:hover span {overflow:hidden; padding-top:5px;}
6
+ ul.tabs a.ebizmarts-section.active, ul.tabs a.ebizmarts-section.active.last, ul.tabs a.ebizmarts-section.active:hover {background-color: white;border-bottom-color: #8BA5A5;}
7
+ ul.tabs a.ebizmarts-section.last {border-bottom: none;}
8
+
9
+ small { font-size: 9px; }
10
+
11
+ div.ebizmarts-notice {
12
+ background: none repeat scroll 0 0 #EAF0EE;
13
+ border: 1px solid #CCCCCC;
14
+ margin-bottom: 10px;
15
+ padding: 11px 0 0 10px;
16
+ }
17
+
18
+ h3.ebizmarts-header {
19
+ height: 22px;
20
+ overflow: hidden;
21
+ padding: 0;
22
+ text-indent: -9999px;
23
+ }