Add a filter to modify the points calculations

It would be great to add filters to the return values of the ‘calculate_points_for_discount’ and ‘calculate_points’ functions in the ‘WC_Points_Rewards_Manager’ class.

This would allow plugins such as currency conversion plugins to hook in to the amount of points earned and needed to redeem and modify these values. This is vital to currency conversion plugins, otherwise the wrong amount of points is applied, which could lead to significant losses to the store.

Current Status

Open

Last updated: December 15, 2019

0 comments

Log in to comment on this feature request.

WooCommerce

The most customizable eCommerce platform for building your online business.

  • 30-day money-back guarantee
  • Support teams across the world
  • Safe and secure online payment