Version Notes
* Fixes problems with activated product flat index
Download this release
Release Info
Developer | Andre Herrn |
Extension | Fraisr |
Version | 0.4.8 |
Comparing to | |
See all releases |
Code changes from version 0.4.7 to 0.4.8
- app/code/community/Fraisr/Connect/Model/Entity/Attribute/Source/Category.php +27 -0
- app/code/community/Fraisr/Connect/Model/Entity/Attribute/Source/Cause.php +27 -0
- app/code/community/Fraisr/Connect/Model/Entity/Attribute/Source/DonationPercentage.php +27 -0
- app/code/community/Fraisr/Connect/etc/config.xml +1 -1
- package.xml +5 -5
app/code/community/Fraisr/Connect/Model/Entity/Attribute/Source/Category.php
CHANGED
@@ -144,4 +144,31 @@ class Fraisr_Connect_Model_Entity_Attribute_Source_Category extends Mage_Eav_Mod
|
|
144 |
}
|
145 |
return $this->_options;
|
146 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
}
|
144 |
}
|
145 |
return $this->_options;
|
146 |
}
|
147 |
+
|
148 |
+
/**
|
149 |
+
* Retrieve Column(s) for Flat
|
150 |
+
*
|
151 |
+
* @return array
|
152 |
+
*/
|
153 |
+
public function getFlatColums()
|
154 |
+
{
|
155 |
+
return array($this->getAttribute()->getAttributeCode() => array(
|
156 |
+
'type' => 'varchar(255)',
|
157 |
+
'unsigned' => false,
|
158 |
+
'is_null' => true,
|
159 |
+
'default' => null,
|
160 |
+
'extra' => null
|
161 |
+
));
|
162 |
+
}
|
163 |
+
|
164 |
+
/**
|
165 |
+
* Retrieve Select For Flat Attribute update
|
166 |
+
*
|
167 |
+
* @param int $store
|
168 |
+
* @return Varien_Db_Select|null
|
169 |
+
*/
|
170 |
+
public function getFlatUpdateSelect($store)
|
171 |
+
{
|
172 |
+
return Mage::getResourceSingleton('eav/entity_attribute')->getFlatUpdateSelect($this->getAttribute(), $store);
|
173 |
+
}
|
174 |
}
|
app/code/community/Fraisr/Connect/Model/Entity/Attribute/Source/Cause.php
CHANGED
@@ -68,4 +68,31 @@ class Fraisr_Connect_Model_Entity_Attribute_Source_Cause extends Mage_Eav_Model_
|
|
68 |
}
|
69 |
return $this->_options;
|
70 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
}
|
68 |
}
|
69 |
return $this->_options;
|
70 |
}
|
71 |
+
|
72 |
+
/**
|
73 |
+
* Retrieve Column(s) for Flat
|
74 |
+
*
|
75 |
+
* @return array
|
76 |
+
*/
|
77 |
+
public function getFlatColums()
|
78 |
+
{
|
79 |
+
return array($this->getAttribute()->getAttributeCode() => array(
|
80 |
+
'type' => 'varchar(255)',
|
81 |
+
'unsigned' => false,
|
82 |
+
'is_null' => true,
|
83 |
+
'default' => null,
|
84 |
+
'extra' => null
|
85 |
+
));
|
86 |
+
}
|
87 |
+
|
88 |
+
/**
|
89 |
+
* Retrieve Select For Flat Attribute update
|
90 |
+
*
|
91 |
+
* @param int $store
|
92 |
+
* @return Varien_Db_Select|null
|
93 |
+
*/
|
94 |
+
public function getFlatUpdateSelect($store)
|
95 |
+
{
|
96 |
+
return Mage::getResourceSingleton('eav/entity_attribute')->getFlatUpdateSelect($this->getAttribute(), $store);
|
97 |
+
}
|
98 |
}
|
app/code/community/Fraisr/Connect/Model/Entity/Attribute/Source/DonationPercentage.php
CHANGED
@@ -64,4 +64,31 @@ class Fraisr_Connect_Model_Entity_Attribute_Source_DonationPercentage
|
|
64 |
|
65 |
return $this->_options;
|
66 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
}
|
64 |
|
65 |
return $this->_options;
|
66 |
}
|
67 |
+
|
68 |
+
/**
|
69 |
+
* Retrieve Column(s) for Flat
|
70 |
+
*
|
71 |
+
* @return array
|
72 |
+
*/
|
73 |
+
public function getFlatColums()
|
74 |
+
{
|
75 |
+
return array($this->getAttribute()->getAttributeCode() => array(
|
76 |
+
'type' => 'int',
|
77 |
+
'unsigned' => false,
|
78 |
+
'is_null' => true,
|
79 |
+
'default' => null,
|
80 |
+
'extra' => null
|
81 |
+
));
|
82 |
+
}
|
83 |
+
|
84 |
+
/**
|
85 |
+
* Retrieve Select For Flat Attribute update
|
86 |
+
*
|
87 |
+
* @param int $store
|
88 |
+
* @return Varien_Db_Select|null
|
89 |
+
*/
|
90 |
+
public function getFlatUpdateSelect($store)
|
91 |
+
{
|
92 |
+
return Mage::getResourceSingleton('eav/entity_attribute')->getFlatUpdateSelect($this->getAttribute(), $store);
|
93 |
+
}
|
94 |
}
|
app/code/community/Fraisr/Connect/etc/config.xml
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
<config>
|
20 |
<modules>
|
21 |
<Fraisr_Connect>
|
22 |
-
<version>0.4.
|
23 |
</Fraisr_Connect>
|
24 |
</modules>
|
25 |
<global>
|
19 |
<config>
|
20 |
<modules>
|
21 |
<Fraisr_Connect>
|
22 |
+
<version>0.4.8</version>
|
23 |
</Fraisr_Connect>
|
24 |
</modules>
|
25 |
<global>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Fraisr</name>
|
4 |
-
<version>0.4.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Extension zur Anbindung von Magento an den fraisr-Marktplatz</summary>
|
10 |
<description>Extension zur Anbindung von Magento an den fraisr-Marktplatz</description>
|
11 |
-
<notes>*
|
12 |
<authors><author><name>Andre Herrn</name><user>fraisr</user><email>andre.herrn@das-medienkombinat.de</email></author><author><name>Christopher Knötschke</name><user>fraisr</user><email>chris@fraisr.com</email></author></authors>
|
13 |
-
<date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Fraisr"><dir name="Connect"><dir name="Block"><dir name="Adminhtml"><dir name="Entity"><dir name="Attribute"><file name="FraisrId.php" hash="3b5b31fa5ea711b2ff7fd62493af9385"/><file name="FraisrUpdate.php" hash="7c4cd9a33e95d2a6157aa7e19e58faac"/></dir></dir><dir name="Log"><dir name="Edit"><file name="Form.php" hash="ad10ba1358a251cc2fadcd4412cd71a6"/></dir><file name="Edit.php" hash="cee21008eb87a9a18dafc91a054b8762"/><file name="Grid.php" hash="5fdad267ad670efa9ff8219aa6e81f58"/></dir><file name="Log.php" hash="76f6ebcfeb901a9eb30feb767390be60"/><dir name="System"><dir name="Config"><file name="Support.php" hash="2a6306e94bdc0180fe43c78d7052c379"/></dir></dir></dir><dir name="Catalog"><dir name="Product"><dir name="Json"><file name="List.php" hash="bac5ca7939aba90877528281ab1c7d67"/><file name="View.php" hash="d886952165104a8589ab331bb4582b1c"/></dir><dir name="View"><file name="Label.php" hash="cfd9565e9180aa441a90044f26cc2b5f"/></dir></dir></dir><dir name="Frontend"><file name="Widget.php" hash="104642fb642c5bc4d160df189d033f5a"/></dir></dir><file name="Exception.php" hash="b73df12d1f1614add01ffaccde251428"/><dir name="Helper"><dir name="Adminhtml"><file name="Data.php" hash="ddd81a07a9920b0ff6253dae32c10f3f"/></dir><file name="Data.php" hash="1e11e42b6d3e5ed038aa5dd3faf07c68"/><dir name="Synchronisation"><file name="Abstract.php" hash="ddb949841004ec8aeb9d03f03753d6aa"/><file name="Order.php" hash="84a2996123f842415675670b37767d4b"/><file name="Product.php" hash="3870e04fb00db2e7f16f148d28509b89"/></dir></dir><dir name="Model"><dir name="Api"><file name="Exception.php" hash="9edeb6b33714659171e8a15fd35bc3bc"/><file name="Request.php" hash="ffe470d6d9aa73a6131b8e4f2a0e38ea"/><file name="Response.php" hash="b550de6539c928fffdeb4b98bfbd4382"/></dir><file name="Category.php" hash="82c652c89ea5038e7a0a25a779acd481"/><file name="Cause.php" hash="7d5a80040315176562393d096adc8009"/><file name="Config.php" hash="363dab723003bf4579960dce2e3bdc16"/><dir name="Entity"><dir name="Attribute"><dir name="Source"><file name="Category.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Fraisr</name>
|
4 |
+
<version>0.4.8</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Extension zur Anbindung von Magento an den fraisr-Marktplatz</summary>
|
10 |
<description>Extension zur Anbindung von Magento an den fraisr-Marktplatz</description>
|
11 |
+
<notes>* Fixes problems with activated product flat index</notes>
|
12 |
<authors><author><name>Andre Herrn</name><user>fraisr</user><email>andre.herrn@das-medienkombinat.de</email></author><author><name>Christopher Knötschke</name><user>fraisr</user><email>chris@fraisr.com</email></author></authors>
|
13 |
+
<date>2014-01-21</date>
|
14 |
+
<time>13:33:40</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Fraisr"><dir name="Connect"><dir name="Block"><dir name="Adminhtml"><dir name="Entity"><dir name="Attribute"><file name="FraisrId.php" hash="3b5b31fa5ea711b2ff7fd62493af9385"/><file name="FraisrUpdate.php" hash="7c4cd9a33e95d2a6157aa7e19e58faac"/></dir></dir><dir name="Log"><dir name="Edit"><file name="Form.php" hash="ad10ba1358a251cc2fadcd4412cd71a6"/></dir><file name="Edit.php" hash="cee21008eb87a9a18dafc91a054b8762"/><file name="Grid.php" hash="5fdad267ad670efa9ff8219aa6e81f58"/></dir><file name="Log.php" hash="76f6ebcfeb901a9eb30feb767390be60"/><dir name="System"><dir name="Config"><file name="Support.php" hash="2a6306e94bdc0180fe43c78d7052c379"/></dir></dir></dir><dir name="Catalog"><dir name="Product"><dir name="Json"><file name="List.php" hash="bac5ca7939aba90877528281ab1c7d67"/><file name="View.php" hash="d886952165104a8589ab331bb4582b1c"/></dir><dir name="View"><file name="Label.php" hash="cfd9565e9180aa441a90044f26cc2b5f"/></dir></dir></dir><dir name="Frontend"><file name="Widget.php" hash="104642fb642c5bc4d160df189d033f5a"/></dir></dir><file name="Exception.php" hash="b73df12d1f1614add01ffaccde251428"/><dir name="Helper"><dir name="Adminhtml"><file name="Data.php" hash="ddd81a07a9920b0ff6253dae32c10f3f"/></dir><file name="Data.php" hash="1e11e42b6d3e5ed038aa5dd3faf07c68"/><dir name="Synchronisation"><file name="Abstract.php" hash="ddb949841004ec8aeb9d03f03753d6aa"/><file name="Order.php" hash="84a2996123f842415675670b37767d4b"/><file name="Product.php" hash="3870e04fb00db2e7f16f148d28509b89"/></dir></dir><dir name="Model"><dir name="Api"><file name="Exception.php" hash="9edeb6b33714659171e8a15fd35bc3bc"/><file name="Request.php" hash="ffe470d6d9aa73a6131b8e4f2a0e38ea"/><file name="Response.php" hash="b550de6539c928fffdeb4b98bfbd4382"/></dir><file name="Category.php" hash="82c652c89ea5038e7a0a25a779acd481"/><file name="Cause.php" hash="7d5a80040315176562393d096adc8009"/><file name="Config.php" hash="363dab723003bf4579960dce2e3bdc16"/><dir name="Entity"><dir name="Attribute"><dir name="Source"><file name="Category.php" hash="b8d7858a9b58c9f66af01c29864a9900"/><file name="Cause.php" hash="cc1a108bbfa36ad2d587f157c5d0ffed"/><file name="DonationPercentage.php" hash="ff8c6b428521270c1b3bbe08ad38cab0"/><file name="Visibility.php" hash="076eef84245161bba9cf878524d5c1e3"/></dir></dir></dir><file name="Log.php" hash="afa03219f67f5dfa3d6da9c69525b9f7"/><dir name="Mysql4"><dir name="Category"><file name="Collection.php" hash="572bdc6a3a818a644a8afa170bd79a1c"/></dir><file name="Category.php" hash="ec8b07d6447905add97f3934622b839d"/><dir name="Cause"><file name="Collection.php" hash="37294f0c2b82e7dce37ef3aef99c45c2"/></dir><file name="Cause.php" hash="795bab5edab9c89987e09a8f260b2c73"/><dir name="Log"><file name="Collection.php" hash="1f0e9993959e694112be1762691600b3"/></dir><file name="Log.php" hash="88f831dc313b2873871a8db508717a47"/></dir><file name="Observer.php" hash="3c9268bb4142da116209fcaefc56677e"/><file name="Order.php" hash="ccd82fc8d887adea2f2962ca7a59aa0e"/><file name="Product.php" hash="87f16a29b7f5d2a8ee0082ee9017f746"/><dir name="Resource"><file name="Setup.php" hash="c7fa7ca79477cd1fe66731525d718a5d"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="BanderolePosition.php" hash="6950b70d023c8d7ff475b7a1ec157363"/><file name="DonationLabel.php" hash="cad5e736745ec3d81a53c67e9cf2f018"/><file name="IconPosition.php" hash="70d21f296eea0833f8f2b5fd7278e1ec"/><file name="ProductAttribute.php" hash="9cbe063b1adc8e6441d490106cb290a8"/><file name="Scope.php" hash="90070b38db18fc47b07c590337253651"/></dir></dir></dir></dir><dir name="controllers"><file name="AbstractController.php" hash="21b1105be3e69396d40a25f55570355e"/><dir name="Adminhtml"><file name="LogController.php" hash="f3ba897e445acfe3f34697668eabf7fd"/><file name="SynchronisationController.php" hash="c7ad2115b3ba39cc6ae93097dc2f58ad"/></dir><file name="OrdersController.php" hash="41941d55fbe9fdc55d8789e5c774bbc0"/></dir><dir name="etc"><file name="adminhtml.xml" hash="c45830aa9aa1d61cb578280836fd1d77"/><file name="config.xml" hash="96362f67d8d44fb3561aa48095c970e4"/><file name="system.xml" hash="49167acb1b20f9d8b7b7cc49152afdb0"/></dir><dir name="sql"><dir name="fraisrconnect_setup"><file name="mysql4-install-0.1.0.php" hash="538c2dda212b55e84facbe02020e8a1c"/><file name="mysql4-upgrade-0.1.0-0.1.2.php" hash="3c3826353e7aef17db3d43614022bd05"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="453407d6fe33398c3288ccaeb6ff34d4"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="746c98b109deea2b7648f16c9629a28d"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="04c452067cc87efd6140a369de5c0a27"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="a24f127685ec51d289b964a353258e05"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="011d3d7df9c2532d3295a53095764731"/><file name="mysql4-upgrade-0.1.7-0.1.8.php" hash="59b871795b0cef1789895a9e0de827eb"/><file name="mysql4-upgrade-0.1.8-0.2.0.php" hash="ca49d4510a5c6fbec8ce7414e11046a2"/><file name="mysql4-upgrade-0.2.0-0.2.1.php" hash="f9c5a6f192d10ef8985ae62904b7f68b"/><file name="mysql4-upgrade-0.2.1-0.2.2.php" hash="ca4e5fca6c3ab44f21a1d3cc92033bac"/><file name="mysql4-upgrade-0.2.2-0.3.0.php" hash="ef0fe908d322f82ebbb8b60b19320111"/><file name="mysql4-upgrade-0.3.0-0.3.3.php" hash="2f0b456b26f5d0fe02d59965c7ec1c47"/><file name="mysql4-upgrade-0.3.3-0.3.4.php" hash="12c4cf36ff8c0b4e64d1d3a46fed844a"/><file name="mysql4-upgrade-0.3.4-0.3.5.php" hash="923eb74bb2e8ecde1c011431897d2094"/><file name="mysql4-upgrade-0.3.5-0.4.0.php" hash="04c452067cc87efd6140a369de5c0a27"/><file name="mysql4-upgrade-0.4.0-0.4.1.php" hash="5b87d9c425eef9ddee0085e91b513b67"/><file name="mysql4-upgrade-0.4.1-0.4.2.php" hash="3ad65c1fa98f4823ec856fc47fb6a234"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Fraisr_Connect.xml" hash="e037cdec4cbb114352f359be5167baf2"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="fraisrconnect"><dir name="catalog"><dir name="product"><dir name="json"><file name="list.phtml" hash="3361fe64acda92225d82cf028c960514"/><file name="view.phtml" hash="bf4b2a000e4c6f0748bf34f51f4238b5"/></dir><dir name="view"><file name="label_bottom.phtml" hash="bfa63e6c013424207d2d7df1d240ccb1"/><file name="label_top.phtml" hash="c9b9eec5c7bb546791eac70b770e9b68"/></dir></dir></dir><dir name="frontend"><file name="widget.phtml" hash="af561ae0ea6d7d0f788d2a1b1346f3df"/></dir></dir></dir><dir name="layout"><file name="fraisrconnect.xml" hash="4f04d956b570f8e57f423fb77d408938"/></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="fraisrconnect"><dir name="system"><dir name="config"><file name="support.phtml" hash="be21e090f46e29ca2ce6e19474085fc4"/></dir></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="de_DE"><file name="Fraisr_Connect.csv" hash="ebadc6c1d35ebe624650d61befc03ff7"/></dir><dir name="en_US"><file name="Fraisr_Connect.csv" hash="840e8658866d9ccd9b6bcd1c505fe1bf"/></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
</package>
|