Version Notes
Loyalty programme for success pages
Download this release
Release Info
Developer | Magento Core Team |
Extension | Bonusbox_Bonusbox1 |
Version | 1.1.1 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.1.1
app/code/community/Bonusbox/Bonusbox/Model/SalesRule/Condition/Bonusbox.php
CHANGED
@@ -3,7 +3,7 @@ class Bonusbox_Bonusbox_Model_SalesRule_Condition_Bonusbox extends Mage_Rule_Mod
|
|
3 |
{
|
4 |
public function addConditions(Varien_Event_Observer $observer)
|
5 |
{
|
6 |
-
$class = 'bonusbox/
|
7 |
$condition = Mage::getModel($class);
|
8 |
$condition->loadAttributeOptions();
|
9 |
foreach ($condition->getAttributeOption() as $attribute => $label)
|
3 |
{
|
4 |
public function addConditions(Varien_Event_Observer $observer)
|
5 |
{
|
6 |
+
$class = 'bonusbox/salesRule_condition_bonusbox';
|
7 |
$condition = Mage::getModel($class);
|
8 |
$condition->loadAttributeOptions();
|
9 |
foreach ($condition->getAttributeOption() as $attribute => $label)
|
app/code/community/Bonusbox/Bonusbox/etc/config.xml
CHANGED
@@ -44,7 +44,7 @@
|
|
44 |
<salesrule_rule_condition_combine>
|
45 |
<observers>
|
46 |
<bonusbox>
|
47 |
-
<class>bonusbox/
|
48 |
<method>addConditions</method>
|
49 |
</bonusbox>
|
50 |
</observers>
|
44 |
<salesrule_rule_condition_combine>
|
45 |
<observers>
|
46 |
<bonusbox>
|
47 |
+
<class>bonusbox/salesRule_condition_bonusbox</class>
|
48 |
<method>addConditions</method>
|
49 |
</bonusbox>
|
50 |
</observers>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Bonusbox_Bonusbox1</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/MIT">MIT License</license>
|
7 |
<channel>community</channel>
|
@@ -13,8 +13,8 @@ For further information, check out our homepage www.bonusbox.me.</description>
|
|
13 |
<notes>Loyalty programme for success pages</notes>
|
14 |
<authors><author><name>Jan Riethmayer</name><user>auto-converted</user><email>jan@bonusbox.me</email></author></authors>
|
15 |
<date>2012-01-16</date>
|
16 |
-
<time>
|
17 |
-
<contents><target name="magecommunity"><dir name="Bonusbox"><dir name="Bonusbox"><dir name="Block"><dir name="Checkout"><file name="Success.php" hash="c60b2ff6d08a990d4c2fee03dad8fd76"/></dir></dir><dir name="controllers"><file name="TestController.php" hash="c0b4a8bc94e61ad974cb2639a9f31d2e"/></dir><dir name="etc"><file name="config.xml" hash="
|
18 |
<compatible/>
|
19 |
<dependencies/>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Bonusbox_Bonusbox1</name>
|
4 |
+
<version>1.1.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/MIT">MIT License</license>
|
7 |
<channel>community</channel>
|
13 |
<notes>Loyalty programme for success pages</notes>
|
14 |
<authors><author><name>Jan Riethmayer</name><user>auto-converted</user><email>jan@bonusbox.me</email></author></authors>
|
15 |
<date>2012-01-16</date>
|
16 |
+
<time>17:26:39</time>
|
17 |
+
<contents><target name="magecommunity"><dir name="Bonusbox"><dir name="Bonusbox"><dir name="Block"><dir name="Checkout"><file name="Success.php" hash="c60b2ff6d08a990d4c2fee03dad8fd76"/></dir></dir><dir name="controllers"><file name="TestController.php" hash="c0b4a8bc94e61ad974cb2639a9f31d2e"/></dir><dir name="etc"><file name="config.xml" hash="367aea116551705f893db00663585969"/><file name="system.xml" hash="34c55484b3db6b7df74078ff9259831a"/></dir><dir name="Helper"><file name="Data.php" hash="960efbbb590a566219933dfb7a82fd77"/><file name="Successpage.php" hash="bc389365d75932a6054df02f3359597d"/></dir><dir name="Model"><dir name="Client"><file name="Badges.php" hash="ef1b25b841ab24db961a9007de26d3a2"/><file name="Coupons.php" hash="d194a60a18c8ef5d50885de48edd5f58"/><file name="Successpages.php" hash="f90e95b81a385aa6e11ca7ece3ade63b"/></dir><dir name="Sales"><file name="Observer.php" hash="ca70bb57f270691743c9683438cda6c0"/></dir><dir name="SalesRule"><dir name="Condition"><file name="Bonusbox.php" hash="2c3ba430975270fdf7168f970d608632"/></dir><file name="Validator.php" hash="361099ff2b3bd934cbdeef84dd631010"/></dir><file name="Client.php" hash="e6d07ee4bad0b5fd0023f1b407d9cf1f"/><file name="Session.php" hash="e577a8dc2ed9ed6ef1f32c8130c03fa8"/></dir><file name="Exception.php" hash="3816ef60762bc800941bfb975525d581"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="bonusbox.xml" hash="f54448012a1ded76fba3e17626fe36da"/></dir><dir name="template"><dir name="bonusbox"><dir name="checkout"><file name="success.phtml" hash="2db7c3f9ba5bc1ba70332550c9def603"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Bonusbox_Bonusbox.xml" hash="924b6d17825c821f6d4e5846eba164c5"/></dir></target></contents>
|
18 |
<compatible/>
|
19 |
<dependencies/>
|
20 |
</package>
|