Plugin Name: WPC Smart Points & Rewards for WooCommerce (Premium)
Plugin URI: https://wpclever.net/
Description: WPC Smart Points & Rewards for WooCommerce allows shop owners to reward their customers with points for every purchase.
Version: 1.1.0
1. We have a need to EXCLUDE Categories from earning points, so I went to the Smart Ratio Rules and entered 0 against certain Categories, but it is not working. In fact, entering anything does not seem to work, including trying listing User Roles. I have not had time to track this down.
I did get it to exclude Category Products by using Edit Product > Points & Rewards > Reward Ratio = 0...MOSTLY, except for Variations.
This makes it hard work keeping up with Products in these Categories rather than EXCLUDING the whole Category.
I tracked the Variation problem down to line 723 of /includes/class-wpcpr-helper.php and the code not picking up the Parent Meta.
This seems to fix it.
$product_ratio = $product->get_meta( '_wpcpr_ratio' );
// JAKE test for variation and get Parent META
if ( $product->is_type( 'variation' ) ) { $parent_id = $product->get_parent_id(); $product_ratio = get_post_meta( $parent_id, '_wpcpr_ratio', true );
}
// JAKE
Otherwise, seems to work well, including the reminder Floating Status.
Hi,
Plugin Name: WPC Smart Points & Rewards for WooCommerce (Premium) Plugin URI: https://wpclever.net/ Description: WPC Smart Points & Rewards for WooCommerce allows shop owners to reward their customers with points for every purchase. Version: 1.1.0
1. We have a need to EXCLUDE Categories from earning points, so I went to the Smart Ratio Rules and entered 0 against certain Categories, but it is not working. In fact, entering anything does not seem to work, including trying listing User Roles. I have not had time to track this down.
I did get it to exclude Category Products by using Edit Product > Points & Rewards > Reward Ratio = 0...MOSTLY, except for Variations. This makes it hard work keeping up with Products in these Categories rather than EXCLUDING the whole Category.
I tracked the Variation problem down to line 723 of /includes/class-wpcpr-helper.php and the code not picking up the Parent Meta.
This seems to fix it.
$product_ratio = $product->get_meta( '_wpcpr_ratio' ); // JAKE test for variation and get Parent META if ( $product->is_type( 'variation' ) ) { $parent_id = $product->get_parent_id(); $product_ratio = get_post_meta( $parent_id, '_wpcpr_ratio', true ); } // JAKEOtherwise, seems to work well, including the reminder Floating Status.
Jake
Attached files: Screenshot From 2026-06-11 18-56-58.png