Download RRP for WooCommerce
This plugin is available from wordpress.org, download – RRP for WooCommerce.
Overview
RRP for WooCommerce is a plugin that works with WooCommerce. RRP WooCommerce allows a users to add text before the regular price and sale price of a product from within the WooCommerce General settings UI. You can also select to have this text displayed on archive templates by simply clicking a select box.
If you would like to change the display text for a certain product, you can use the WordPress add filter function. See the examples below the screenshots.
Screenshots






What if I want to change the “Product Price Text” for a certain product?
This can be done using the built in WordPress add filter function. For example, if we had a product with an id of 96 and we wanted to change the text of the “Product Price Text” field to “Your new Product Price Text, the function would like this:
function change_before_regular_price( $woo_rrp_before_price ) {
global $post;
if ( '96' == $post->ID ) :
return 'Your new Product Price Text';
else :
return $woo_rrp_before_price;
endif;
}
add_filter( 'woo_rrp_before_price', 'change_before_regular_price' );What if I want to change the “Sale Price Text” for a certain product?
This can be done using the built in WordPress add filter function. For example, if we had a product with an id of 96 and we wanted to change the text of the “Sale Price Text” field to “Your new Sale Price Text, the function would like this:
function change_before_sale_price( $woo_rrp_before_sale_price ) {
global $post;
if ( '96' == $post->ID ) :
return 'Your new Sale Price Text';
else :
return $woo_rrp_before_sale_price;
endif;
}
add_filter( 'woo_rrp_before_sale_price', 'change_before_sale_price' );
George Wragg says:
I am relatively new to IT.
However, I have a WP site with the woocommerce plugin activated. I am running an affiliate site with the external/affiliate option in use. I have installed WooCommerce RRP plugin and entered “From:” in the product price text tab but find that either with or without “show text on archives” ticked, that the word “From” does appear.Can you help?
WP is up to date and Divi theme is in use.
Bradley says:
This could be a theme related issue.