J2T_Rewardpoints
If rewardpoints are not updated when you remove the item from the cart, apply the following changes:1. Open app/code/community/Rewardpoints/Helper/Data.php and find the method getPointsOnOrder. Replace the following code:
$attribute_restriction = Mage::getStoreConfig('rewardpoints/default/process_restriction', $storeId); foreach ($items->getItems() as $_item){ if ($_item->getParentItemId()) {with:
$attribute_restriction = Mage::getStoreConfig('rewardpoints/default/process_restriction', $storeId); $ids = $items->getAllIds(); foreach ($items->getItems() as $_item){ if (!in_array($_item->getId(), $ids)) { continue; } if ($_item->getParentItemId()) {2. Disable compilation and clear the cache.