Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

add text next to price woocommerce

function cw_change_product_price_display( $price ) {
    $price .= ' TEXT';
    return $price;
}
add_filter( 'woocommerce_get_price_html', 'cw_change_product_price_display' );
add_filter( 'woocommerce_cart_item_price', 'cw_change_product_price_display' );
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #text #price #woocommerce
ADD COMMENT
Topic
Name
6+7 =