Rejoiner - Version 1.1.17

Version Notes

was deleted unused functionality

Download this release

Release Info

Developer Magento Core Team
Extension Rejoiner
Version 1.1.17
Comparing to
See all releases


Code changes from version 1.1.16 to 1.1.17

app/code/community/Rejoiner/Acr/Model/Observer.php CHANGED
@@ -9,34 +9,7 @@ class Rejoiner_Acr_Model_Observer
9
  const XML_PATH_REJOINER_API_SECRET = 'checkout/rejoiner_acr/api_secret';
10
  const XML_PATH_REJOINER_API_SITE_ID = 'checkout/rejoiner_acr/site_id';
11
 
12
- public function orderSuccess(Varien_Event_Observer $observer)
13
- {
14
-
15
- if (Mage::getStoreConfig('checkout/rejoiner_acr/email')) {
16
- $orders = $observer->getOrderIds();
17
- $orderModel = Mage::getModel('sales/order')->load($orders[0]);
18
- $customerEmail = $orderModel->getCustomerEmail();
19
- $fromName = Mage::getStoreConfig('trans_email/ident_general/name');
20
- $fromEmail = Mage::getStoreConfig('trans_email/ident_general/email');
21
- $mail = Mage::getModel('core/email');
22
- $mail->setToName('Rejoiner');
23
- $mail->setToEmail('remove@rejoiner.com');
24
- $mail->setBody('');
25
- $mail->setSubject($customerEmail);
26
- $mail->setFromEmail($fromEmail);
27
- $mail->setFromName($fromName);
28
- $mail->setType('html');
29
- try {
30
- $mail->send();
31
- }
32
- catch (Exception $e) {
33
- Mage::log('Error while sending email to remove@rejoiner.com');
34
- }
35
- }
36
- $this->_trackOrderSuccessConversion($observer);
37
- }
38
-
39
- protected function _trackOrderSuccessConversion(Varien_Event_Observer $observer)
40
  {
41
  /** @var Mage_Checkout_Model_Session $session */
42
  $lastOrderId = $observer->getEvent()->getData('order_ids');
9
  const XML_PATH_REJOINER_API_SECRET = 'checkout/rejoiner_acr/api_secret';
10
  const XML_PATH_REJOINER_API_SITE_ID = 'checkout/rejoiner_acr/site_id';
11
 
12
+ public function trackOrderSuccessConversion(Varien_Event_Observer $observer)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
  {
14
  /** @var Mage_Checkout_Model_Session $session */
15
  $lastOrderId = $observer->getEvent()->getData('order_ids');
app/code/community/Rejoiner/Acr/etc/config.xml CHANGED
@@ -52,7 +52,7 @@
52
  <observers>
53
  <rejoiner_order_success>
54
  <class>rejoiner_acr/observer</class>
55
- <method>orderSuccess</method>
56
  </rejoiner_order_success>
57
  </observers>
58
  </checkout_onepage_controller_success_action>
52
  <observers>
53
  <rejoiner_order_success>
54
  <class>rejoiner_acr/observer</class>
55
+ <method>trackOrderSuccessConversion</method>
56
  </rejoiner_order_success>
57
  </observers>
58
  </checkout_onepage_controller_success_action>
app/code/community/Rejoiner/Acr/etc/system.xml CHANGED
@@ -54,16 +54,6 @@
54
  <show_in_website>1</show_in_website>
55
  <show_in_store>1</show_in_store>
56
  </domain>
57
- <email translate="label">
58
- <label>Email to Rejoiner</label>
59
- <frontend_type>select</frontend_type>
60
- <source_model>adminhtml/system_config_source_yesno</source_model>
61
- <comment>Email Rejoiner when a successful order occurs</comment>
62
- <sort_order>60</sort_order>
63
- <show_in_default>1</show_in_default>
64
- <show_in_website>1</show_in_website>
65
- <show_in_store>1</show_in_store>
66
- </email>
67
  <track_numbers>
68
  <label>Track Phone Numbers</label>
69
  <frontend_type>select</frontend_type>
54
  <show_in_website>1</show_in_website>
55
  <show_in_store>1</show_in_store>
56
  </domain>
 
 
 
 
 
 
 
 
 
 
57
  <track_numbers>
58
  <label>Track Phone Numbers</label>
59
  <frontend_type>select</frontend_type>
package.xml CHANGED
@@ -1,19 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Rejoiner</name>
4
- <version>1.1.16</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>Rejoiner Cart Abandonment Remarketing</summary>
10
  <description>Turn abandoned carts into 15% more sales with Rejoiner.</description>
11
- <notes>Added automatic application of a coupon via query string parameter.&#xD;
12
- Added automatic addition of cart item to cart via query string parameter.</notes>
13
  <authors><author><name>Mike</name><user>auto-converted</user><email>mike@rejoiner.com</email></author></authors>
14
- <date>2015-10-13</date>
15
- <time>12:12:04</time>
16
- <contents><target name="mageetc"><dir name="modules"><file name="Rejoiner_Acr.xml" hash="1aad3601804cead81b6e687dfcb5b83f"/></dir></target><target name="magecommunity"><dir name="Rejoiner"><dir name="Acr"><dir name="Block"><dir name="Adminhtml"><dir name="Custom"><file name="Form.php" hash="88c8a6fa07de1c1f9ea12b79a791c370"/></dir><dir name="Form"><dir name="Field"><file name="Source.php" hash="87fca4bcce28c32b51d1ab0be864a11d"/></dir></dir><file name="Notification.php" hash="4b4837b59ab85fa886e65be49d511490"/><dir name="Preinstalled"><file name="Form.php" hash="04f5b18db325c2e630c103779c704ebe"/></dir></dir><file name="Snippets.php" hash="36ccef9416a0d7b3768341fff28750ec"/></dir><dir name="Helper"><file name="Data.php" hash="1533241a5b0dd30b987464a719c0c25a"/></dir><dir name="Model"><dir name="Api"><file name="Client.php" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir><file name="Notification.php" hash="a03d68e9bbaa820ce87557fca9f8f811"/><file name="Observer.php" hash="57f06c367f45041bb83c1700dc8d81e4"/><dir name="Resource"><file name="Setup.php" hash="48f66ad159e3d10a21cc04a980ca923e"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Salesrule.php" hash="1b6a8d728b5fa308b18a222c5981ed52"/></dir></dir></dir></dir><dir name="controllers"><file name="AddbyskuController.php" hash="7f258b4e6b5cb541913d9de5d374b44f"/><file name="AddtocartController.php" hash="c578297cdb4ef281aff17f33b27d6162"/><dir name="Adminhtml"><file name="RejoinerController.php" hash="c2e5fea12a2fc23905d86f119c2baa39"/></dir></dir><dir name="etc"><file name="config.xml" hash="1ab8698bb8cea86c3f129dcfcea6da39"/><file name="system.xml" hash="d2648094f032c9994a1054598be51655"/></dir><dir name="sql"><dir name="rejoiner_setup"><file name="mysql4-install-1.0.0.0.php" hash="8d9a21c9c09fe44c6fe51ddd2106e3e0"/><file name="mysql4-upgrade-1.0.0.0-1.0.1.0.php" hash="36cc70cc6dd37aab7f3c460e0af58d59"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="rejoiner_acr.xml" hash="538d7561470c2cc1c7f822e7fe1ffef8"/></dir><dir name="template"><dir name="rejoiner_acr"><file name="conversion.phtml" hash="13a53b2f28e5f5fa6e0644ea9cf5a6a4"/><file name="email.phtml" hash="05e54d0999953acf865b6a439c4bb6b5"/><file name="tracking.phtml" hash="87e4d3e22c3b4876cca8ccb9cb3744c6"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="rejoiner_acr.xml" hash="3181cf1ca63813a9ce633ed3268659f4"/></dir><dir name="template"><dir name="rejoiner_acr"><file name="notification.phtml" hash="3a3872e6434bf7d2ca7fa0edfe6f9726"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Rejoiner_Acr.csv" hash="9015e31d97b9bc4746bc0a5241f8013b"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.3.0</min><max>7.0.0</max></php></required></dependencies>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Rejoiner</name>
4
+ <version>1.1.17</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>Rejoiner Cart Abandonment Remarketing</summary>
10
  <description>Turn abandoned carts into 15% more sales with Rejoiner.</description>
11
+ <notes>was deleted unused functionality</notes>
 
12
  <authors><author><name>Mike</name><user>auto-converted</user><email>mike@rejoiner.com</email></author></authors>
13
+ <date>2015-12-04</date>
14
+ <time>09:18:12</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Rejoiner_Acr.xml" hash="1aad3601804cead81b6e687dfcb5b83f"/></dir></target><target name="magecommunity"><dir name="Rejoiner"><dir name="Acr"><dir name="Block"><dir name="Adminhtml"><dir name="Custom"><file name="Form.php" hash="88c8a6fa07de1c1f9ea12b79a791c370"/></dir><dir name="Form"><dir name="Field"><file name="Source.php" hash="87fca4bcce28c32b51d1ab0be864a11d"/></dir></dir><file name="Notification.php" hash="4b4837b59ab85fa886e65be49d511490"/><dir name="Preinstalled"><file name="Form.php" hash="04f5b18db325c2e630c103779c704ebe"/></dir></dir><file name="Snippets.php" hash="36ccef9416a0d7b3768341fff28750ec"/></dir><dir name="Helper"><file name="Data.php" hash="1533241a5b0dd30b987464a719c0c25a"/></dir><dir name="Model"><dir name="Api"><file name="Client.php" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir><file name="Notification.php" hash="a03d68e9bbaa820ce87557fca9f8f811"/><file name="Observer.php" hash="6a90f25f0a4378f9b5dad032b0a975a5"/><dir name="Resource"><file name="Setup.php" hash="48f66ad159e3d10a21cc04a980ca923e"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Salesrule.php" hash="1b6a8d728b5fa308b18a222c5981ed52"/></dir></dir></dir></dir><dir name="controllers"><file name="AddbyskuController.php" hash="7f258b4e6b5cb541913d9de5d374b44f"/><file name="AddtocartController.php" hash="c578297cdb4ef281aff17f33b27d6162"/><dir name="Adminhtml"><file name="RejoinerController.php" hash="c2e5fea12a2fc23905d86f119c2baa39"/></dir></dir><dir name="etc"><file name="config.xml" hash="525db600c2c3572bc4fdfb3bb01121fb"/><file name="system.xml" hash="809fc77e52ddc709c77a983405e2f3df"/></dir><dir name="sql"><dir name="rejoiner_setup"><file name="mysql4-install-1.0.0.0.php" hash="8d9a21c9c09fe44c6fe51ddd2106e3e0"/><file name="mysql4-upgrade-1.0.0.0-1.0.1.0.php" hash="36cc70cc6dd37aab7f3c460e0af58d59"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="rejoiner_acr.xml" hash="538d7561470c2cc1c7f822e7fe1ffef8"/></dir><dir name="template"><dir name="rejoiner_acr"><file name="conversion.phtml" hash="13a53b2f28e5f5fa6e0644ea9cf5a6a4"/><file name="email.phtml" hash="05e54d0999953acf865b6a439c4bb6b5"/><file name="tracking.phtml" hash="87e4d3e22c3b4876cca8ccb9cb3744c6"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="rejoiner_acr.xml" hash="3181cf1ca63813a9ce633ed3268659f4"/></dir><dir name="template"><dir name="rejoiner_acr"><file name="notification.phtml" hash="3a3872e6434bf7d2ca7fa0edfe6f9726"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Rejoiner_Acr.csv" hash="9015e31d97b9bc4746bc0a5241f8013b"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>7.0.0</max></php></required></dependencies>
18
  </package>