include in the price html woocommerce

Solutions on MaxInterview for include in the price html woocommerce by the best coders in the world

showing results for - "include in the price html woocommerce"
Dante
04 May 2016
1add_filter( 'woocommerce_get_price_html', 'wpa83367_price_html', 100, 2 );
2function wpa83367_price_html( $price, $product ){
3    return 'Was:' . str_replace( '<ins>', ' Now:<ins>', $price );
4}
5
similar questions
queries leading to this page
include in the price html woocommerce