I found an incompatibility with Ty Package Tracker. If you use it to update the status of the order when you send a customer a tracking number, the reward Points are never updated since the check for a status change is done in orders.php and that is bypassed by the Ty Package Tracker.
To make it compatible, open admin/tracker.php and find (about line 160 for me)
Code:
$messageStack->add_session(SUCCESS_ORDER_UPDATED, 'success');
} else {
$messageStack->add_session(WARNING_ORDER_NOT_UPDATED, 'warning');
}
and place this directly above it:
Code:
UpdateOrderRewardPointsStatus($oID,$status,$check_status->fields['orders_status']); // !!! AGM
A few lines down the file (around line 177 for me) find:
Code:
zen_remove_order($oID, $_POST['restock']);
Place this directly below:
Code:
DeleteOrderRewardPoints($oID);
I made those changes and it works for me now.
I would imagine that any mod that bypasses the order.php will need to have those two lines added to it before Reward Points mod will work.
Bookmarks