Wildcardbi_RulePriceAttribute - Version 1.2

Version Notes

There are a few more features to come in the stable release.

Download this release

Release Info

Developer Magento Core Team
Extension Wildcardbi_RulePriceAttribute
Version 1.2
Comparing to
See all releases


Code changes from version 1.1.2 to 1.2

app/code/local/Wildcardbi/RulePriceAttribute/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Wildcardbi_RulePriceAttribute>
5
- <version>1.1.2</version>
6
  </Wildcardbi_RulePriceAttribute>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Wildcardbi_RulePriceAttribute>
5
+ <version>1.2</version>
6
  </Wildcardbi_RulePriceAttribute>
7
  </modules>
8
  <global>
app/code/local/Wildcardbi/RulePriceAttribute/sql/wildcardbi_rulepriceattribute_setup/mysql4-install-1.2.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $installer = $this;
3
+ $installer->startSetup();
4
+ try{
5
+ $installer->run("ALTER TABLE catalogrule ADD attribute_to_select smallint(5) DEFAULT NULL");
6
+ $installer->run("ALTER TABLE catalogrule_product ADD attribute_to_select smallint(5) DEFAULT NULL");
7
+ $installer->run("ALTER TABLE catalogrule_product MODIFY action_operator ENUM('to_fixed','to_percent','by_fixed','by_percent','by_attribute_percent','to_attribute_percent','to_attribute','add_attribute','sub_attribute')");
8
+ } catch (Exception $e) {
9
+ }
10
+ $installer->endSetup();
app/code/local/Wildcardbi/RulePriceAttribute/sql/wildcardbi_rulepriceattribute_setup/mysql4-upgrade-1.1-1.2.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $installer = $this;
3
+ $installer->startSetup();
4
+ try{
5
+ $installer->run("ALTER TABLE catalogrule ADD attribute_to_select smallint(5) DEFAULT NULL");
6
+ $installer->run("ALTER TABLE catalogrule_product ADD attribute_to_select smallint(5) DEFAULT NULL");
7
+ $installer->run("ALTER TABLE catalogrule_product MODIFY action_operator ENUM('to_fixed','to_percent','by_fixed','by_percent','by_attribute_percent','to_attribute_percent','to_attribute','add_attribute','sub_attribute')");
8
+ } catch (Exception $e) {
9
+ }
10
+ $installer->endSetup();
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Wildcardbi_RulePriceAttribute</name>
4
- <version>1.1.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
@@ -11,8 +11,8 @@
11
  <notes>There are a few more features to come in the stable release.</notes>
12
  <authors><author><name>B ryan</name><user>auto-converted</user><email>ocsalesgroup@gmail.com</email></author></authors>
13
  <date>2010-08-12</date>
14
- <time>19:26:10</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="Wildcardbi_RulePriceAttribute.xml" hash="f222ef4f271e09c598823dcfc129192e"/></dir></target><target name="magelocal"><dir name="Wildcardbi"><dir name="RulePriceAttribute"><dir name="Block"><dir name="Promo"><dir name="Catalog"><dir name="Edit"><dir name="Tab"><file name="Actions.php" hash="d6d5d0450890d76526ab6210d9385914"/></dir></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="9d4b71d98a1242f1213ecf65c3b4cdc9"/></dir><dir name="Model"><dir name="Mysql4"><file name="Rule.php" hash="e1cfc36a4bae4b594d2db09a22786fc8"/></dir></dir><dir name="sql"><dir name="wildcardbi_rulepriceattribute_setup"><file name="mysql4-install-1.0.1.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-install-1.0.2.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-install-1.0.3.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-install-1.0.5.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-install-1.0.6.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-install-1.0.7.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-install-1.1.2.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-install-1.1.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-upgrade-1.0.2-1.0.3.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-upgrade-1.0.4-1.0.5.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-upgrade-1.0.5-1.0.6.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-upgrade-1.0.6-1.0.7.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-upgrade-1.0.7-1.1.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-upgrade-1.1-1.1.2.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Wildcardbi_RulePriceAttribute</name>
4
+ <version>1.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
11
  <notes>There are a few more features to come in the stable release.</notes>
12
  <authors><author><name>B ryan</name><user>auto-converted</user><email>ocsalesgroup@gmail.com</email></author></authors>
13
  <date>2010-08-12</date>
14
+ <time>19:33:15</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Wildcardbi_RulePriceAttribute.xml" hash="f222ef4f271e09c598823dcfc129192e"/></dir></target><target name="magelocal"><dir name="Wildcardbi"><dir name="RulePriceAttribute"><dir name="Block"><dir name="Promo"><dir name="Catalog"><dir name="Edit"><dir name="Tab"><file name="Actions.php" hash="d6d5d0450890d76526ab6210d9385914"/></dir></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="dca9978cc1d9d7e87498b64fd0723e41"/></dir><dir name="Model"><dir name="Mysql4"><file name="Rule.php" hash="e1cfc36a4bae4b594d2db09a22786fc8"/></dir></dir><dir name="sql"><dir name="wildcardbi_rulepriceattribute_setup"><file name="mysql4-install-1.0.1.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-install-1.0.2.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-install-1.0.3.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-install-1.0.5.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-install-1.0.6.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-install-1.0.7.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-install-1.1.2.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-install-1.1.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-install-1.2.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-upgrade-1.0.2-1.0.3.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-upgrade-1.0.4-1.0.5.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-upgrade-1.0.5-1.0.6.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-upgrade-1.0.6-1.0.7.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-upgrade-1.0.7-1.1.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-upgrade-1.1-1.1.2.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/><file name="mysql4-upgrade-1.1-1.2.php" hash="cc0aae2732df639eefb6f3814d48bcf5"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies/>
18
  </package>