Beecoder_Beeshopy - Version 3.1.5

Version Notes

Enabling WYSIWYG description tags support.

Download this release

Release Info

Developer Miguel Ángel Martínez Triviño
Extension Beecoder_Beeshopy
Version 3.1.5
Comparing to
See all releases


Code changes from version 3.1.0 to 3.1.5

app/code/community/Beecoder/Beeshopy/.changelog.txt.swp ADDED
Binary file
app/code/community/Beecoder/Beeshopy/Model/Api.php CHANGED
@@ -110,7 +110,7 @@ class Beecoder_Beeshopy_Model_Api extends Mage_Catalog_Model_Api_Resource
110
  /* Used to know if module is installed*/
111
  public function checkModule()
112
  {
113
- return array("api_version" => '3.1.0', "magento_version" => Mage::getVersion());
114
  }
115
 
116
  /*Auxiliar functions*/
@@ -162,13 +162,19 @@ class Beecoder_Beeshopy_Model_Api extends Mage_Catalog_Model_Api_Resource
162
 
163
  /* Prepare results */
164
  $in_stock = $product->getStockItem()->getIsInStock();
 
 
 
 
 
 
165
  $result = array(
166
  'idx' => $product->getId(),
167
  'sku' => $product->getSku(),
168
  'product_type' => $product->getTypeId(),
169
  'body' => $product->getInDepth(),
170
- 'description' => $product->getDescription(),
171
- 'short_description' => $product->getShortDescription(),
172
  'title' => $product->getName(),
173
  'in_stock' => $in_stock,
174
  'qty' => $product->getStockItem()->getQty(),
110
  /* Used to know if module is installed*/
111
  public function checkModule()
112
  {
113
+ return array("api_version" => '3.1.5', "magento_version" => Mage::getVersion());
114
  }
115
 
116
  /*Auxiliar functions*/
162
 
163
  /* Prepare results */
164
  $in_stock = $product->getStockItem()->getIsInStock();
165
+
166
+ /* Formatted and WYSIWYG ready descriptions */
167
+ $_helper = Mage::helper('catalog/output');
168
+ $short_description = $_helper->productAttribute($product, nl2br($product->getShortDescription()), 'short_description');
169
+ $description = $_helper->productAttribute($product, nl2br($product->getDescription()), 'description');
170
+
171
  $result = array(
172
  'idx' => $product->getId(),
173
  'sku' => $product->getSku(),
174
  'product_type' => $product->getTypeId(),
175
  'body' => $product->getInDepth(),
176
+ 'description' => $description,
177
+ 'short_description' => $short_description,
178
  'title' => $product->getName(),
179
  'in_stock' => $in_stock,
180
  'qty' => $product->getStockItem()->getQty(),
app/code/community/Beecoder/Beeshopy/changelog.txt CHANGED
@@ -1,5 +1,9 @@
1
  == Module changelog ==
2
 
 
 
 
 
3
  === 3.1.0 (03-17-14) ===
4
 
5
  * Importing images with watermark
1
  == Module changelog ==
2
 
3
+ === 3.1.5 (03-31-14) ===
4
+
5
+ * WYSIWYG media path supports
6
+
7
  === 3.1.0 (03-17-14) ===
8
 
9
  * Importing images with watermark
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Beecoder_Beeshopy</name>
4
- <version>3.1.0</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
@@ -11,11 +11,11 @@ Beeshopy extension for Magento, it allows you to integrates your magento store w
11
  <description>Custom Module that allows you to connect with beeshopy service and integrates your magento store with Facebook. &#xD;
12
  &#xD;
13
  It contains a custom API and cart processing.</description>
14
- <notes>Bringing images with watermark</notes>
15
  <authors><author><name>Miguel &#xC1;ngel Mart&#xED;nez Trivi&#xF1;o</name><user>migmartri</user><email>migmartri@gmail.com</email></author></authors>
16
- <date>2014-03-17</date>
17
- <time>21:10:46</time>
18
- <contents><target name="magecommunity"><dir><dir name="Beecoder"><dir name="Beeshopy"><dir name="Block"><file name="BeetailerCode.php" hash="5ebd139c74329ed65008af77e8d98eb0"/><file name="Track.php" hash="a40d400b02f73d5b4dea35c348ffee00"/></dir><dir name="Helper"><file name="Data.php" hash="ead88c0b629856526d39e7fb6f3a4ca5"/></dir><dir name="Model"><file name="Api.php" hash="1c69773f5d75798211b4abf7e1a4d78f"/></dir><file name="changelog.txt" hash="7f4a75bab422d0ac7d0da0ebd719a13d"/><dir name="controllers"><file name="AdminController.php" hash="ec76e2b55bb772b244d9fc2e06a2223e"/><file name="IndexController.php" hash="0c177b543cf62d6bcd5617c6713032d3"/></dir><dir name="etc"><file name="api.xml" hash="507ae656ea724a77def33efd8429d674"/><file name="config.xml" hash="0f266cb1c551fdbb499a004bed040eed"/></dir><file name="install.txt" hash="48681401ca44b68a89c111c37bbd76e0"/><file name=".changelog.txt.swp" hash="d3c007df4226cb4c2198c4c2e1528870"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Beecoder_Beeshopy.xml" hash="55666ef45f08dab44b138e49532ca3b8"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="beeshopy.xml" hash="39dceda3708b265ef734334905c566f3"/></dir><dir name="template"><dir name="beeshopy"><file name="track.phtml" hash="47c95001bb55042c5ae7d8ee4b03cccf"/><file name="beetailercode.phtml" hash="ae2644a2449ff3b0d9929da9cba85a59"/></dir></dir></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Beecoder_Beeshopy</name>
4
+ <version>3.1.5</version>
5
  <stability>stable</stability>
6
  <license>OSL v3.0</license>
7
  <channel>community</channel>
11
  <description>Custom Module that allows you to connect with beeshopy service and integrates your magento store with Facebook. &#xD;
12
  &#xD;
13
  It contains a custom API and cart processing.</description>
14
+ <notes>Enabling WYSIWYG description tags support.</notes>
15
  <authors><author><name>Miguel &#xC1;ngel Mart&#xED;nez Trivi&#xF1;o</name><user>migmartri</user><email>migmartri@gmail.com</email></author></authors>
16
+ <date>2014-03-31</date>
17
+ <time>17:46:27</time>
18
+ <contents><target name="magecommunity"><dir><dir name="Beecoder"><dir name="Beeshopy"><dir name="Block"><file name="BeetailerCode.php" hash="5ebd139c74329ed65008af77e8d98eb0"/><file name="Track.php" hash="a40d400b02f73d5b4dea35c348ffee00"/></dir><dir name="Helper"><file name="Data.php" hash="ead88c0b629856526d39e7fb6f3a4ca5"/></dir><dir name="Model"><file name="Api.php" hash="51c01294f61d45d81bf666fd90a8ce1e"/></dir><file name="changelog.txt" hash="3431a84d19e9f3eea27b21f19e17d471"/><dir name="controllers"><file name="AdminController.php" hash="ec76e2b55bb772b244d9fc2e06a2223e"/><file name="IndexController.php" hash="0c177b543cf62d6bcd5617c6713032d3"/></dir><dir name="etc"><file name="api.xml" hash="507ae656ea724a77def33efd8429d674"/><file name="config.xml" hash="0f266cb1c551fdbb499a004bed040eed"/></dir><file name="install.txt" hash="48681401ca44b68a89c111c37bbd76e0"/><file name=".changelog.txt.swp" hash="d3c007df4226cb4c2198c4c2e1528870"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Beecoder_Beeshopy.xml" hash="55666ef45f08dab44b138e49532ca3b8"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="beeshopy.xml" hash="39dceda3708b265ef734334905c566f3"/></dir><dir name="template"><dir name="beeshopy"><file name="track.phtml" hash="47c95001bb55042c5ae7d8ee4b03cccf"/><file name="beetailercode.phtml" hash="ae2644a2449ff3b0d9929da9cba85a59"/></dir></dir></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
21
  </package>