Version Notes
To use the extension place the following code:
----------------------------------------------------------------
{{block type="catalog/product/aw_fps" template="catalog/product/aw_fps.phtml"}}
----------------------------------------------------------------
on any page with the help of Magento CMS. After this done, go to Admin->Catalog->Manage Products->edit a product and set "Rotate in featured products slideshow" to "Yes". Navigate to the page in which you inserted the block above and enjoy the slideshow.
Download this release
Release Info
Developer | Magento Core Team |
Extension | AW_FPS |
Version | 0.9.2 |
Comparing to | |
See all releases |
Code changes from version 0.9.1 to 0.9.2
app/code/local/AW/FPS/Model/Entity/Attribute/Backend/Boolean/Config.php
CHANGED
@@ -51,15 +51,14 @@ class AW_FPS_Model_Entity_Attribute_Backend_Boolean_Config extends Mage_Eav_Mode
|
|
51 |
if($code == 0) {
|
52 |
$object->unsData($this->getAttribute()->getAttributeCode());
|
53 |
//remove product ID
|
54 |
-
$write->query("DELETE FROM aw_fps WHERE product_id
|
55 |
}
|
56 |
else{
|
57 |
//add project ID to the rotation
|
58 |
-
$r = $write->fetchRow("SELECT * FROM aw_fps WHERE product_id
|
59 |
if(!$r)
|
60 |
$write->query("INSERT INTO aw_fps (product_id) VALUE ($product_id)");
|
61 |
}
|
62 |
-
|
63 |
}
|
64 |
|
65 |
}
|
51 |
if($code == 0) {
|
52 |
$object->unsData($this->getAttribute()->getAttributeCode());
|
53 |
//remove product ID
|
54 |
+
$write->query("DELETE FROM aw_fps WHERE product_id='$product_id'");
|
55 |
}
|
56 |
else{
|
57 |
//add project ID to the rotation
|
58 |
+
$r = $write->fetchRow("SELECT * FROM aw_fps WHERE product_id='$product_id'");
|
59 |
if(!$r)
|
60 |
$write->query("INSERT INTO aw_fps (product_id) VALUE ($product_id)");
|
61 |
}
|
|
|
62 |
}
|
63 |
|
64 |
}
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>AW_FPS</name>
|
4 |
-
<version>0.9.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
|
7 |
<channel>community</channel>
|
@@ -14,9 +14,9 @@
|
|
14 |
----------------------------------------------------------------
|
15 |
on any page with the help of Magento CMS. After this done, go to Admin->Catalog->Manage Products->edit a product and set "Rotate in featured products slideshow" to "Yes". Navigate to the page in which you inserted the block above and enjoy the slideshow.</notes>
|
16 |
<authors><author><name>Artyom</name><user>auto-converted</user><email>rabzonov@aheadworks.com</email></author></authors>
|
17 |
-
<date>2008-12-
|
18 |
-
<time>
|
19 |
-
<contents><target name="magelocal"><dir name="AW"><dir name="FPS"><dir name="etc"><file name="config.xml" hash="c651c499ef1a4a95173f9762739b71cd"/><file name="system.xml" hash="c01edaeca8b08e8221cd08d8ac29ecd3"/></dir><dir name="Helper"><file name="Data.php" hash="46aea6822074dd2f08f23018f49c13f4"/></dir><dir name="Model"><dir name="Entity"><dir name="Attribute"><dir name="Backend"><dir name="Boolean"><file name="Config.php" hash="
|
20 |
<compatible/>
|
21 |
<dependencies/>
|
22 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>AW_FPS</name>
|
4 |
+
<version>0.9.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
|
7 |
<channel>community</channel>
|
14 |
----------------------------------------------------------------
|
15 |
on any page with the help of Magento CMS. After this done, go to Admin->Catalog->Manage Products->edit a product and set "Rotate in featured products slideshow" to "Yes". Navigate to the page in which you inserted the block above and enjoy the slideshow.</notes>
|
16 |
<authors><author><name>Artyom</name><user>auto-converted</user><email>rabzonov@aheadworks.com</email></author></authors>
|
17 |
+
<date>2008-12-09</date>
|
18 |
+
<time>16:14:12</time>
|
19 |
+
<contents><target name="magelocal"><dir name="AW"><dir name="FPS"><dir name="etc"><file name="config.xml" hash="c651c499ef1a4a95173f9762739b71cd"/><file name="system.xml" hash="c01edaeca8b08e8221cd08d8ac29ecd3"/></dir><dir name="Helper"><file name="Data.php" hash="46aea6822074dd2f08f23018f49c13f4"/></dir><dir name="Model"><dir name="Entity"><dir name="Attribute"><dir name="Backend"><dir name="Boolean"><file name="Config.php" hash="d0e58b9320009bf254d12c1a1cee3cf7"/></dir></dir><dir name="Source"><dir name="Boolean"><file name="Config.php" hash="75a97e221006157620840c7c34e71506"/></dir></dir></dir></dir></dir><dir name="sql"><dir name="awfps_setup"><file name="mysql4-install-0.9.1.php" hash="e6742522f0be7e0d3b93bb8b9d285aea"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="catalog"><dir name="product"><file name="aw_fps.phtml" hash="387667398ffad6b95494bbde9e0d24d3"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="AW_FPS.xml" hash="17d222a04de3cf7f10e293104a7891be"/></dir></target></contents>
|
20 |
<compatible/>
|
21 |
<dependencies/>
|
22 |
</package>
|