irzzo_autoreviewreminderemail - Version 1.0.4.2

Version Notes

The current Auto Review reminder extension has the following features updated :
*Updated Delay functionality
*Updated Mail section
*Updated Cron Job

Download this release

Release Info

Developer Nitin Gupta
Extension irzzo_autoreviewreminderemail
Version 1.0.4.2
Comparing to
See all releases


Code changes from version 1.0.4.1 to 1.0.4.2

Auto Review Reminder Emailer User Installation Guide -edited.pdf ADDED
Binary file
IrzooProductsDemo_Details.pdf ADDED
Binary file
Review Mail User Installation Guide 1.0.01.pdf DELETED
Binary file
app/code/community/MC/Mcautoreviewreminderemail/Model/Mcautoreviewreminderemail.php CHANGED
@@ -18,8 +18,7 @@ class MC_Mcautoreviewreminderemail_Model_Mcautoreviewreminderemail extends Mage_
18
 
19
  const REVIEW_MAIL_TEMPLATE = 'mcautoreviewreminderemail_section/mcautoreviewreminderemail_group/mcautoreviewreminderemail_email_template';
20
 
21
- const REVIEW_MAIL_ORDER_STATUS = 'mcautoreviewreminderemail_section/mcautoreviewreminderemail_group/mcautoreviewreminderemail_order_status';
22
-
23
 
24
  protected $_enabled = NULL;
25
 
@@ -27,18 +26,18 @@ class MC_Mcautoreviewreminderemail_Model_Mcautoreviewreminderemail extends Mage_
27
 
28
  protected $_delay = NULL;
29
 
30
- //protected $_email_subject = NULL;
31
 
32
  protected $_email_template = NULL;
33
 
34
  protected $_order_status = NULL;
35
 
36
- //protected $_Identity = NULL;
37
 
38
  /*
39
- * @method sendMailCustomer()
40
  * @param $day [Number of days]
41
- * @return $timestamp_days_before_seconds [time in second of x days before]
42
  * @discription:The method is mainly manipulate the time. It get day(s)
43
  * as parameter and manipulate it into seconds then returns the number of
44
  * days before time in seconds.
@@ -46,233 +45,206 @@ class MC_Mcautoreviewreminderemail_Model_Mcautoreviewreminderemail extends Mage_
46
 
47
  public function getSeconds($days=0)
48
  {
49
- $now = now();
50
-
51
- $now_seconds = strtotime($now);
52
-
53
- $three_days_second = (60 * 60 * 24 * $days);
54
-
55
- $timestamp_three_days_before_seconds = $now_seconds - $three_days_second;
56
-
57
- return $timestamp_three_days_before_seconds;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  }
59
 
60
- /*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  * @method sendReviewLinkEmail
62
  * @param
63
  * @return
64
  * @discription: The method is mainly responcible for
65
  */
66
-
67
- public function sendReviewLinkEmail() {
68
-
69
- /* Value of admin >> configuration >> Review >> Review Enable field [type(select)] */
70
-
71
- $this->_enabled = Mage::getStoreConfig(self::REVIEW_MAIL_ENABLE, Mage::app()->getStore());
72
-
73
- /* Value of admin >> configuration >> Review >> Email Identity field [type(select)] */
74
-
75
- $this->_identity = Mage::getStoreConfig(self::REVIEW_EMAIL_IDENTITY, Mage::app()->getStore());
76
-
77
- /* Value of admin >> configuration >> Review >> Delay field [type(text)] */
78
-
79
- $this->_delay = Mage::getStoreConfig(self::REVIEW_MAIL_DURATION, Mage::app()->getStore());
80
-
81
- /* Value of admin >> configuration >> Review >> Email Subject [type(text)] */
82
-
83
-
84
  $this->_email_template = Mage::getStoreConfig(self::REVIEW_MAIL_TEMPLATE, Mage::app()->getStore());
85
-
86
- $this->_order_status = Mage::getStoreConfig(self::REVIEW_MAIL_ORDER_STATUS, Mage::app()->getStore());
87
-
88
- $this->_identity = Mage::getStoreConfig(self::REVIEW_EMAIL_IDENTITY, Mage::app()->getStore());
89
-
90
- $mailTemplate = Mage::getModel('core/email_template');
91
-
92
- $template_collection = $mailTemplate->load($this->_email_template);
93
-
94
-
95
- $template_data = $template_collection->getData();
96
-
97
- if(empty($this->_delay)) $delay = 0;
98
-
99
-
100
- if($this->_enabled){
101
 
102
- $orders = Mage::getModel('sales/order')->getCollection()
103
- ->addFieldToFilter('status', array($this->_order_status))
104
- ->addAttributeToSelect('*');
105
-
106
-
107
- foreach ($orders as $order) {
108
-
109
- $id = $order->getCreatedAt();
110
-
111
- $order_Id = $order->getRealOrderId();
112
-
113
- $product_name = array();
114
-
115
- $time = strtotime($id);
116
-
117
- $time_last = $this->getSeconds($this->_delay);
118
-
119
- $time_start = $time_last - (60 * 60 * 24);
120
-
121
- $flag = 0;
122
-
123
- if($time < $time_last && $time > $time_start){
124
-
125
-
126
- If($_history = $order->getVisibleStatusHistory())
127
- {
128
- foreach($_history as $_historyItem)
129
- {
130
- $messMatch = explode(' date', $_historyItem->getComment());
131
-
132
- if($messMatch[0] === "Customer Notified :: Automatic Review Reminder Email sent on")
133
- {
134
- $flag++;
135
- }
136
- }
137
-
138
- }
139
-
140
-
141
-
142
-
143
- if($flag === 0){
144
-
145
- // Customer Email
146
-
147
- $email = $order->getCustomerEmail();
148
-
149
- //Customer Name
150
-
151
- $name = $order->getBillingAddress()->getName();
152
-
153
- if($items = $order->getAllItems())
154
- {
155
- foreach($items as $item)
156
- {
157
- if($item)
158
- {
159
- $product_name[] = $item->getName();
160
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  }
162
- }
163
-
164
-
165
- //Concatanating Ordered Products name by ', '
166
-
167
- $product = implode(", ", $product_name);
168
-
169
- $ReviewUrl = Mage::getUrl('mcautoreviewreminderemail/product/orderItems', array('oid'=>base64_encode($order->getId())));
170
-
171
- $message = $template_data[template_text];
172
-
173
- $message = str_replace("{{ReviewURL}}", $ReviewUrl, $message);
174
-
175
- $message = str_replace("{{OrderNumber}}", $order_Id, $message);
176
-
177
- $message = str_replace("{{ProductName}}", $product, $message);
178
-
179
- //$message = str_replace("{{ProductUrl}}", $product_url_str, $message);
180
-
181
-
182
- /*Get object of core translate.
183
- * This static method create a new object
184
- * only the condition no any object of same
185
- * class has present
186
- */
187
-
188
- $translate = Mage::getSingleton('core/translate');
189
-
190
- $templateId = $this->_email_template;
191
-
192
- /* Checking for Email Template */
193
-
194
- if(!empty($template_data)){
195
-
196
- $templateId = $template_data['template_id'];
197
-
198
- // Get Mail Subjest
199
- $mailSubject = $template_data['template_subject'];
200
-
201
- //fetch sender data from Adminend > System > Configuration > Store Email Addresses
202
-
203
- switch($this->_identity)
204
- {
205
- case 'general':
206
- //fetch sender email
207
- $from_email = Mage::getStoreConfig('trans_email/ident_general/email');
208
-
209
- //fetch sender name
210
- $from_name = Mage::getStoreConfig('trans_email/ident_general/name');
211
- break;
212
- case 'sales':
213
- //fetch sender email
214
- $from_email = Mage::getStoreConfig('trans_email/ident_sales/email');
215
-
216
- //fetch sender name
217
- $from_name = Mage::getStoreConfig('trans_email/ident_sales/name');
218
- break;
219
- case 'support':
220
- //fetch sender email
221
- $from_email = Mage::getStoreConfig('trans_email/ident_support/email');
222
-
223
- //fetch sender name
224
- $from_name = Mage::getStoreConfig('trans_email/ident_support/name');
225
- break;
226
- case 'custom1':
227
- //fetch sender email
228
- $from_email = Mage::getStoreConfig('trans_email/ident_custom1/email');
229
-
230
- //fetch sender name
231
- $from_name = Mage::getStoreConfig('trans_email/ident_custom1/name');
232
- break;
233
- case 'custom2':
234
- //fetch sender email
235
- $from_email = Mage::getStoreConfig('trans_email/ident_custom2/email');
236
-
237
- //fetch sender name
238
- $from_name = Mage::getStoreConfig('trans_email/ident_custom2/name');
239
- break;
240
- }
241
-
242
-
243
-
244
- $billingAddress = $order->getBillingAddress();
245
-
246
- $ReviewUrl = Mage::getUrl('mcautoreviewreminderemail/product/orderItems', array('oid'=>base64_encode($order->getId())));
247
-
248
- //$message = $template_data[template_text];
249
-
250
- $mail = new Zend_Mail();
251
-
252
- $mail->setBodyHTML($message);
253
-
254
- $mail->setFrom($from_email, $from_name);
255
-
256
- $mail->addTo($order->getCustomerEmail(), $billingAddress->getFirstname() . ' ' . $billingAddress->getLastname());
257
-
258
- $mail->setSubject($mailSubject);
259
-
260
-
261
-
262
- if($mail->send()){
263
-
264
- $order->addStatusHistoryComment('Customer Notified :: Automatic Review Reminder Email sent on date '.date("Y-m-d H:i:s", time()), $this->_order_status)
265
- ->setIsVisibleOnFront(true)
266
- ->setIsCustomerNotified(true);
267
-
268
- $order->save();
269
-
270
- //die('xxx');
271
- }
272
- }
273
- }
274
- }
275
- }
276
- }
277
  }
278
  }
18
 
19
  const REVIEW_MAIL_TEMPLATE = 'mcautoreviewreminderemail_section/mcautoreviewreminderemail_group/mcautoreviewreminderemail_email_template';
20
 
21
+ const REVIEW_MAIL_ORDER_STATUS = 'mcautoreviewreminderemail_section/mcautoreviewreminderemail_group/mcautoreviewreminderemail_order_status';
 
22
 
23
  protected $_enabled = NULL;
24
 
26
 
27
  protected $_delay = NULL;
28
 
29
+ //protected $_email_subject = NULL;
30
 
31
  protected $_email_template = NULL;
32
 
33
  protected $_order_status = NULL;
34
 
35
+ //protected $_Identity = NULL;
36
 
37
  /*
38
+ * @method getSeconds()
39
  * @param $day [Number of days]
40
+ * @return $three_days_second [time in second of x days before]
41
  * @discription:The method is mainly manipulate the time. It get day(s)
42
  * as parameter and manipulate it into seconds then returns the number of
43
  * days before time in seconds.
45
 
46
  public function getSeconds($days=0)
47
  {
48
+ $now = now();
49
+ $now_seconds = strtotime($now);
50
+ $three_days_second = (60 * 60 * 24 * $days);
51
+ //$timestamp_three_days_before_seconds = $now_seconds - $three_days_second;
52
+ return $three_days_second;
53
+ }
54
+ /*
55
+ * @method getOrderHistory()
56
+ * @param $order [An order object]
57
+ * @return $flag [bololean true/false]
58
+ * @discription:The method is mainly manipulate the history of review mail .
59
+ * if any review history present in order then it returns true else false .
60
+ */
61
+
62
+ public function getOrderHistory($order){
63
+ $flag = false;
64
+ If($_history = $order->getVisibleStatusHistory())
65
+ {
66
+ foreach($_history as $_historyItem)
67
+ {
68
+ $messMatch = explode(' date', $_historyItem->getComment());
69
+
70
+ if($messMatch[0] === "Customer Notified :: Automatic Review Reminder Email sent on")
71
+ {
72
+ $flag= true;
73
+ }
74
+ }
75
+ }
76
+ return $flag;
77
  }
78
 
79
+ // * @method getFromMail()
80
+ // * @param $identity [string]
81
+ // * @return $from [array]
82
+ // * @discription:The method is mainly get the Store configuration trens_email settings.
83
+ //
84
+ public function getFromMail($identity){
85
+
86
+ switch($identity)
87
+ {
88
+ case 'general':
89
+ //fetch sender email
90
+ $from_email = Mage::getStoreConfig('trans_email/ident_general/email');
91
+ //fetch sender name
92
+ $from_name = Mage::getStoreConfig('trans_email/ident_general/name');
93
+ break;
94
+ case 'sales':
95
+ //fetch sender email
96
+ $from_email = Mage::getStoreConfig('trans_email/ident_sales/email');
97
+ //fetch sender name
98
+ $from_name = Mage::getStoreConfig('trans_email/ident_sales/name');
99
+ break;
100
+ case 'support':
101
+ //fetch sender email
102
+ $from_email = Mage::getStoreConfig('trans_email/ident_support/email');
103
+ //fetch sender name
104
+ $from_name = Mage::getStoreConfig('trans_email/ident_support/name');
105
+ break;
106
+ case 'custom1':
107
+ //fetch sender email
108
+ $from_email = Mage::getStoreConfig('trans_email/ident_custom1/email');
109
+ //fetch sender name
110
+ $from_name = Mage::getStoreConfig('trans_email/ident_custom1/name');
111
+ break;
112
+ case 'custom2':
113
+ //fetch sender email
114
+ $from_email = Mage::getStoreConfig('trans_email/ident_custom2/email');
115
+ //fetch sender name
116
+ $from_name = Mage::getStoreConfig('trans_email/ident_custom2/name');
117
+ break;
118
+ }
119
+ $from = array("name" => $from_name, "email" => $from_email);
120
+
121
+ return $from;
122
+ }
123
+ // Getting order collection based on order history
124
+
125
+ public function OrderCollection()
126
+ {
127
+ $tbl_History = Mage::getSingleton('core/resource')->getTableName('sales_flat_order_status_history');
128
+ $Collection = Mage::getModel('sales/order')->getCollection();
129
+ $Collection->getSelect()->join( array('addr' => Mage::getSingleton('core/resource')->getTableName('sales_flat_order_status_history')),
130
+ 'main_table.entity_id = addr.parent_id', array('main_table.*' , 'EnititId' => 'addr.entity_id' , 'statusUpdationTime' => 'addr.created_at') );
131
+
132
+ return $Collection;
133
+ }
134
+
135
+ /*
136
  * @method sendReviewLinkEmail
137
  * @param
138
  * @return
139
  * @discription: The method is mainly responcible for
140
  */
141
+
142
+ public function sendReviewLinkEmail() {
143
+ /* Value of admin >> configuration >> Review >> Review Enable field [type(select)] */
144
+ $this->_enabled = Mage::getStoreConfig(self::REVIEW_MAIL_ENABLE, Mage::app()->getStore());
145
+ /* Value of admin >> configuration >> Review >> Email Identity field [type(select)] */
146
+ $this->_identity = Mage::getStoreConfig(self::REVIEW_EMAIL_IDENTITY, Mage::app()->getStore());
147
+ /* Value of admin >> configuration >> Review >> Delay field [type(text)] */
148
+ $this->_delay = (int) Mage::getStoreConfig(self::REVIEW_MAIL_DURATION, Mage::app()->getStore());
149
+ /* Value of admin >> configuration >> Review >> Email Subject [type(text)] */
 
 
 
 
 
 
 
 
 
150
  $this->_email_template = Mage::getStoreConfig(self::REVIEW_MAIL_TEMPLATE, Mage::app()->getStore());
151
+ $this->_order_status = Mage::getStoreConfig(self::REVIEW_MAIL_ORDER_STATUS, Mage::app()->getStore());
152
+ $this->_identity = Mage::getStoreConfig(self::REVIEW_EMAIL_IDENTITY, Mage::app()->getStore());
153
+ $mailTemplate = Mage::getModel('core/email_template');
154
+ $template_collection = $mailTemplate->load($this->_email_template);
155
+ $template_data = $template_collection->getData();
 
 
 
 
 
 
 
 
 
 
 
156
 
157
+
158
+
159
+ if($this->_enabled){ // If extension is enable
160
+ $orders = $this->OrderCollection();
161
+ $orders->addAttributeToSort('statusUpdationTime', 'desc');
162
+ foreach ($orders->getData() as $values):
163
+ if($values['status'] == $this->_order_status):
164
+ if(!in_array($values['entity_id'], $order_entity )):
165
+ $order_entity[] = $values['entity_id']; // Filtering order's entity id of last updated
166
+ $Status_Enityid[] = $values['EnititId']; // Filtering entity id of last updated
167
+ endif;
168
+ endif;
169
+ endforeach;
170
+
171
+ $collection = $this->OrderCollection();
172
+ $collection->addAttributeToFilter('addr.entity_id', array('in' => $Status_Enityid))
173
+ ->addAttributeToSort('addr.created_at', 'desc') ;
174
+
175
+ foreach ($collection as $order){
176
+ $now = time(); // Current Time
177
+ $Order_StatusUpdatedate = strtotime($order->getData('statusUpdationTime')); // Converting Order update date
178
+ $datediff = $now - $Order_StatusUpdatedate; // Difference between cureent time to status updation time
179
+ $Order_numberofday = floor($datediff/(60*60*24)); // Getting number of days of order Difference
180
+ $id = $order->getCreatedAt();
181
+ $order_Id = $order->getRealOrderId();
182
+ $product_name = array();
183
+ try
184
+ {
185
+ if( ($Order_numberofday == $this->_delay || $Order_numberofday == ($this->_delay+1) ) ){
186
+ // for each order Checking slected Status update time (Number of day between delay set in admin setting of Review reminder)
187
+ $flag = $this->getOrderHistory($order); // Getiing is customer is notified
188
+ if(!$flag){ // If Customer has not noitfied before
189
+ $email = $order->getCustomerEmail(); // Customer Email
190
+ $name = $order->getBillingAddress()->getName(); // Customer Name
191
+ if($items = $order->getAllItems())
192
+ {
193
+ foreach($items as $item)
194
+ {
195
+ $_product = Mage::getModel('catalog/product')->load($item->getProductId());
196
+ if($item)
197
+ {
198
+ if(!$item->getData('parent_item_id')): $product_name[] = $item->getName(); endif;
199
+
200
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
201
  }
202
+ }
203
+ //Concatanating Ordered Products name by ', '
204
+ $product = implode(", ", $product_name);
205
+ $ReviewUrl = Mage::getUrl('mcautoreviewreminderemail/product/orderItems', array('oid'=>base64_encode($order->getId())));
206
+ $message = $template_data[template_text];
207
+ $message = str_replace("{{ReviewURL}}", $ReviewUrl, $message); // Replacing {{ReviewURL}} with the product review url
208
+ $message = str_replace("{{OrderNumber}}", $order_Id, $message); // Replacing {{OrderNumber}} with the Order id
209
+ $message = str_replace("{{ProductName}}", $product, $message); // Replacing {{ProductName}} with the Origenal products name
210
+ $translate = Mage::getSingleton('core/translate');
211
+ $templateId = $this->_email_template;
212
+ /* Checking for Email Template */
213
+ if(!empty($template_data)){
214
+ $templateId = $template_data['template_id'];
215
+ // Get Mail Subjest
216
+ $mailSubject = $template_data['template_subject'];
217
+ //fetch sender data from Admin end > System > Configuration > Store Email Addresses
218
+ $from = $this->getFromMail($this->_identity);
219
+ $billingAddress = $order->getBillingAddress();
220
+ $ReviewUrl = Mage::getUrl('mcautoreviewreminderemail/product/orderItems', array('oid'=>base64_encode($order->getId())));
221
+ $mail = new Zend_Mail();
222
+ $mail->setBodyHTML($message , 'UTF-8',Zend_Mime::ENCODING_8BIT);
223
+ $mail->setFrom($from['email'], $from['name']);
224
+ $mail->addTo($order->getCustomerEmail(), $billingAddress->getFirstname() . ' ' . $billingAddress->getLastname());
225
+ $mail->setSubject($mailSubject , 'UTF-8',Zend_Mime::ENCODING_8BIT); // setting subject line
226
+ if($mail->send()){
227
+ $order->addStatusHistoryComment('Customer Notified :: Automatic Review Reminder Email sent on date '.date("Y-m-d H:i:s", time()), $this->_order_status)
228
+ ->setIsVisibleOnFront(true)
229
+ ->setIsCustomerNotified(true);
230
+ $order->save();
231
+ }
232
  }
233
+
234
+ } // End If Customer has not noitfied before
235
+
236
+ } // End if block for number of days
237
+
238
+ } // end Try block
239
+ catch (Exception $e)
240
+ {
241
+ throw new Exception( 'Something really gone wrong', 0, $e);
242
+ } // end catch block
243
+
244
+ }
245
+
246
+
247
+ // end for each block
248
+ } // End if extension is not enabled
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
249
  }
250
  }
app/code/community/MC/Mcautoreviewreminderemail/etc/config.xml CHANGED
@@ -12,7 +12,7 @@
12
  <config>
13
  <modules>
14
  <MC_Mcautoreviewreminderemail>
15
- <version>1.0.0</version>
16
  </MC_Mcautoreviewreminderemail>
17
  </modules>
18
  <frontend>
12
  <config>
13
  <modules>
14
  <MC_Mcautoreviewreminderemail>
15
+ <version>1.0.4.2</version>
16
  </MC_Mcautoreviewreminderemail>
17
  </modules>
18
  <frontend>
app/code/community/MC/Mcautoreviewreminderemail/etc/system.xml CHANGED
@@ -68,9 +68,9 @@
68
  </mcautoreviewreminderemail_order_status>
69
  <mcautoreviewreminderemail_duration translate="label">
70
  <label>Delay</label>
71
- <comment>Enter the duration in day. Mail will be sent after X(Delay) Days from Order Complete Status Event selected above</comment>
72
  <frontend_type>text</frontend_type>
73
- <validate>validate-number</validate>
74
  <sort_order>3</sort_order>
75
  <show_in_default>1</show_in_default>
76
  <show_in_website>1</show_in_website>
@@ -78,7 +78,7 @@
78
  </mcautoreviewreminderemail_duration>
79
  <mcautoreviewreminderemail_email_template>
80
  <label>Select Email Template </label>
81
- <comment>It is advisable to create a new email template for this purpose and then select it in this configuration. Make sure you add review URL in your template. For e.g., {{ReviewURL}} <![CDATA[ <br /><span style="color:#FFA500">NOTE:- Default template from locale should not be used. Make sure you add product Name in your template. For e.g., {{ProductName}}) You can also use other variables like OrderNumber {{OrderNumber}}</span>]]></comment>
82
  <frontend_type>select</frontend_type>
83
  <backend_model>mcautoreviewreminderemail/Mcautoreviewreminderemailtemplate</backend_model>
84
  <source_model>adminhtml/system_config_source_email_template</source_model>
68
  </mcautoreviewreminderemail_order_status>
69
  <mcautoreviewreminderemail_duration translate="label">
70
  <label>Delay</label>
71
+ <comment>Mail will be sent if an order gets completed within X days of delay from order placement date</comment>
72
  <frontend_type>text</frontend_type>
73
+ <validate>validate-number validate-zero-or-greater</validate>
74
  <sort_order>3</sort_order>
75
  <show_in_default>1</show_in_default>
76
  <show_in_website>1</show_in_website>
78
  </mcautoreviewreminderemail_duration>
79
  <mcautoreviewreminderemail_email_template>
80
  <label>Select Email Template </label>
81
+ <comment>It is advisable to create a new email template for this purpose and then select it in this configuration. Make sure you add review URL in your template. For e.g., {{ReviewURL}} <![CDATA[ <br /><span style="color:#FFA500">NOTE:- Default template from locale should not be used. Make sure you add product Name in your template. For e.g., {{ProductName}} You can also use other variables like OrderNumber {{OrderNumber}}</span>]]></comment>
82
  <frontend_type>select</frontend_type>
83
  <backend_model>mcautoreviewreminderemail/Mcautoreviewreminderemailtemplate</backend_model>
84
  <source_model>adminhtml/system_config_source_email_template</source_model>
app/code/community/MC/Mcautoreviewreminderemail/sql/mcautoreviewreminderemail_setup/{mysql4-install-1.0.0.php → mysql4-install-1.0.4.2.php} RENAMED
File without changes
app/etc/modules/MC_Mcautoreviewreminderemail.xml DELETED
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
-
3
- <!--
4
- Document : MC_Mcautoreviewreminderemail.xml
5
- Created on : May 10, 2012, 3:05 PM
6
- Author : Magento Complete
7
- Description:
8
- Purpose of the document follows.
9
- -->
10
-
11
- <config>
12
- <modules>
13
- <MC_Mcautoreviewreminderemail>
14
- <active>true</active>
15
- <codePool>community</codePool>
16
- </MC_Mcautoreviewreminderemail>
17
- </modules>
18
- </config>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
package.xml CHANGED
@@ -1,49 +1,40 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>irzzo_autoreviewreminderemail</name>
4
- <version>1.0.4.1</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>Auto Review Reminder Emailer extension .</summary>
10
  <description>&lt;p&gt;&lt;strong&gt;Auto Review Reminder &lt;/strong&gt;&lt;/p&gt;&#xD;
11
  &lt;p&gt;Irzoo&#x2019;s Auto Review Reminder Emailer will 100% get you more customer/client reviews on your websites. Product reviews have a great influence on customers buying decision (to click on purchase Now button or not), as they provide them with added knowledge about the product. Reviews prove that services offered by you are best in class and the product is one they are looking for.&lt;/p&gt;&#xD;
12
- &lt;p&gt;However, just a few costumers take out time to write reviews about the product used, particularly if everything went as expected.&lt;/p&gt;&#xD;
13
- &lt;p&gt;Auto review reminder emailer is created to automatically remind customers to write a review &#x2013; an automated email is sent after stipulated number of days after order shipment and includes a link that will automatically log in the buyer. &lt;/p&gt;&#xD;
 
 
 
 
14
  &lt;p&gt;&lt;strong&gt;Features of Auto Review Reminder:&lt;/strong&gt;&lt;/p&gt;&#xD;
15
  &lt;ul&gt;&#xD;
16
- &lt;li&gt;Allows for sending product review reminders automatically/manually&lt;/li&gt;&#xD;
17
- &lt;li&gt;Allows for choosing more than one-status or a custom-status&lt;/li&gt;&#xD;
18
- &lt;li&gt;Enables Admin to create/delete/edit reminders &lt;/li&gt;&#xD;
19
- &lt;li&gt;Enables Admin to ascertain which order status is to prompt review reminders&lt;/li&gt;&#xD;
20
- &lt;li&gt;Enables Admin to classify &amp; filter review reminders by store view&lt;/li&gt;&#xD;
21
- &lt;li&gt;Facilitates to set whether all or only those subscribed to newsletter customers will be able to receive review reminders via Email&lt;/li&gt;&#xD;
22
- &lt;li&gt;Saves the history of sent review reminders and facilitates to delete them&lt;/li&gt;&#xD;
23
  &lt;li&gt;Provides Admin with an editable HTML template for reminders&lt;/li&gt;&#xD;
24
- &lt;li&gt;Allows customer to Unsubscribe from receiving review reminders &lt;/li&gt;&#xD;
25
  &lt;li&gt;Multi-store compatible&lt;/li&gt;&#xD;
26
- &lt;li&gt;Easy dashboard overview of pending reminders&lt;/li&gt;&#xD;
27
- &lt;li&gt;Multiple purchases of the same product by the same customer, one review reminder&lt;/li&gt;&#xD;
28
- &lt;li&gt;Free configuration of the order delay between purchase and review reminder&lt;/li&gt;&#xD;
29
  &lt;/ul&gt;&#xD;
30
  &lt;p&gt;&lt;/p&gt;&#xD;
31
- &lt;h2&gt;Obtaining Your Free License Key&lt;/h2&gt;&#xD;
32
- &lt;p&gt; Contact us at &lt;a href="mailto:support@irzoo.com"&gt;support@irzoo.com&lt;/a&gt; for Free License Key.&lt;/p&gt;&#xD;
33
- &lt;p&gt;&lt;/p&gt;&#xD;
34
  &lt;h2&gt;Need more information ?&lt;/h2&gt;&#xD;
35
  &lt;p&gt;Download &lt;a href="http://www.irzoo.com/documentation/Review_Mail_User_Installation_Guide_1.0.01.pdf"&gt;Review Mail User Manual&lt;/a&gt;&lt;/p&gt;&#xD;
36
  &lt;p&gt;Take a look at our website for more information : &lt;a href="http://www.irzoo.com/index.php/magento-professional-extensions/auto-review-remainder-emailer.html"&gt;IRZOO&lt;/a&gt;&lt;/p&gt;</description>
37
- <notes>The current Auto Review Reminder emailer extension module has the following features updated :&#xD;
38
- *Updated license terms&#xD;
39
- *Updated Installation pdf file&#xD;
40
  *Updated Mail section&#xD;
41
- *Updated CrontJob&#xD;
42
- </notes>
43
- <authors><author><name>Nitin Gupta</name><user>Irzoo</user><email>support@irzoo.com</email></author></authors>
44
- <date>2012-11-27</date>
45
- <time>12:12:20</time>
46
- <contents><target name="mage"><dir name="app"><dir name="code"><dir name="community"><dir name="MC"><dir name="Mcautoreviewreminderemail"><dir name="Block"><file name="OrderItems.php" hash="ec8bd2ac45848919fbb1c5a297e8ef81"/></dir><dir name="Helper"><file name="Data.php" hash="ae57c5fb854298663972b44643b220dc"/></dir><dir name="Model"><file name="Mcautoreviewreminderemail.php" hash="477505383fb5fb3fa923a7022ad3cf11"/><file name="Mcautoreviewreminderemailconfig.php" hash="be49b753adb847fa09cfb9230306e80d"/><file name="Mcautoreviewreminderemailtemplate.php" hash="24c333e8814ab3f5d139edc87eb57b36"/></dir><dir name="controllers"><file name="ProductController.php" hash="0ac96b4388b0243c1c28f7fa34de39a8"/></dir><dir name="etc"><file name="adminhtml.xml" hash="1a75635dc4af87408bd179753ae06f86"/><file name="config.xml" hash="e6d1dc5ff66f9edec926daf16c2b7a93"/><file name="system.xml" hash="ae1669bea5e648fe7b01488e2d78a1bb"/></dir><dir name="sql"><dir name="mcautoreviewreminderemail_setup"><file name="mysql4-install-1.0.0.php" hash="6981afef458486650f0ce78c0527e963"/></dir></dir></dir></dir></dir></dir><dir name="design"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="mcautoreviewreminderemail.xml" hash="7c566a39c204e83a55309f2bfadfffa3"/></dir><dir name="template"><dir name="MC"><dir name="Mcautoreviewreminderemail"><file name="form.phtml" hash="360ffad933e92ab8e07e35bcc56b6546"/><file name="index.phtml" hash="a94d21c7aad44514f23edccff49e930f"/><file name="loadmorereviews.phtml" hash="1f5ca476132b2d1f10768e9ff08224cc"/><file name="orderItems.phtml" hash="b93248494d73fb5a8f5406f32f7e57a4"/></dir></dir></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="MC_Mcautoreviewreminderemail.xml" hash="ab944a54085cd6511dfc9068bc8f884d"/></dir></dir></dir><dir name="."><file name="Review Mail User Installation Guide 1.0.01.pdf" hash="0bfd7e882cd71d8638029876baa12709"/></dir></target></contents>
47
  <compatible/>
48
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
49
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>irzzo_autoreviewreminderemail</name>
4
+ <version>1.0.4.2</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>Provides you the power to send automated emails to customers asking them to review the products purchased.</summary>
10
  <description>&lt;p&gt;&lt;strong&gt;Auto Review Reminder &lt;/strong&gt;&lt;/p&gt;&#xD;
11
  &lt;p&gt;Irzoo&#x2019;s Auto Review Reminder Emailer will 100% get you more customer/client reviews on your websites. Product reviews have a great influence on customers buying decision (to click on purchase Now button or not), as they provide them with added knowledge about the product. Reviews prove that services offered by you are best in class and the product is one they are looking for.&lt;/p&gt;&#xD;
12
+ &lt;p&gt;However, just a few customers take out time to write reviews about the product used, particularly if everything went as expected.&lt;/p&gt;&#xD;
13
+ &lt;p&gt;Auto review reminder emailer provides you the possibility to send email messages to your customers requesting them to review the products they have purchase from your e-commerce store. An automated email is sent after stipulated number of days(configurable by administrator) after order shipment and includes a link that will automatically log in the buyer. &lt;/p&gt;&#xD;
14
+ &lt;p&gt;&lt;/p&gt;&#xD;
15
+ &lt;h2&gt;Obtaining Your Free License Key&lt;/h2&gt;&#xD;
16
+ &lt;p&gt; Contact us at &lt;a href="mailto:support@irzoo.com"&gt;support@irzoo.com&lt;/a&gt; for Free License Key.&lt;/p&gt;&#xD;
17
+ &lt;p&gt;&lt;/p&gt;&#xD;
18
  &lt;p&gt;&lt;strong&gt;Features of Auto Review Reminder:&lt;/strong&gt;&lt;/p&gt;&#xD;
19
  &lt;ul&gt;&#xD;
20
+ &lt;li&gt;Allows for sending product review reminders automatically&lt;/li&gt;&#xD;
21
+ &lt;li&gt;Allows for choosing status after which reminder must be sent&lt;/li&gt;&#xD;
 
 
 
 
 
22
  &lt;li&gt;Provides Admin with an editable HTML template for reminders&lt;/li&gt;&#xD;
 
23
  &lt;li&gt;Multi-store compatible&lt;/li&gt;&#xD;
24
+ &lt;li&gt;Delay Can be configured&lt;/li&gt;&#xD;
 
 
25
  &lt;/ul&gt;&#xD;
26
  &lt;p&gt;&lt;/p&gt;&#xD;
 
 
 
27
  &lt;h2&gt;Need more information ?&lt;/h2&gt;&#xD;
28
  &lt;p&gt;Download &lt;a href="http://www.irzoo.com/documentation/Review_Mail_User_Installation_Guide_1.0.01.pdf"&gt;Review Mail User Manual&lt;/a&gt;&lt;/p&gt;&#xD;
29
  &lt;p&gt;Take a look at our website for more information : &lt;a href="http://www.irzoo.com/index.php/magento-professional-extensions/auto-review-remainder-emailer.html"&gt;IRZOO&lt;/a&gt;&lt;/p&gt;</description>
30
+ <notes>The current Auto Review reminder extension has the following features updated :&#xD;
31
+ *Updated Delay functionality&#xD;
 
32
  *Updated Mail section&#xD;
33
+ *Updated Cron Job</notes>
34
+ <authors><author><name>Nitin Gupta</name><user>irzoo</user><email>support@irzoo.com</email></author></authors>
35
+ <date>2013-02-22</date>
36
+ <time>12:09:37</time>
37
+ <contents><target name="mage"><dir name="app"><dir name="code"><dir name="community"><dir name="MC"><dir name="Mcautoreviewreminderemail"><dir name="Block"><file name="OrderItems.php" hash="ec8bd2ac45848919fbb1c5a297e8ef81"/></dir><dir name="Helper"><file name="Data.php" hash="ae57c5fb854298663972b44643b220dc"/></dir><dir name="Model"><file name="Mcautoreviewreminderemail.php" hash="c1495500fca5b5675f2d62fd110233be"/><file name="Mcautoreviewreminderemailconfig.php" hash="be49b753adb847fa09cfb9230306e80d"/><file name="Mcautoreviewreminderemailtemplate.php" hash="24c333e8814ab3f5d139edc87eb57b36"/></dir><dir name="controllers"><file name="ProductController.php" hash="0ac96b4388b0243c1c28f7fa34de39a8"/></dir><dir name="etc"><file name="adminhtml.xml" hash="1a75635dc4af87408bd179753ae06f86"/><file name="config.xml" hash="db263f48d111838b02a34b750dfe3316"/><file name="system.xml" hash="f904836fb5c360f37d5768e9a57b31ff"/></dir><dir name="sql"><dir name="mcautoreviewreminderemail_setup"><file name="mysql4-install-1.0.4.2.php" hash="6981afef458486650f0ce78c0527e963"/></dir></dir></dir></dir></dir></dir><dir name="design"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="mcautoreviewreminderemail.xml" hash="7c566a39c204e83a55309f2bfadfffa3"/></dir><dir name="template"><dir name="MC"><dir name="Mcautoreviewreminderemail"><file name="form.phtml" hash="360ffad933e92ab8e07e35bcc56b6546"/><file name="index.phtml" hash="a94d21c7aad44514f23edccff49e930f"/><file name="loadmorereviews.phtml" hash="1f5ca476132b2d1f10768e9ff08224cc"/><file name="orderItems.phtml" hash="b93248494d73fb5a8f5406f32f7e57a4"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="MC_Mcautoreviewreminderemail.xml" hash=""/></dir></dir><dir name="."><file name="Auto Review Reminder Emailer User Installation Guide -edited.pdf" hash="d348caa95a41168e153d1dbd0c888b8c"/><file name="IrzooProductsDemo_Details.pdf" hash="65a9a1bfa5ee8d04ebcf32e2b0dbda4b"/></dir></target></contents>
 
38
  <compatible/>
39
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
40
  </package>