auguriaproductmatrix - Version 0.0.2

Version Notes

Fix bug on matrix customer group attribute

Download this release

Release Info

Developer Auguria
Extension auguriaproductmatrix
Version 0.0.2
Comparing to
See all releases


Code changes from version 0.0.1 to 0.0.2

app/code/community/Auguria/ProductMatrix/Block/Adminhtml/Catalog/Product/Helper/Form/Config/Customer/Group.php CHANGED
@@ -26,14 +26,14 @@ class Auguria_ProductMatrix_Block_Adminhtml_Catalog_Product_Helper_Form_Config_C
26
  */
27
  public function getElementHtml()
28
  {
29
- $values = $this->getValues();
30
- if ($values == '') {
31
- $this->setValues($this->_getValueFromConfig());
32
  }
33
  $html = parent::getElementHtml();
34
 
35
  $htmlId = 'use_config_' . $this->getHtmlId();
36
- $checked = ($values == '') ? ' checked="checked"' : '';
37
  $disabled = ($this->getReadonly()) ? ' disabled="disabled"' : '';
38
 
39
  $html .= '<input id="'.$htmlId.'" name="product['.$htmlId.']" '.$disabled.' value="1" ' . $checked;
26
  */
27
  public function getElementHtml()
28
  {
29
+ $value = $this->getValue();
30
+ if ($value == '') {
31
+ $this->setValue($this->_getValueFromConfig());
32
  }
33
  $html = parent::getElementHtml();
34
 
35
  $htmlId = 'use_config_' . $this->getHtmlId();
36
+ $checked = ($value == '') ? ' checked="checked"' : '';
37
  $disabled = ($this->getReadonly()) ? ' disabled="disabled"' : '';
38
 
39
  $html .= '<input id="'.$htmlId.'" name="product['.$htmlId.']" '.$disabled.' value="1" ' . $checked;
app/code/community/Auguria/ProductMatrix/etc/config.xml CHANGED
@@ -11,7 +11,7 @@
11
 
12
  <modules>
13
  <Auguria_ProductMatrix>
14
- <version>0.0.1</version>
15
  </Auguria_ProductMatrix>
16
  </modules>
17
 
11
 
12
  <modules>
13
  <Auguria_ProductMatrix>
14
+ <version>0.0.2</version>
15
  </Auguria_ProductMatrix>
16
  </modules>
17
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>auguriaproductmatrix</name>
4
- <version>0.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/gpl-license.php">GNU General Public License</license>
7
  <channel>community</channel>
@@ -22,11 +22,11 @@
22
  - frontend templates are not responsive&lt;br /&gt;&lt;br /&gt;&#xD;
23
  &#xD;
24
  &lt;a href="http://www.auguria.com/magento/auguria-productmatrix.html"&gt;Documentation&lt;/a&gt;</description>
25
- <notes>Compatibility with magento 1.9</notes>
26
  <authors><author><name>Auguria</name><user>auguria</user><email>magento@auguria.net</email></author></authors>
27
  <date>2014-07-16</date>
28
- <time>10:11:09</time>
29
- <contents><target name="magecommunity"><dir name="Auguria"><dir name="Core"><dir name="Helper"><file name="Data.php" hash="73bdf383ed70ef7a844149518637d4b1"/></dir><dir name="Model"><dir name="Attribute"><dir name="Backend"><dir name="Image"><file name="Abstract.php" hash="4ac4fc2b5653635b2c7d6a6761d32394"/></dir></dir></dir><dir name="Customer"><dir name="Attribute"><dir name="Source"><file name="Group.php" hash="275163848ce915273abf1b3bc752a112"/></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Config.php" hash="5e31ba47c019daa5575b9e442060f1d6"/><dir name="Customer"><dir name="Group"><file name="Multiselect.php" hash="7ffe45941e1a10491e0b161d5e5a2572"/></dir></dir></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="152714fbae8487307145ad01929173fd"/><file name="system.xml" hash="addce60a6afe7b99f9bbb8fa813d9010"/></dir></dir><dir name="ProductMatrix"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Helper"><dir name="Form"><dir name="Config"><dir name="Customer"><file name="Group.php" hash="680fdb918ed46748b958ec81216f53dc"/></dir></dir><file name="Config.php" hash="1840c4361f72f3b315b246d4e2f6730d"/></dir></dir></dir></dir></dir><dir name="Catalog"><dir name="Product"><file name="Matrix.php" hash="2a583fff8439583ee8f020f15ddba7be"/></dir></dir></dir><dir name="Helper"><file name="Config.php" hash="d43481a7eab755045021929964737d36"/><file name="Data.php" hash="dde58fd53a58af02e865499bc39eeb2c"/></dir><dir name="Model"><dir name="Entity"><dir name="Attribute"><dir name="Backend"><dir name="Customer"><file name="Group.php" hash="eb28ab09e47ef15b7c22bc95e79bb4b2"/></dir></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Matrix"><file name="Template.php" hash="dae57ce834d3793159b7998c8398381f"/></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Checkout"><file name="CartController.php" hash="13188546ae21d338b2b6cfed634896a4"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="43a734766e7c2aeb2a020d84d62fee2a"/><file name="config.xml" hash="1b4312bcc3f95f90410f51ce68f37596"/><file name="system.xml" hash="4b25c33b144bd116d42bb4d183724534"/></dir><dir name="sql"><dir name="auguria_productmatrix_setup"><file name="install-0.0.1.php" hash="68d2c8aaa6d304a6a42ba214afd8e5dd"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="auguria"><file name="core.xml" hash="73d41f963e258e406b8b9042b7b0f17b"/><file name="product_matrix.xml" hash="4bf81d781152deaabaeadd98c1f3ddec"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="auguria"><dir name="productmatrix"><dir name="catalog"><dir name="product"><dir name="matrix"><file name="condensed.phtml" hash="e82105985e266f7cc7244484b4fe9d38"/><file name="inline.phtml" hash="3e99170882a23d9cce28657d2c4e676c"/></dir></dir></dir></dir></dir></dir><dir name="layout"><dir name="auguria"><file name="product_matrix.xml" hash="f5085b207570102b109862415d1ca6e6"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Auguria_Core.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="Auguria_ProductMatrix.csv" hash="e1cb725e3a29921da37d500a1809f834"/></dir><dir name="fr_FR"><file name="Auguria_Core.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="Auguria_ProductMatrix.csv" hash="410afce641ac0abe9d889d3e853967ed"/></dir></target><target name="mageetc"><dir name="modules"><file name="Auguria_Core.xml" hash="1569ebe15f1c2b8e4b5c61b9bc797fe6"/><file name="Auguria_ProductMatrix.xml" hash="14ed53bc1b11812b148eca0579026ea6"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="auguria"><file name="core.css" hash="f21626dc01765695d52346bb5da8c0cb"/><dir name="images"><file name="tab-header.png" hash="277234c8e4a9462fe0bf91c174cef179"/><file name="section-header.png" hash="277234c8e4a9462fe0bf91c174cef179"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="auguria"><dir name="productmatrix"><file name="matrix.js" hash="500e6f440f3167625622b739a434734b"/></dir></dir></dir></target></contents>
30
  <compatible/>
31
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
32
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>auguriaproductmatrix</name>
4
+ <version>0.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/gpl-license.php">GNU General Public License</license>
7
  <channel>community</channel>
22
  - frontend templates are not responsive&lt;br /&gt;&lt;br /&gt;&#xD;
23
  &#xD;
24
  &lt;a href="http://www.auguria.com/magento/auguria-productmatrix.html"&gt;Documentation&lt;/a&gt;</description>
25
+ <notes>Fix bug on matrix customer group attribute</notes>
26
  <authors><author><name>Auguria</name><user>auguria</user><email>magento@auguria.net</email></author></authors>
27
  <date>2014-07-16</date>
28
+ <time>13:17:25</time>
29
+ <contents><target name="magecommunity"><dir name="Auguria"><dir name="Core"><dir name="Helper"><file name="Data.php" hash="73bdf383ed70ef7a844149518637d4b1"/></dir><dir name="Model"><dir name="Attribute"><dir name="Backend"><dir name="Image"><file name="Abstract.php" hash="4ac4fc2b5653635b2c7d6a6761d32394"/></dir></dir></dir><dir name="Customer"><dir name="Attribute"><dir name="Source"><file name="Group.php" hash="275163848ce915273abf1b3bc752a112"/></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Config.php" hash="5e31ba47c019daa5575b9e442060f1d6"/><dir name="Customer"><dir name="Group"><file name="Multiselect.php" hash="7ffe45941e1a10491e0b161d5e5a2572"/></dir></dir></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="152714fbae8487307145ad01929173fd"/><file name="system.xml" hash="addce60a6afe7b99f9bbb8fa813d9010"/></dir></dir><dir name="ProductMatrix"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Helper"><dir name="Form"><dir name="Config"><dir name="Customer"><file name="Group.php" hash="be6d46f09dfd8557c178385340e19dc6"/></dir></dir><file name="Config.php" hash="1840c4361f72f3b315b246d4e2f6730d"/></dir></dir></dir></dir></dir><dir name="Catalog"><dir name="Product"><file name="Matrix.php" hash="2a583fff8439583ee8f020f15ddba7be"/></dir></dir></dir><dir name="Helper"><file name="Config.php" hash="d43481a7eab755045021929964737d36"/><file name="Data.php" hash="dde58fd53a58af02e865499bc39eeb2c"/></dir><dir name="Model"><dir name="Entity"><dir name="Attribute"><dir name="Backend"><dir name="Customer"><file name="Group.php" hash="eb28ab09e47ef15b7c22bc95e79bb4b2"/></dir></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Matrix"><file name="Template.php" hash="dae57ce834d3793159b7998c8398381f"/></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Checkout"><file name="CartController.php" hash="13188546ae21d338b2b6cfed634896a4"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="43a734766e7c2aeb2a020d84d62fee2a"/><file name="config.xml" hash="9ca632926a6e63220782310c22f811b3"/><file name="system.xml" hash="4b25c33b144bd116d42bb4d183724534"/></dir><dir name="sql"><dir name="auguria_productmatrix_setup"><file name="install-0.0.1.php" hash="68d2c8aaa6d304a6a42ba214afd8e5dd"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="auguria"><file name="core.xml" hash="73d41f963e258e406b8b9042b7b0f17b"/><file name="product_matrix.xml" hash="4bf81d781152deaabaeadd98c1f3ddec"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="auguria"><dir name="productmatrix"><dir name="catalog"><dir name="product"><dir name="matrix"><file name="condensed.phtml" hash="e82105985e266f7cc7244484b4fe9d38"/><file name="inline.phtml" hash="3e99170882a23d9cce28657d2c4e676c"/></dir></dir></dir></dir></dir></dir><dir name="layout"><dir name="auguria"><file name="product_matrix.xml" hash="f5085b207570102b109862415d1ca6e6"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Auguria_Core.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="Auguria_ProductMatrix.csv" hash="e1cb725e3a29921da37d500a1809f834"/></dir><dir name="fr_FR"><file name="Auguria_Core.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="Auguria_ProductMatrix.csv" hash="410afce641ac0abe9d889d3e853967ed"/></dir></target><target name="mageetc"><dir name="modules"><file name="Auguria_Core.xml" hash="1569ebe15f1c2b8e4b5c61b9bc797fe6"/><file name="Auguria_ProductMatrix.xml" hash="14ed53bc1b11812b148eca0579026ea6"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="auguria"><file name="core.css" hash="f21626dc01765695d52346bb5da8c0cb"/><dir name="images"><file name="tab-header.png" hash="277234c8e4a9462fe0bf91c174cef179"/><file name="section-header.png" hash="277234c8e4a9462fe0bf91c174cef179"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="auguria"><dir name="productmatrix"><file name="matrix.js" hash="500e6f440f3167625622b739a434734b"/></dir></dir></dir></target></contents>
30
  <compatible/>
31
  <dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
32
  </package>