Version Notes
Admin Catalog/Manage product grid issue fixed for database using a prefix.
Download this release
Release Info
Developer | Bikash Kaushik |
Extension | ajax_out_of_stock_notification |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.0.3
app/code/community/Kaushik/Outofstock/Model/Adminhtml/Observer.php
CHANGED
@@ -22,8 +22,8 @@ class Kaushik_Outofstock_Model_Adminhtml_Observer
|
|
22 |
if (!isset($collection)) return;
|
23 |
|
24 |
if (is_a($collection, 'Mage_Catalog_Model_Resource_Product_Collection')) {
|
25 |
-
|
26 |
-
|
27 |
}
|
28 |
}
|
29 |
|
22 |
if (!isset($collection)) return;
|
23 |
|
24 |
if (is_a($collection, 'Mage_Catalog_Model_Resource_Product_Collection')) {
|
25 |
+
$stockTable = Mage::getModel('core/resource')->getTableName('outofstock');
|
26 |
+
$collection->getSelect()->joinLeft( array('oos'=> $stockTable), 'oos.product_id = e.entity_id', array('total_subs'=>'count(oos.product_id)'))->group('e.entity_id');
|
27 |
}
|
28 |
}
|
29 |
|
app/code/community/Kaushik/Outofstock/etc/config.xml
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
<config>
|
10 |
<modules>
|
11 |
<Kaushik_Outofstock>
|
12 |
-
<version>1.0.
|
13 |
</Kaushik_Outofstock>
|
14 |
</modules>
|
15 |
<frontend>
|
9 |
<config>
|
10 |
<modules>
|
11 |
<Kaushik_Outofstock>
|
12 |
+
<version>1.0.3</version>
|
13 |
</Kaushik_Outofstock>
|
14 |
</modules>
|
15 |
<frontend>
|
app/code/community/Kaushik/Outofstock/sql/outofstock_setup/{mysql4-install-1.0.2.php → mysql4-install-1.0.3.php}
RENAMED
File without changes
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>ajax_out_of_stock_notification</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="https://opensource.org/licenses/osl-3.0.php">Open Software License</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>This extension allows both customers and guest to sign up for alerts once out of stock products are available.</summary>
|
10 |
<description>This extension adds a Notify button into product detail page for out of stock products. By clicking on this button, registered members & guests can enter their email to receive notifications when products are in stock. When admin adds new inventory for a product and it becomes in stock, the system will send an email notification to customers who subscribed to that product. This extension helps store owners in inventory decision making about out of stock products based on subscriptions.</description>
|
11 |
-
<notes>
|
12 |
<authors><author><name>Bikash Kaushik</name><user>bikashkaushik</user><email>bikashkaushik10@gmail.com</email></author></authors>
|
13 |
-
<date>2017-
|
14 |
-
<time>
|
15 |
-
<contents><target name="mageetc"><dir name="modules"><file name="Kaushik_Outofstock.xml" hash="fd1e66f8a5bead211c2ea44092facfce"/></dir></target><target name="magecommunity"><dir name="Kaushik"><dir name="Outofstock"><dir name="Block"><dir name="Adminhtml"><dir name="Outofstock"><file name="Grid.php" hash="0cb37482f3468997788e40fe60283717"/><dir name="Renderer"><file name="Customergroup.php" hash="6f61885eb9edf31d11bf63c377ef163b"/><file name="Productname.php" hash="075b88440a10ad72feb9feaa1cb02b3a"/><file name="Productsku.php" hash="055505ace7ea75e3af4eabc27a09192d"/></dir></dir><file name="Outofstock.php" hash="7da318da3c745ce52a0b136fdd3b2d1f"/></dir><file name="Outofstock.php" hash="61d61ac94f1effb50fa605a3b3ffc015"/></dir><dir name="Helper"><file name="Data.php" hash="300e095c1c92671fdc9b33b900f6f282"/></dir><dir name="Model"><dir name="Adminhtml"><file name="Observer.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.0.0</min><max>7.1.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>ajax_out_of_stock_notification</name>
|
4 |
+
<version>1.0.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="https://opensource.org/licenses/osl-3.0.php">Open Software License</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>This extension allows both customers and guest to sign up for alerts once out of stock products are available.</summary>
|
10 |
<description>This extension adds a Notify button into product detail page for out of stock products. By clicking on this button, registered members & guests can enter their email to receive notifications when products are in stock. When admin adds new inventory for a product and it becomes in stock, the system will send an email notification to customers who subscribed to that product. This extension helps store owners in inventory decision making about out of stock products based on subscriptions.</description>
|
11 |
+
<notes>Admin Catalog/Manage product grid issue fixed for database using a prefix.</notes>
|
12 |
<authors><author><name>Bikash Kaushik</name><user>bikashkaushik</user><email>bikashkaushik10@gmail.com</email></author></authors>
|
13 |
+
<date>2017-02-24</date>
|
14 |
+
<time>04:56:08</time>
|
15 |
+
<contents><target name="mageetc"><dir name="modules"><file name="Kaushik_Outofstock.xml" hash="fd1e66f8a5bead211c2ea44092facfce"/></dir></target><target name="magecommunity"><dir name="Kaushik"><dir name="Outofstock"><dir name="Block"><dir name="Adminhtml"><dir name="Outofstock"><file name="Grid.php" hash="0cb37482f3468997788e40fe60283717"/><dir name="Renderer"><file name="Customergroup.php" hash="6f61885eb9edf31d11bf63c377ef163b"/><file name="Productname.php" hash="075b88440a10ad72feb9feaa1cb02b3a"/><file name="Productsku.php" hash="055505ace7ea75e3af4eabc27a09192d"/></dir></dir><file name="Outofstock.php" hash="7da318da3c745ce52a0b136fdd3b2d1f"/></dir><file name="Outofstock.php" hash="61d61ac94f1effb50fa605a3b3ffc015"/></dir><dir name="Helper"><file name="Data.php" hash="300e095c1c92671fdc9b33b900f6f282"/></dir><dir name="Model"><dir name="Adminhtml"><file name="Observer.php" hash="71882d113e0b09737230c80ec3997ff8"/></dir><dir name="Mysql4"><dir name="Outofstock"><file name="Collection.php" hash="c679943ae9ead796676f0b9cb5aeb708"/></dir><file name="Outofstock.php" hash="4d2a337d37c11b174d8652adf05c96f8"/></dir><file name="Observer.php" hash="aea8c394cc71ae80af46e530b3351945"/><file name="Outofstock.php" hash="585524ff6b1de528db940ec27591f60d"/><file name="Status.php" hash="6aca3bcdebce0753f5853f5fe4b009ca"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="OutofstockController.php" hash="b1f10282d4ceaf5bd30e960a591c831a"/></dir><file name="IndexController.php" hash="ac2c154c196d0dc9d33901c8e617ce06"/></dir><dir name="etc"><file name="adminhtml.xml" hash="72760cb708ffcc195e12a75a40e94f16"/><file name="config.xml" hash="c05d28a6dbdb5d4314448188ec90a78e"/><file name="system.xml" hash="8e9b17fe5cedbbb222c345f0784454ec"/></dir><dir name="sql"><dir name="outofstock_setup"><file name="mysql4-install-1.0.3.php" hash="940075c23934ec1ff7f86b26b1dc908d"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="outofstock.xml" hash="8f11e51d42ac271810d0a891ec8a0bce"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="kaushik_outofstock.xml" hash="8d2c38a2d84647ee0822f8c1e762ad70"/></dir><dir name="template"><dir name="outofstock"><file name="mysubscription.phtml" hash="6c1cd3fd0eee3ca659876ffe0a2fb944"/><file name="outofstock.phtml" hash="eef0abe9f456fd5435b3fcf0d083ac06"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><dir name="template"><dir name="email"><dir name="outofstock"><file name="instock.html" hash="2e2bc8eeea4c88fff55300605f0bce53"/><file name="subscribe.html" hash="59f04c27a8b6c25f675caed58778a99e"/><file name="unsubscribe.html" hash="a500cd1e6a8c238cf225dccae6b1c037"/></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.0.0</min><max>7.1.0</max></php></required></dependencies>
|
18 |
</package>
|