SUMO Reward Points, by Fantastic Plugins
Add provided code to functions.php and update Settings.
Calculation option “Use prices modified by other plugins” must be ON.
System option “Suppress other pricing plugins in frontend” must be OFF.
1 2 3 4 5 6 7 8 9 |
add_filter( 'wdp_price_display_html', function ( $price_html, $wdp_product ) { if ( ! $wdp_product->are_rules_applied() ) { return WDP_Frontend::process_without_hooks( array( $wdp_product->get_wc_product(), 'get_price_html' ), array( 'woocommerce_get_price_html' ) ); } return $price_html; }, 10, 2 ); |