{"id":32522,"date":"2014-10-30T11:14:29","date_gmt":"2014-10-30T11:14:29","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/woocommerce-rrp\/"},"modified":"2026-02-05T02:10:57","modified_gmt":"2026-02-05T02:10:57","slug":"woocommerce-rrp","status":"closed","type":"plugin","link":"https:\/\/tr.wordpress.org\/plugins\/woocommerce-rrp\/","author":9338947,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.9.0","stable_tag":"1.9.0","tested":"6.9.4","requires":"4.0","requires_php":"","requires_plugins":null,"header_name":"RRP (MSRP) for WooCommerce","header_author":"Bradley Davis","header_description":"","assets_banners_color":"2f67c5","last_updated":"2026-02-05 02:10:57","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/bradley-davis.com\/wordpress-plugins\/woocommerce-rrp\/","header_author_uri":"http:\/\/bradley-davis.com","rating":4.9,"author_block_rating":0,"active_installs":1000,"downloads":32562,"num_ratings":9,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.2":{"tag":"1.2","author":"Brad Davis","date":"2017-06-20 11:24:08"},"1.3":{"tag":"1.3","author":"Brad Davis","date":"2017-10-26 10:43:57"},"1.4":{"tag":"1.4","author":"Brad Davis","date":"2018-05-30 06:29:22"},"1.5":{"tag":"1.5","author":"Brad Davis","date":"2018-05-30 06:29:22"},"1.6":{"tag":"1.6","author":"Brad Davis","date":"2018-08-24 06:36:12"},"1.7.0":{"tag":"1.7.0","author":"Brad Davis","date":"2018-12-10 11:57:00"},"1.7.2":{"tag":"1.7.2","author":"Brad Davis","date":"2019-02-27 02:28:22"},"1.7.3":{"tag":"1.7.3","author":"Brad Davis","date":"2019-08-24 05:54:06"},"1.7.4":{"tag":"1.7.4","author":"Brad Davis","date":"2020-10-22 05:16:51"},"1.7.5":{"tag":"1.7.5","author":"Brad Davis","date":"2020-11-09 05:17:46"},"1.7.6":{"tag":"1.7.6","author":"Brad Davis","date":"2022-02-15 03:54:04"},"1.8.0":{"tag":"1.8.0","author":"Brad Davis","date":"2024-05-17 13:15:21"},"1.9.0":{"tag":"1.9.0","author":"Brad Davis","date":"2026-02-05 02:10:57"}},"upgrade_notice":{"1.0":"<ul>\n<li>You should use WooCommerce RRP 1.0 for the convenience of having the ability to add text before the regular and sale price from the WooCommerce Setting UI.<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":1,"5":8},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1997175,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":1997175,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":1997129,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":1997142,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2","1.3","1.4","1.5","1.6","1.7.0","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.8.0","1.9.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":1016658,"resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":3454216,"resolution":"2","location":"assets","locale":""},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":1016658,"resolution":"3","location":"assets","locale":""},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":3454216,"resolution":"4","location":"assets","locale":""},"screenshot-5.jpg":{"filename":"screenshot-5.jpg","revision":1016658,"resolution":"5","location":"assets","locale":""},"screenshot-6.jpg":{"filename":"screenshot-6.jpg","revision":3454216,"resolution":"6","location":"assets","locale":""}},"screenshots":{"1":"Entering text into the \"Product Price Text\" will display before the regular price for the product.","2":"Here you can see the arrow pointing to the text displayed that you entered in the \"Product Price Text\" field.","3":"Entering text into the \"Sale Price Text\" will display before the sale price for the product.","4":"Here you can see the arrow pointing to the text displayed that you entered in the \"Sale Price Text\" field.","5":"Selecting the \"Show Text On Archives\" will display the text entered in the \"Product Price Text\" and \"Sale Price Text\" fields on archive templates.","6":"Here you can see the arrows pointing to the text entered in \"Product Price Text\" and \"Sale Price Text\" on an archive."}},"plugin_section":[],"plugin_tags":[66563,286,65863,66562,66564],"plugin_category":[45],"plugin_contributors":[82832],"plugin_business_model":[],"class_list":["post-32522","plugin","type-plugin","status-closed","hentry","plugin_tags-wc-admin","plugin_tags-woocommerce","plugin_tags-woocommerce-admin","plugin_tags-woocommerce-price","plugin_tags-woocommerce-product-settings","plugin_category-ecommerce","plugin_contributors-brad-davis","plugin_committers-brad-davis"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/woocommerce-rrp_2f67c5.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/woocommerce-rrp\/assets\/screenshot-1.jpg?rev=1016658","caption":"Entering text into the \"Product Price Text\" will display before the regular price for the product."},{"src":"https:\/\/ps.w.org\/woocommerce-rrp\/assets\/screenshot-2.jpg?rev=3454216","caption":"Here you can see the arrow pointing to the text displayed that you entered in the \"Product Price Text\" field."},{"src":"https:\/\/ps.w.org\/woocommerce-rrp\/assets\/screenshot-3.jpg?rev=1016658","caption":"Entering text into the \"Sale Price Text\" will display before the sale price for the product."},{"src":"https:\/\/ps.w.org\/woocommerce-rrp\/assets\/screenshot-4.jpg?rev=3454216","caption":"Here you can see the arrow pointing to the text displayed that you entered in the \"Sale Price Text\" field."},{"src":"https:\/\/ps.w.org\/woocommerce-rrp\/assets\/screenshot-5.jpg?rev=1016658","caption":"Selecting the \"Show Text On Archives\" will display the text entered in the \"Product Price Text\" and \"Sale Price Text\" fields on archive templates."},{"src":"https:\/\/ps.w.org\/woocommerce-rrp\/assets\/screenshot-6.jpg?rev=3454216","caption":"Here you can see the arrows pointing to the text entered in \"Product Price Text\" and \"Sale Price Text\" on an archive."}],"raw_content":"<!--section=description-->\n<p>RRP (MSRP) for WooCommerce allows a users to add text before the regular price and sale price of a product from within WooCommerce General settings. You can also select to have this text displayed on archive templates by simply clicking a select box.<\/p>\n\n<p>If you would like to change the display text for a certain product, you can use the <a href=\"http:\/\/codex.wordpress.org\/Function_Reference\/add_filter\" title=\"Function Reference\/add filter\">WordPress add filter function<\/a>, please see the FAQ for an example.<\/p>\n\n<p>If you have suggestions for new features, please add your idea in the \"Support\" area for this plugin.<\/p>\n\n<p>If RRP WooCommerce has made your life a little easier, please leave a positive review in the \"Reviews\" area for this plugin.<\/p>\n\n<h4>Requires WooCommerce to be installed.<\/h4>\n\n<!--section=installation-->\n<ol>\n<li>Upload RRP WooCommerce to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Go to WooCommerce &gt; Settings and add your text to the input areas in \"Currency Options\". See Screenshots for a visual explanation.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"what%20if%20i%20want%20to%20change%20the%20%22product%20price%20text%22%20for%20a%20certain%20product%3F\"><h3>What if I want to change the \"Product Price Text\" for a certain product?<\/h3><\/dt>\n<dd><p>This can be done using the built in <a href=\"http:\/\/codex.wordpress.org\/Function_Reference\/add_filter\" title=\"Function Reference\/add filter\">WordPress add filter function<\/a>. 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:<\/p>\n\n<pre><code>function change_before_regular_price( $woo_rrp_before_price ) {\n    global $post;\n    if ( '96' == $post-&gt;ID ) :\n        return 'Your new Product Price Text';\n    else :\n        return $woo_rrp_before_price;\n    endif;\n}\nadd_filter( 'woo_rrp_before_price', 'change_before_regular_price' );\n<\/code><\/pre><\/dd>\n<dt id=\"what%20if%20i%20want%20to%20change%20the%20%22sale%20price%20text%22%20for%20a%20certain%20product%3F\"><h3>What if I want to change the \"Sale Price Text\" for a certain product?<\/h3><\/dt>\n<dd><p>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:<\/p>\n\n<pre><code>function change_before_sale_price( $woo_rrp_before_sale_price ) {\n    global $post;\n    if ( '96' == $post-&gt;ID ) :\n        return 'Your new Sale Price Text';\n    else :\n        return $woo_rrp_before_sale_price;\n    endif;\n}\nadd_filter( 'woo_rrp_before_sale_price', 'change_before_sale_price' );\n<\/code><\/pre><\/dd>\n<dt id=\"can%20you%20provide%20a%20list%20of%20filters%20that%20are%20available%20and%20a%20description%20of%20what%20they%20control%3F\"><h3>Can you provide a list of filters that are available and a description of what they control?<\/h3><\/dt>\n<dd><p>Sure, there are two filters available for you to use:<\/p>\n\n<ul>\n<li>woo_rrp_before_price - Controls the text that is displayed before the regular price of a product.<\/li>\n<li>woo_rrp_before_sale_price - Controls the text that is displayed before the sale price of a product.<\/li>\n<\/ul><\/dd>\n<dt id=\"enabling%20the%20%22show%20text%20on%20archives%22%20messes%20up%20the%20archive%20display%2C%20can%20you%20please%20fix%20this%3F\"><h3>Enabling the \"Show Text On Archives\" messes up the archive display, can you please fix this?<\/h3><\/dt>\n<dd><p>You will need to tidy this up using a little CSS styling.<\/p><\/dd>\n<dt id=\"there%20isn%27t%20any%20translations%20of%20this%20plugin%2C%20can%20i%20provide%20you%20a%20translation%20in%20my%20local%20language%20to%20include%3F\"><h3>There isn't any translations of this plugin, can I provide you a translation in my local language to include?<\/h3><\/dt>\n<dd><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.9.0<\/h4>\n\n<ul>\n<li>This plugin is now known as RRP for WooCommerce, its a trademark thing.  <\/li>\n<\/ul>\n\n<h4>1.8.0<\/h4>\n\n<ul>\n<li>Added compatible with High Performance Order Storage (HPOS)<\/li>\n<li>Tested on WordPress 6.5.3<\/li>\n<li>Tested on WooCommerce 8.9.0<\/li>\n<\/ul>\n\n<h4>1.7.6<\/h4>\n\n<ul>\n<li>Tested on WordPress 5.9<\/li>\n<li>Tested on WooCommerce 6.2.0<\/li>\n<li>Fixed display bug for \"Product Price Text\" when item is on sale<\/li>\n<li>Fixed display for \"Product Price Text\" when product does not have a price<\/li>\n<li>Changed filter priority to fire later <\/li>\n<li>Refactoring functions in render category and single product classes <\/li>\n<\/ul>\n\n<h4>1.7.5<\/h4>\n\n<ul>\n<li>Updated single product to not output product price text field when price is empty<\/li>\n<li>Updated category view to not output product price text field when price is empty<\/li>\n<\/ul>\n\n<h4>1.7.4<\/h4>\n\n<ul>\n<li>Tested on WordPress 5.5.1<\/li>\n<li>Tested on WooCommerce 4.6.1<\/li>\n<\/ul>\n\n<h4>1.7.3<\/h4>\n\n<ul>\n<li>Tested on WordPress 5.2.2<\/li>\n<li>Tested on WooCommerce 3.7.0<\/li>\n<\/ul>\n\n<h4>1.7.2<\/h4>\n\n<ul>\n<li>Tested on WordPress 5.1<\/li>\n<li>Tested on WooCommerce 3.5.5<\/li>\n<\/ul>\n\n<h4>1.7.1<\/h4>\n\n<ul>\n<li>Tested on WooCommerce 3.5.3<\/li>\n<\/ul>\n\n<h4>1.7.0<\/h4>\n\n<ul>\n<li>WPCS refactor<\/li>\n<li>Tested on WordPress 5.0.0<\/li>\n<li>Tested on WooCommerce 3.5.2<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Added translation functions on user input strings<\/li>\n<li>Added languages folder with po, mo and pot file in en_AU<\/li>\n<li>Tested on WordPress v4.9.8<\/li>\n<li>Tested on WooCommerce v3.4.4<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Tested on WordPress v4.9.6<\/li>\n<li>Tested on WooCommerce v3.4.1<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Tested on WordPress 4.9<\/li>\n<li>Tested on WooCommerce 3.2.4<\/li>\n<li>Added span with class=\"rrp-price\" around before price string<\/li>\n<li>Added span with class=\"rrp-sale\" around before sale price string<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Tested on WordPress 4.8.2<\/li>\n<li>Tested on WooCommerce 3.2.1<\/li>\n<li>Add WooCommerce header version check<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Tested on WordPress 4.8<\/li>\n<li>Tested on WooCommerce 3.0.8<\/li>\n<li>Removed &nbsp; and replaced with whitespace for readers<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added conditional check to price so text only shows if price is not empty<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Original commit and released to the world<\/li>\n<\/ul>","raw_excerpt":"RRP (MSRP) for WooCommerce allows users to add text before the regular price and sale price of a product from within WooCommerce General settings.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/32522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=32522"}],"author":[{"embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/brad-davis"}],"wp:attachment":[{"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=32522"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=32522"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=32522"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=32522"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=32522"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=32522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}