addwish - Version 0.12.0

Version Notes

New improved addwish extension with multi-site support

Download this release

Release Info

Developer addwish
Extension addwish
Version 0.12.0
Comparing to
See all releases


Code changes from version 0.11.0 to 0.12.0

app/code/local/Addwish/Awext/controllers/IndexController.php CHANGED
@@ -96,8 +96,11 @@ $allowedIps=explode(",",$model->getData('ipaddress'));
96
  }
97
  header("Content-type: text/xml");
98
  $products_out='<?xml version="1.0" encoding="UTF-8"?><products>';
99
- $products = Mage::getModel('catalog/product')->getCollection()->addAttributeToFilter('visibility', 4);
100
- $products->addAttributeToSelect('*');
 
 
 
101
  foreach($products as $product) {
102
  $imageUrl = Mage::helper('catalog/image')->init($product , 'thumbnail')->resize(256);
103
  $specialPrice = number_format($product->getSpecialPrice(), 2, '.', '');
96
  }
97
  header("Content-type: text/xml");
98
  $products_out='<?xml version="1.0" encoding="UTF-8"?><products>';
99
+ $products = Mage::getModel('catalog/product')->getCollection()->addStoreFilter(Mage::app()->getStore()->getStoreId())->addAttributeToFilter('visibility', 4);
100
+ $products->addAttributeToSelect('*')->addAttributeToFilter(
101
+ 'status',
102
+ array('eq' => Mage_Catalog_Model_Product_Status::STATUS_ENABLED)
103
+ );
104
  foreach($products as $product) {
105
  $imageUrl = Mage::helper('catalog/image')->init($product , 'thumbnail')->resize(256);
106
  $specialPrice = number_format($product->getSpecialPrice(), 2, '.', '');
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>addwish</name>
4
- <version>0.11.0</version>
5
  <stability>stable</stability>
6
  <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Improvements to support more magento versions</summary>
10
- <description> New and updated extesion to integrate all addwish features </description>
11
- <notes> New and updated extesion to integrate all addwish features </notes>
12
  <authors><author><name>addwish</name><user>addwish</user><email>krj@addwish.com</email></author></authors>
13
- <date>2016-05-19</date>
14
- <time>07:41:54</time>
15
- <contents><target name="magelocal"><dir name="Addwish"><dir name="Awext"><dir name="Block"><dir name="Adminhtml"><dir name="Awext"><file name="Grid.php" hash="0a9e0cc01157a49a58cddf0ef4eddbad"/><file name="Renderer.php" hash="f5f132bb8089270358be38f9e1fb342d"/><dir name="View"><dir name="Tab"><dir name="Details"><file name="List.php" hash="629a98942f2354a0a10d14e8564fc542"/></dir><file name="Details.php" hash="9431059a450be7a0bb9d69867c2b2b10"/><file name="Form.php" hash="14b1192bea84fbee58e47ff749a004f4"/><dir name="Recommend"><file name="List.php" hash="a8f994f1e5a29abf1f4bbf48e826e1d2"/></dir><file name="Recommend.php" hash="5d4fe965a062adcb51567c93e5adec2f"/><dir name="Search"><file name="List.php" hash="c556a6030e13ae9933bdf16e2ff1ff33"/></dir><file name="Search.php" hash="f194d4fa52fa3e106baa49ffd981de06"/><dir name="Searchconfig"><file name="List.php" hash="6ef64a77cfc24144aa3a85515f6ce22b"/></dir><file name="Searchconfig.php" hash="ce2a937906c8f2d13552d06b8c7b4f69"/></dir><file name="Tabs.php" hash="51d7b9c59068451c28bf614d42fe303d"/></dir><file name="View.php" hash="a5a5aa835bdbaf1102b50e90dec526a8"/></dir><file name="Awext.php" hash="2e46d78792ff55c3285d77780ba3e784"/></dir><file name="Awext.php" hash="5d627b94fe5a46ab3c5a77debbabcff6"/></dir><dir name="Helper"><file name="Data.php" hash="cb01c88cb51f7576e38209e495593b0f"/></dir><dir name="Model"><file name="Awext.php" hash="1925cb6fd94cc7cd6baecda71964a424"/><dir name="Mysql4"><dir name="Awext"><file name="Collection.php" hash="12afe62372c67a5bd9154695c8d095f3"/></dir><file name="Awext.php" hash="363b3c47f302192e5aa815cde224ae10"/></dir><file name="Observer.php" hash="e85fea849acf03c9353e557588e3f21d"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="AwextController.php" hash="2424376fae3ec49abe9952d12484c009"/></dir><file name="IndexController.php" hash="75a35231f563c1528f1e0268268ad499"/></dir><dir name="etc"><file name="config.xml" hash="a1a8d58b8191ad97bff73e32d0db4e45"/></dir><dir name="sql"><dir name="addwish_setup"><file name="mysql4-install-0.0.4.php" hash="77a5d3d50380396c9bd2a9dfdfea8905"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="css"><file name="addwish.css" hash="f8711a6d3845f2c39698ca95064abb4c"/></dir><dir name="images"><dir name="addwish"><file name="addwish.png" hash="a588d24d1919d9206eff40a886b88ef1"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="awext.xml" hash="4b3cd2d742068567c1c5c67fe349114d"/></dir><dir name="template"><dir name="awext"><file name="list.phtml" hash="bb61fbc456f4fc2ff550d0ffbd9e219e"/><file name="recommendations.phtml" hash="c6b1d8078020f427ce5a73e5566537d4"/><file name="search-config.phtml" hash="03ba55d93b39fb2bedc088ae06a4a884"/><file name="search.phtml" hash="bcf56fe0d8728a45ca5421a0d6273385"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="awext.xml" hash="55de3edcbfdd85884f58b322f88cfc27"/></dir><dir name="template"><dir name="addwish"><file name="addwish-head.phtml" hash="c5b6fa2cae55ad1ddd4a5c64f8d532f6"/><file name="basket-span.phtml" hash="43ae1f4ca8daad61d16ef84bbfcab2cf"/><file name="conversion-span.phtml" hash="69ab18c525182edc1b83b0690556ac8c"/><file name="integrator.phtml" hash="a631b2e39787aa89c76065e4177fe218"/><file name="product-span.phtml" hash="f7a43491071cca128eef424b93a6a971"/><file name="search-result-page.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="upsells-page.phtml" hash="ac41002da8c7bb57233599a00053ef77"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Addwish_Awext.xml" hash="fea2883f86536f249670eea31980f72c"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>addwish</name>
4
+ <version>0.12.0</version>
5
  <stability>stable</stability>
6
  <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>New improved addwish extension with multi-site support</summary>
10
+ <description>New improved addwish extension with multi-site support</description>
11
+ <notes>New improved addwish extension with multi-site support</notes>
12
  <authors><author><name>addwish</name><user>addwish</user><email>krj@addwish.com</email></author></authors>
13
+ <date>2016-05-25</date>
14
+ <time>09:18:05</time>
15
+ <contents><target name="magelocal"><dir name="Addwish"><dir name="Awext"><dir name="Block"><dir name="Adminhtml"><dir name="Awext"><file name="Grid.php" hash="0a9e0cc01157a49a58cddf0ef4eddbad"/><file name="Renderer.php" hash="f5f132bb8089270358be38f9e1fb342d"/><dir name="View"><dir name="Tab"><dir name="Details"><file name="List.php" hash="629a98942f2354a0a10d14e8564fc542"/></dir><file name="Details.php" hash="9431059a450be7a0bb9d69867c2b2b10"/><file name="Form.php" hash="14b1192bea84fbee58e47ff749a004f4"/><dir name="Recommend"><file name="List.php" hash="a8f994f1e5a29abf1f4bbf48e826e1d2"/></dir><file name="Recommend.php" hash="5d4fe965a062adcb51567c93e5adec2f"/><dir name="Search"><file name="List.php" hash="c556a6030e13ae9933bdf16e2ff1ff33"/></dir><file name="Search.php" hash="f194d4fa52fa3e106baa49ffd981de06"/><dir name="Searchconfig"><file name="List.php" hash="6ef64a77cfc24144aa3a85515f6ce22b"/></dir><file name="Searchconfig.php" hash="ce2a937906c8f2d13552d06b8c7b4f69"/></dir><file name="Tabs.php" hash="51d7b9c59068451c28bf614d42fe303d"/></dir><file name="View.php" hash="a5a5aa835bdbaf1102b50e90dec526a8"/></dir><file name="Awext.php" hash="2e46d78792ff55c3285d77780ba3e784"/></dir><file name="Awext.php" hash="5d627b94fe5a46ab3c5a77debbabcff6"/></dir><dir name="Helper"><file name="Data.php" hash="cb01c88cb51f7576e38209e495593b0f"/></dir><dir name="Model"><file name="Awext.php" hash="1925cb6fd94cc7cd6baecda71964a424"/><dir name="Mysql4"><dir name="Awext"><file name="Collection.php" hash="12afe62372c67a5bd9154695c8d095f3"/></dir><file name="Awext.php" hash="363b3c47f302192e5aa815cde224ae10"/></dir><file name="Observer.php" hash="e85fea849acf03c9353e557588e3f21d"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="AwextController.php" hash="2424376fae3ec49abe9952d12484c009"/></dir><file name="IndexController.php" hash="67c59603c26c6e5b30545e6b99d4d059"/></dir><dir name="etc"><file name="config.xml" hash="a1a8d58b8191ad97bff73e32d0db4e45"/></dir><dir name="sql"><dir name="addwish_setup"><file name="mysql4-install-0.0.4.php" hash="77a5d3d50380396c9bd2a9dfdfea8905"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="css"><file name="addwish.css" hash="f8711a6d3845f2c39698ca95064abb4c"/></dir><dir name="images"><dir name="addwish"><file name="addwish.png" hash="a588d24d1919d9206eff40a886b88ef1"/></dir></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="awext.xml" hash="4b3cd2d742068567c1c5c67fe349114d"/></dir><dir name="template"><dir name="awext"><file name="list.phtml" hash="bb61fbc456f4fc2ff550d0ffbd9e219e"/><file name="recommendations.phtml" hash="c6b1d8078020f427ce5a73e5566537d4"/><file name="search-config.phtml" hash="03ba55d93b39fb2bedc088ae06a4a884"/><file name="search.phtml" hash="bcf56fe0d8728a45ca5421a0d6273385"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="awext.xml" hash="55de3edcbfdd85884f58b322f88cfc27"/></dir><dir name="template"><dir name="addwish"><file name="addwish-head.phtml" hash="c5b6fa2cae55ad1ddd4a5c64f8d532f6"/><file name="basket-span.phtml" hash="43ae1f4ca8daad61d16ef84bbfcab2cf"/><file name="conversion-span.phtml" hash="69ab18c525182edc1b83b0690556ac8c"/><file name="integrator.phtml" hash="a631b2e39787aa89c76065e4177fe218"/><file name="product-span.phtml" hash="f7a43491071cca128eef424b93a6a971"/><file name="search-result-page.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="upsells-page.phtml" hash="ac41002da8c7bb57233599a00053ef77"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Addwish_Awext.xml" hash="fea2883f86536f249670eea31980f72c"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>