ShortDescriptionGenerator - Version 1.0.3

Version Notes

Works fine

Download this release

Release Info

Developer Alin
Extension ShortDescriptionGenerator
Version 1.0.3
Comparing to
See all releases


Code changes from version 1.0.2 to 1.0.3

app/code/community/Alin/AutoShortDescription/controllers/Adminhtml/Catalog/ProductController.php CHANGED
@@ -12,8 +12,10 @@ class Alin_AutoShortDescription_Adminhtml_Catalog_ProductController extends Mage
12
  foreach ($attribs as $attrib) {
13
 
14
  if ($attrib->getUsedInProductListing() && $attrib->getIsUserDefined()) {
 
15
  $prodAttrVal='<b>'.$attrib->getStoreLabel().': </b>';
16
- $pa=$_product->getAttributeText($attrib->getAttributeCode());
 
17
  if ($pa==null) $pa='N/A';
18
  $prodAttrVal.=$pa;
19
  if ($i % 2==0) $str.='<tr><td>'.$prodAttrVal.'</td>';
12
  foreach ($attribs as $attrib) {
13
 
14
  if ($attrib->getUsedInProductListing() && $attrib->getIsUserDefined()) {
15
+
16
  $prodAttrVal='<b>'.$attrib->getStoreLabel().': </b>';
17
+ $pa=$attrib->getFrontend()->getValue($_product);
18
+ //$pa=$_product->getAttributeText($attrib->getAttributeCode());
19
  if ($pa==null) $pa='N/A';
20
  $prodAttrVal.=$pa;
21
  if ($i % 2==0) $str.='<tr><td>'.$prodAttrVal.'</td>';
app/code/community/Alin/AutoShortDescription/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Alin_AutoShortDescription>
5
- <version>1.0.2</version>
6
  </Alin_AutoShortDescription>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Alin_AutoShortDescription>
5
+ <version>1.0.3</version>
6
  </Alin_AutoShortDescription>
7
  </modules>
8
  <global>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ShortDescriptionGenerator</name>
4
- <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
@@ -12,8 +12,8 @@
12
  <notes>Works fine</notes>
13
  <authors><author><name>Alin</name><user>alinx27</user><email>alinx27@yahoo.com</email></author></authors>
14
  <date>2013-03-15</date>
15
- <time>06:36:49</time>
16
- <contents><target name="magecommunity"><dir name="Alin"><dir name="AutoShortDescription"><dir name="Helper"><file name="Data.php" hash="18a9798192071bc895f96964df9a1c68"/></dir><dir name="Model"><file name="Observer.php" hash="3f33e0c5bd1fc43c98fe65806d387338"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Catalog"><file name="ProductController.php" hash="76663f041ff42040671ac2dca3d182f9"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="6f37cb87d0d8fee4a164aead1b100e1b"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Alin_AutoShortDescription.xml" hash="242f33048b011ff1ec117d2f57aa33ea"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ShortDescriptionGenerator</name>
4
+ <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license>OSL</license>
7
  <channel>community</channel>
12
  <notes>Works fine</notes>
13
  <authors><author><name>Alin</name><user>alinx27</user><email>alinx27@yahoo.com</email></author></authors>
14
  <date>2013-03-15</date>
15
+ <time>09:14:59</time>
16
+ <contents><target name="magecommunity"><dir name="Alin"><dir name="AutoShortDescription"><dir name="Helper"><file name="Data.php" hash="18a9798192071bc895f96964df9a1c68"/></dir><dir name="Model"><file name="Observer.php" hash="3f33e0c5bd1fc43c98fe65806d387338"/></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Catalog"><file name="ProductController.php" hash="e31e26cf74a4540dc0f6309294d50972"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="54e35c77eddf410fe21781ee98993d2f"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Alin_AutoShortDescription.xml" hash="242f33048b011ff1ec117d2f57aa33ea"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
19
  </package>