The original price for variations must be shown before the discount
1 2 3 4 5 6 |
add_filter( "adp_get_price_html_is_mod_needed", function ( $mod, $product, $context ) { if ( $product->is_type( 'variable' ) && $context->is( $context::WC_PRODUCT_PAGE ) ) { return false; } return $mod; }, 10, 3 ); |