ReplenishProducts - Version 1.3.0

Version Notes

Bug fixes

Download this release

Release Info

Developer Ramesh Kumar
Extension ReplenishProducts
Version 1.3.0
Comparing to
See all releases


Code changes from version 1.2.0 to 1.3.0

app/code/community/ConversionBug/Core/Block/System/Config/Info.php CHANGED
@@ -29,6 +29,21 @@ class ConversionBug_Core_Block_System_Config_Info extends Mage_Adminhtml_Block_A
29
  $url = Mage::getBaseUrl();
30
  $ip = $_SERVER['REMOTE_ADDR'];
31
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  $html = <<<HTML
33
  <div class="cb-intro">
34
  <div class="content">
@@ -41,8 +56,8 @@ class ConversionBug_Core_Block_System_Config_Info extends Mage_Adminhtml_Block_A
41
  <li class="cb-mail">
42
  <a href="mailto:support@conversionbug.com">support@conversionbug.com</a>
43
  </li>
44
- <li class="cb-skype">
45
- <a href="#">convertsionbug</a>
46
  </li>
47
  <ul>
48
  </div>
@@ -52,7 +67,8 @@ class ConversionBug_Core_Block_System_Config_Info extends Mage_Adminhtml_Block_A
52
  var email = "$adminEmail",
53
  url = "$url",
54
  ip = "$ip",
55
- extension = "M1-Replenish";
 
56
  conversionbug.init(url,email,ip,extension);
57
  </script>
58
  HTML;
29
  $url = Mage::getBaseUrl();
30
  $ip = $_SERVER['REMOTE_ADDR'];
31
 
32
+ $modules = Mage::getConfig()->getNode('modules')->children();
33
+ $modulesArray = (array)$modules;
34
+ Mage::log($modulesArray,null,"modules.log");
35
+ $options = array();
36
+ foreach($modules as $key => $value):
37
+ if (strpos($key, 'ConversionBug') !== FALSE):
38
+ $options[] = $key;
39
+ endif;
40
+ endforeach;
41
+ $string = implode(', ', $options);
42
+ Mage::log($string,null,"string.log");
43
+
44
+ /*New script is above*/
45
+
46
+
47
  $html = <<<HTML
48
  <div class="cb-intro">
49
  <div class="content">
56
  <li class="cb-mail">
57
  <a href="mailto:support@conversionbug.com">support@conversionbug.com</a>
58
  </li>
59
+ <li class="cb-skype skype-cb">
60
+ <a href="#">conversionbug</a>
61
  </li>
62
  <ul>
63
  </div>
67
  var email = "$adminEmail",
68
  url = "$url",
69
  ip = "$ip",
70
+ //extension = "M1-Replenish";
71
+ extension = "$string";
72
  conversionbug.init(url,email,ip,extension);
73
  </script>
74
  HTML;
app/code/community/ConversionBug/Quickreorder/etc/system.xml CHANGED
@@ -28,7 +28,16 @@
28
  <show_in_default>1</show_in_default>
29
  <show_in_website>1</show_in_website>
30
  <show_in_store>1</show_in_store>
31
- <groups>
 
 
 
 
 
 
 
 
 
32
  <general translate="label">
33
  <label>General</label>
34
  <frontend_type>text</frontend_type>
28
  <show_in_default>1</show_in_default>
29
  <show_in_website>1</show_in_website>
30
  <show_in_store>1</show_in_store>
31
+ <groups>
32
+ <cb_info>
33
+ <label>Quick Reorder</label>
34
+ <frontend_model>cbcore/system_config_info</frontend_model>
35
+ <frontend_type>text</frontend_type>
36
+ <sort_order>0</sort_order>
37
+ <show_in_default>1</show_in_default>
38
+ <show_in_website>1</show_in_website>
39
+ <show_in_store>1</show_in_store>
40
+ </cb_info>
41
  <general translate="label">
42
  <label>General</label>
43
  <frontend_type>text</frontend_type>
js/conversionbug/core/conversion.js CHANGED
@@ -1,5 +1,5 @@
1
  var conversionbug = {
2
- init: function (url,email,ip,extension) {
3
  fetch("http://products.conversionbug.com/visitor/index/index", {
4
  method: "POST",
5
  headers: {
1
  var conversionbug = {
2
+ init: function (url,email,ip,extension) {
3
  fetch("http://products.conversionbug.com/visitor/index/index", {
4
  method: "POST",
5
  headers: {
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ReplenishProducts</name>
4
- <version>1.2.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -16,9 +16,9 @@ Increases the chances of sales from your ecommerce store&#xD;
16
  Reduces the chances of the customers going to any other ecommerce store</description>
17
  <notes>Bug fixes</notes>
18
  <authors><author><name>Ramesh Allamestti</name><user>ramesh</user><email>ramesh.allamsetti@conversionbug.com</email></author></authors>
19
- <date>2016-12-12</date>
20
- <time>08:20:33</time>
21
- <contents><target name="magecommunity"><dir name="ConversionBug"><dir name="Core"><dir name="Block"><file name="Info.php" hash="9eb80a1948a555d524ec4327b2a90825"/><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><file name="Product.php" hash="2c6a73ee1fcffee12b4cd617bb1e30dc"/><file name="Store.php" hash="8e26278a3fbadce985d508a92ad0e17d"/></dir></dir><file name="Info.php" hash="dc35771bc80c9cf8d8110f20a8356e89"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="109c106dc7696343f7883239f60b10bf"/></dir><dir name="Model"><file name="Feed.php" hash="5ff35ad85a5453dba83bbb214ee1ccff"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Display.php" hash="ac1cd4ec7d89460d82cc9434d0efe775"/><file name="Footer.php" hash="27f370173d5b846bf80f7f7e98975db5"/><file name="Options.php" hash="8834e654693921eca1391b6d2234d29c"/></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="0eecc5a6b9159fb3b34986787439de13"/><file name="config.xml" hash="6e66b6fb15e3f5d5e8761ecb500257ac"/><file name="system.xml" hash="7075e9a2b0cf1889fc3f97566107ea7b"/></dir></dir><dir name="Quickreorder"><dir name="Block"><dir name="Adminhtml"><dir name="Quickreorder"><dir name="Edit"><file name="Form.php" hash="4620dd933f65382d614f1c40b87cdd0a"/><dir name="Tab"><file name="Form.php" hash="b97cc2e9ff995a268a57317577cb45ff"/></dir><file name="Tabs.php" hash="357486dc61778b8e3a534d53f6f1c85d"/></dir><file name="Edit.php" hash="30ce1c185e2fbd9a81906687c055df34"/><file name="Grid.php" hash="4e7635425b0bf1c692592de1edff9ebd"/></dir><file name="Quickreorder.php" hash="2490c92eca401e47128ac537b56c38db"/></dir><file name="Product.php" hash="00a1b3b1de2f48e29cc78c681a98c33f"/></dir><dir name="Helper"><file name="Data.php" hash="51a69eba606f5b63e608957d53da4723"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Quickreorder"><file name="Collection.php" hash="995aac1e52f3b5b578c5d741bf1f35d5"/></dir><file name="Quickreorder.php" hash="9dea8b3f075735a369cab7e83f0c3e1f"/></dir><file name="Observer.php" hash="71f765b0cb0c84a2a5489d40959f0f23"/><file name="Quickreorder.php" hash="ff008dde8cbc4f081ca9b9ee9cdc9414"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="QuickreorderController.php" hash="3f9adeccb92d8254543cdc0713668ea5"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="06699afe10f543b615ce24cff0421760"/><file name="config.xml" hash="319128e31468bfb06e600675bd1ede43"/><file name="system.xml" hash="89ac63e39a87257dda311c0d761836ab"/></dir><dir name="sql"><dir name="quickreorder_setup"><file name="mysql4-install-1.0.0.php" hash="4c2cfab86ae07609355d189869623821"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="conversionbugcore.xml" hash="d19182dcda6f0db7fadb1bff12b83e5a"/><file name="quickreorder.xml" hash="4f233886e49965e9ace14456b88470ae"/></dir><dir name="template"><dir name="conversionbugcore"><file name="info.phtml" hash="9c5797c75db2e608fb652f02adb3a02c"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="rwd"><dir name="default"><dir name="template"><dir name="reorder"><file name="product.phtml" hash="556a4a6af18b5c30f2d777a1ce1fbd3e"/><file name="related_products.phtml" hash="1feb39fefa3c43a5f8ec5513ddfa4a3d"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="conversionbug"><dir name="core"><file name="conversion.js" hash="7e7e3bd1dcb2af25c9332b51550b60de"/></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="conversionbug"><dir name="core"><file name="core.css" hash="29c9cad2d9271f28bfd9eddd5c808d5d"/><dir name="images"><file name="cb_pattern.png" hash="9c5044bebc10bc6a34aa6a1e8e41b54a"/><file name="favicon.png" hash="bab36888d2974803acc518fc6e80c0a8"/><file name="logo.jpg" hash="04b873540f127f3db2702ec81537a92c"/><file name="logo.png" hash="ee6d3fdb6b84dc6305e1930c9d62c9a1"/><file name="mail.png" hash="dda776f14745ef6ed3ea7c273b89414a"/><file name="onesignal.png" hash="cd0a13c160d15090f2a7cc24e82adb94"/><file name="skype.png" hash="c47bc27f92a5037b5e5808a4c7946eef"/><file name="star.png" hash="7ba3058f225533076d823ad0de40cf61"/><file name="storebg.png" hash="afc4c40ea7a186c807daa8f4bd16dff3"/><file name="tick.png" hash="a93719f7f9a401c5aa10745e72f33b6a"/><file name="tick1.png" hash="a77e5cdd4aa5960fd325028b3cad225b"/><file name="web.png" hash="d6a873b4366d7337b6e3bc048ad3399f"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ConversionBug_Core.xml" hash="33e5c0e3c9c19c7b8297aefef476cba7"/><file name="ConversionBug_Quickreorder.xml" hash="1f936fbe6b56dcfc3f7c02607e876145"/></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><file name="replenishmail_notification.html" hash="a3344e7375ed2d73120076a7a816f92c"/></dir></dir></dir></target></contents>
22
  <compatible/>
23
  <dependencies><required><php><min>5.1.0</min><max>7.0.0</max></php></required></dependencies>
24
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ReplenishProducts</name>
4
+ <version>1.3.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
16
  Reduces the chances of the customers going to any other ecommerce store</description>
17
  <notes>Bug fixes</notes>
18
  <authors><author><name>Ramesh Allamestti</name><user>ramesh</user><email>ramesh.allamsetti@conversionbug.com</email></author></authors>
19
+ <date>2016-12-14</date>
20
+ <time>12:33:16</time>
21
+ <contents><target name="magecommunity"><dir name="ConversionBug"><dir name="Core"><dir name="Block"><file name="Info.php" hash="9eb80a1948a555d524ec4327b2a90825"/><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><file name="Product.php" hash="2c6a73ee1fcffee12b4cd617bb1e30dc"/><file name="Store.php" hash="8e26278a3fbadce985d508a92ad0e17d"/></dir></dir><file name="Info.php" hash="a6f9d818c153808f083fc0ce4332ac7d"/></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="109c106dc7696343f7883239f60b10bf"/></dir><dir name="Model"><file name="Feed.php" hash="5ff35ad85a5453dba83bbb214ee1ccff"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Display.php" hash="ac1cd4ec7d89460d82cc9434d0efe775"/><file name="Footer.php" hash="27f370173d5b846bf80f7f7e98975db5"/><file name="Options.php" hash="8834e654693921eca1391b6d2234d29c"/></dir></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="0eecc5a6b9159fb3b34986787439de13"/><file name="config.xml" hash="6e66b6fb15e3f5d5e8761ecb500257ac"/><file name="system.xml" hash="7075e9a2b0cf1889fc3f97566107ea7b"/></dir></dir><dir name="Quickreorder"><dir name="Block"><dir name="Adminhtml"><dir name="Quickreorder"><dir name="Edit"><file name="Form.php" hash="4620dd933f65382d614f1c40b87cdd0a"/><dir name="Tab"><file name="Form.php" hash="b97cc2e9ff995a268a57317577cb45ff"/></dir><file name="Tabs.php" hash="357486dc61778b8e3a534d53f6f1c85d"/></dir><file name="Edit.php" hash="30ce1c185e2fbd9a81906687c055df34"/><file name="Grid.php" hash="4e7635425b0bf1c692592de1edff9ebd"/></dir><file name="Quickreorder.php" hash="2490c92eca401e47128ac537b56c38db"/></dir><file name="Product.php" hash="00a1b3b1de2f48e29cc78c681a98c33f"/></dir><dir name="Helper"><file name="Data.php" hash="51a69eba606f5b63e608957d53da4723"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Quickreorder"><file name="Collection.php" hash="995aac1e52f3b5b578c5d741bf1f35d5"/></dir><file name="Quickreorder.php" hash="9dea8b3f075735a369cab7e83f0c3e1f"/></dir><file name="Observer.php" hash="71f765b0cb0c84a2a5489d40959f0f23"/><file name="Quickreorder.php" hash="ff008dde8cbc4f081ca9b9ee9cdc9414"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="QuickreorderController.php" hash="3f9adeccb92d8254543cdc0713668ea5"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="06699afe10f543b615ce24cff0421760"/><file name="config.xml" hash="319128e31468bfb06e600675bd1ede43"/><file name="system.xml" hash="3b4f590bfef2d8a801addd04cf05df20"/></dir><dir name="sql"><dir name="quickreorder_setup"><file name="mysql4-install-1.0.0.php" hash="4c2cfab86ae07609355d189869623821"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="conversionbugcore.xml" hash="d19182dcda6f0db7fadb1bff12b83e5a"/><file name="quickreorder.xml" hash="4f233886e49965e9ace14456b88470ae"/></dir><dir name="template"><dir name="conversionbugcore"><file name="info.phtml" hash="9c5797c75db2e608fb652f02adb3a02c"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="rwd"><dir name="default"><dir name="template"><dir name="reorder"><file name="product.phtml" hash="556a4a6af18b5c30f2d777a1ce1fbd3e"/><file name="related_products.phtml" hash="1feb39fefa3c43a5f8ec5513ddfa4a3d"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="conversionbug"><dir name="core"><file name="conversion.js" hash="87e9828624aabeb52f49f00f9b493dd9"/></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="conversionbug"><dir name="core"><file name="core.css" hash="29c9cad2d9271f28bfd9eddd5c808d5d"/><dir name="images"><file name="cb_pattern.png" hash="9c5044bebc10bc6a34aa6a1e8e41b54a"/><file name="favicon.png" hash="bab36888d2974803acc518fc6e80c0a8"/><file name="logo.jpg" hash="04b873540f127f3db2702ec81537a92c"/><file name="logo.png" hash="ee6d3fdb6b84dc6305e1930c9d62c9a1"/><file name="mail.png" hash="dda776f14745ef6ed3ea7c273b89414a"/><file name="onesignal.png" hash="cd0a13c160d15090f2a7cc24e82adb94"/><file name="skype.png" hash="c47bc27f92a5037b5e5808a4c7946eef"/><file name="star.png" hash="7ba3058f225533076d823ad0de40cf61"/><file name="storebg.png" hash="afc4c40ea7a186c807daa8f4bd16dff3"/><file name="tick.png" hash="a93719f7f9a401c5aa10745e72f33b6a"/><file name="tick1.png" hash="a77e5cdd4aa5960fd325028b3cad225b"/><file name="web.png" hash="d6a873b4366d7337b6e3bc048ad3399f"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ConversionBug_Core.xml" hash="33e5c0e3c9c19c7b8297aefef476cba7"/><file name="ConversionBug_Quickreorder.xml" hash="1f936fbe6b56dcfc3f7c02607e876145"/></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><file name="replenishmail_notification.html" hash="a3344e7375ed2d73120076a7a816f92c"/></dir></dir></dir></target></contents>
22
  <compatible/>
23
  <dependencies><required><php><min>5.1.0</min><max>7.0.0</max></php></required></dependencies>
24
  </package>