Version Notes
See http://github.com/organicinternet/magento-configurable-simple/ for up-to-date documentation and to contribute!
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | OrganicInternet_SimpleConfigurableProducts |
| Version | 0.7.2 |
| Comparing to | |
| See all releases | |
Code changes from version 0.7.1 to 0.7.2
app/code/community/OrganicInternet/SimpleConfigurableProducts/Catalog/Model/Resource/Eav/Mysql4/Product/Indexer/Price.php
CHANGED
|
@@ -1,8 +1,5 @@
|
|
| 1 |
<?php
|
| 2 |
|
| 3 |
-
# MD NEEDS REWORK TO INDEX CHILD PRODUCTS WHEN SAVING CONF PRODUCT
|
| 4 |
-
# THIS IT'S EASY BUT IT'S HALF 3 SO WHO KNOWS? :)
|
| 5 |
-
|
| 6 |
class OrganicInternet_SimpleConfigurableProducts_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price
|
| 7 |
extends Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price
|
| 8 |
{
|
|
@@ -72,6 +69,8 @@ class OrganicInternet_SimpleConfigurableProducts_Catalog_Model_Resource_Eav_Mysq
|
|
| 72 |
$processIds = array_merge($processIds, array_keys($children));
|
| 73 |
#Ignore tier price data for actual configurable product
|
| 74 |
$tierPriceIds = array_keys($children);
|
|
|
|
|
|
|
| 75 |
}
|
| 76 |
#Mage::log("catalogProductSave: " . "copyRelationIndexData for: " . $productId);
|
| 77 |
$this->_copyRelationIndexData($productId);
|
| 1 |
<?php
|
| 2 |
|
|
|
|
|
|
|
|
|
|
| 3 |
class OrganicInternet_SimpleConfigurableProducts_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price
|
| 4 |
extends Mage_Catalog_Model_Resource_Eav_Mysql4_Product_Indexer_Price
|
| 5 |
{
|
| 69 |
$processIds = array_merge($processIds, array_keys($children));
|
| 70 |
#Ignore tier price data for actual configurable product
|
| 71 |
$tierPriceIds = array_keys($children);
|
| 72 |
+
} else {
|
| 73 |
+
$tierPriceIds = $productId;
|
| 74 |
}
|
| 75 |
#Mage::log("catalogProductSave: " . "copyRelationIndexData for: " . $productId);
|
| 76 |
$this->_copyRelationIndexData($productId);
|
app/code/community/OrganicInternet/SimpleConfigurableProducts/etc/config.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<OrganicInternet_SimpleConfigurableProducts>
|
| 5 |
-
<version>0.7.
|
| 6 |
</OrganicInternet_SimpleConfigurableProducts>
|
| 7 |
</modules>
|
| 8 |
<global>
|
| 2 |
<config>
|
| 3 |
<modules>
|
| 4 |
<OrganicInternet_SimpleConfigurableProducts>
|
| 5 |
+
<version>0.7.2</version>
|
| 6 |
</OrganicInternet_SimpleConfigurableProducts>
|
| 7 |
</modules>
|
| 8 |
<global>
|
