Search on Knowledge Base
J2T_Rewardpoints
Sep 16, 2015 by Peter D.
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.
Get Discount!

Get your personal discount !

Like us on Facebook, post a Tweet or rate us at Google Plus to get instant 10% OFF on any purchase from our store.

Please make your choice
Discount Coupon Code

Back to top