Get matched rule range/table info based on product in product page
Retrieve matched rule range/table info based on the product on the product page.
if(class_exists('\Wdr\App\Router')) {
global $product;
$discountManager = \Wdr\App\Router::$manage_discount;
$discountCalculator = $discountManager::$calculator;
$is_variant = false;
$bulk_discounts_ranges = $discountCalculator->getDefaultLayoutMessagesByRules($product, $is_variant);
//$bulk_discounts_ranges Here you get rule range info
}