Answers for "how much does woocommerce cost"

3

how to get woocommerce product price

$_product->get_regular_price();
$_product->get_sale_price();
$_product->get_price();
Posted by: Guest on May-21-2020
0

include in the price html woocommerce

add_filter( 'woocommerce_get_price_html', 'wpa83367_price_html', 100, 2 );
function wpa83367_price_html( $price, $product ){
    return 'Was:' . str_replace( '<ins>', ' Now:<ins>', $price );
}
Posted by: Guest on October-20-2020

Code answers related to "how much does woocommerce cost"

Browse Popular Code Answers by Language