View Categories

Change >= in shipping price label for Cost by Distance Range feature

< 1 min read

If you create a list of ranges in LPAC, and leave the last row’s End Range blank, LPAC will show >= <range> in the shipping method name (if you have the option turned on).



You can replace this >= by using a filter:

PHP
function lpac_cc_change_distance_range_exceeded_prefix(){
  return "more than";
}
add_filter('lpac_distance_range_exceeded_prefix', 'lpac_cc_change_distance_range_exceeded_prefix');