WordPress.org

Support

Support » Plugins and Hacks » WooCommerce » Price ending with

Price ending with

Viewing 1 replies (of 1 total)
  • terrytsang

    @terrytsang

    @anur, you can try below code:

    add_filter( 'woocommerce_get_price_html', 'custom_price_html', 100, 2 );
    function custom_price_html( $price, $product ){
        if($price != "")
          return $price . ' /-';
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Price ending with’ is closed to new replies.
Skip to toolbar