thanks Brian as usual, but not work too.
and also are we sure that remove only the 0.00 price ? and not also where the mounthly prices are defined ?
<?php
# Remove Pricing From Cart BillingCycles Hook
# Written by brian!
use WHMCS\Config\Setting;
function cart_remove_prices_in_billingcycles_hook($vars) {
$pricebreak = Setting::getValue('ProductMonthlyPricingBreakdown');
if ($vars['templatefile'] == 'configureproduct') {
$pricing = $vars['pricing'];
$cyclesarray = array('monthly','quarterly','semiannually','annually','biennially','triennially');
foreach ($cyclesarray as $cycle) {
if ($pricing[$cycle]) {
$langstring = 'orderpaymentterm'.$cycle;
$pricing[$cycle] = Lang::trans($langstring);
}
}
return array("pricing" => $pricing);
}
}
add_hook("ClientAreaPageCart", 1, "cart_remove_prices_in_billingcycles_hook");