CommerceBees_CustomerGroupRestriction_v1 - Version 1.0.1

Version Notes

Patch for Customer group restriction module is released to avoid errors during uninstallation

Download this release

Release Info

Developer Commerce Bees
Extension CommerceBees_CustomerGroupRestriction_v1
Version 1.0.1
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.1

CommerceBees_CustomerGroupRestriction_Extension_Guide_V1.0.pdf → CommerceBees_CustomerGroupRestriction_Extension_Guide_V1.0.1.pdf RENAMED
Binary file
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>CommerceBees_CustomerGroupRestriction_v1</name>
4
- <version>1.0.0</version>
5
  <stability>stable</stability>
6
  <license uri="https://www.gnu.org/copyleft/gpl.html">GPL v3</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Customer group restriction is a free Magento module to restrict some customer groups from buying certain products</summary>
10
  <description>Customer group restriction is a free Magento module to restrict some customer groups from buying certain products</description>
11
- <notes>First version of Customer group restriction module is released</notes>
12
  <authors><author><name>Commerce Bees</name><user>CommerceBees</user><email>support@commercebees.com</email></author></authors>
13
- <date>2014-02-27</date>
14
- <time>14:42:32</time>
15
- <contents><target name="magelocal"><dir name="Ameex"><dir name="CustomerGroupRestriction"><dir name="Model"><dir name="Backend"><file name="Group.php" hash="f24eadc38e45c75905f7a88f19120cec"/></dir><file name="Observer.php" hash="e863e07690a9676983fb61d4bf1a951c"/><file name="Product.php" hash="0f16637b3e0af4a8f0f1689ab594f1ec"/><dir name="Source"><file name="Group.php" hash="fc9e7b288a6a57a28650a8049d32e956"/></dir></dir><dir name="etc"><file name="config.xml" hash="082dcdf853dabf6f844c5fef4ba7b7d6"/></dir><dir name="sql"><dir name="customergrouprestriction_setup"><file name="mysql4-install-0.0.1.php" hash="d2d158f8ee2cdc05efe2fbb1bf9a66d2"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="customergrouprestriction.xml" hash="71ea236a632778c9a5243a0ed977388c"/></dir><dir name="template"><dir name="customergrouprestriction"><dir name="catalog"><dir name="product"><dir name="compare"><file name="list.phtml" hash="04ce582f321a2de12d2b2e6cb3faa6ae"/></dir><file name="list.phtml" hash="f15543d86e9c41920e11fc337025ea9c"/></dir></dir><dir name="checkout"><dir name="cart"><file name="crosssell.phtml" hash="edd009e4203bd3f9901163937bb1c8d1"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ameex_CustomerGroupRestriction.xml" hash="f9634c4f37189d58f6b12e467d7222ec"/></dir></target><target name="mage"><dir name="."><file name="CommerceBees_CustomerGroupRestriction_Extension_Guide_V1.0.pdf" hash="586466d775c18d4d074647639bbad5fe"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>7.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>CommerceBees_CustomerGroupRestriction_v1</name>
4
+ <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="https://www.gnu.org/copyleft/gpl.html">GPL v3</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Customer group restriction is a free Magento module to restrict some customer groups from buying certain products</summary>
10
  <description>Customer group restriction is a free Magento module to restrict some customer groups from buying certain products</description>
11
+ <notes>Patch for Customer group restriction module is released to avoid errors during uninstallation</notes>
12
  <authors><author><name>Commerce Bees</name><user>CommerceBees</user><email>support@commercebees.com</email></author></authors>
13
+ <date>2014-03-04</date>
14
+ <time>15:23:40</time>
15
+ <contents><target name="magelocal"><dir name="Ameex"><dir name="CustomerGroupRestriction"><dir name="Model"><dir name="Backend"><file name="Group.php" hash="f24eadc38e45c75905f7a88f19120cec"/></dir><file name="Observer.php" hash="e863e07690a9676983fb61d4bf1a951c"/><file name="Product.php" hash="0f16637b3e0af4a8f0f1689ab594f1ec"/><dir name="Source"><file name="Group.php" hash="fc9e7b288a6a57a28650a8049d32e956"/></dir></dir><dir name="etc"><file name="config.xml" hash="082dcdf853dabf6f844c5fef4ba7b7d6"/></dir><dir name="sql"><dir name="customergrouprestriction_setup"><file name="mysql4-install-0.0.1.php" hash="d2d158f8ee2cdc05efe2fbb1bf9a66d2"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="customergrouprestriction.xml" hash="71ea236a632778c9a5243a0ed977388c"/></dir><dir name="template"><dir name="customergrouprestriction"><dir name="catalog"><dir name="product"><dir name="compare"><file name="list.phtml" hash="04ce582f321a2de12d2b2e6cb3faa6ae"/></dir><file name="list.phtml" hash="f15543d86e9c41920e11fc337025ea9c"/></dir></dir><dir name="checkout"><dir name="cart"><file name="crosssell.phtml" hash="edd009e4203bd3f9901163937bb1c8d1"/></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ameex_CustomerGroupRestriction.xml" hash="f9634c4f37189d58f6b12e467d7222ec"/></dir></target><target name="mage"><dir name="."><file name="CommerceBees_CustomerGroupRestriction_Extension_Guide_V1.0.1.pdf" hash="62f008106803b96eacc89d3b1713c135"/><file name="uninstall_ameex_customergrouprestriction_module.php" hash="a7780ef49594d128cff81e0a847f570a"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>7.0.0</max></php></required></dependencies>
18
  </package>
uninstall_ameex_customergrouprestriction_module.php ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ require_once 'app/Mage.php';
3
+ umask(0);
4
+ Mage::app('default');
5
+
6
+ $setup = Mage::getModel('eav/entity_setup', 'core_setup');
7
+ $setup->startSetup();
8
+ $setup->removeAttribute('catalog_product', 'restrict_groups');
9
+
10
+ $setup->run("
11
+ DELETE FROM {$setup->getTable('core/resource')}
12
+ WHERE code = 'customergrouprestriction_setup'");
13
+ $setup->endSetup();
14
+
15
+ echo 'Product Restriction Based On Customer Group has been uninstalled completely';