Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save xlplugins/d352abbf6cf10e6c2f2378a431814cec to your computer and use it in GitHub Desktop.
Save xlplugins/d352abbf6cf10e6c2f2378a431814cec to your computer and use it in GitHub Desktop.
FK:Handle multiple minus(-) sign at slide cart
add_action('fkcart_before_cart_items',function (){
add_filter('woocommerce_cart_totals_coupon_html',function($html){
$html= str_replace('-','',$html);
return $html;
},50);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment