Documentation for the MSRP (RRP) Pricing for WooCommerce plugin.

Documentation for MSRP (RRP) Pricing for WooCommerce Plugin

Author: WPFactory PluginsVersion: 1.7.10Updated: 5 days ago
Requires WordPress version: 4.4Tested up to WordPress version: 6.5

Settings

 

With MSRP for WooCommerce Pro plugin you can save and (optionally) display product MSRP in WooCommerce. When used in variable products – MSRP can be set separately for each variation.

The manufacturer’s suggested retail price (MSRP), also known as the list price, or the recommended retail price (RRP), or the suggested retail price (SRP), of a product is the price at which the manufacturer recommends that the retailer sell the product.

Main Features

  • Set display options separately for single product, archives and cart pages.
  • Show/hide savings amount (and percent) on frontend.
  • Set MSRP by country (country will be detected automatically by visitor’s IP address).
  • Set MSRP by currency (for currency switcher plugins).
  • Customize final template.
  • Display total savings in cart.
  • Show MSRP on frontend for selected user roles only.

Tools

MSRP for WooCommerce - Tools

  • Copy all products prices to MSRP – this is useful when you initially install the plugin. Please note that all MSRP values will be overwritten.
  • Delete all products MSRP meta – deletes all plugin’s products meta.

Options

Settings are located in “WooCommerce > Settings > MSRP”.

Display Options

There are three separate display settings sections with same settings: Single Product Page Display Options, Archives Display Options and Cart Display Options.

MSRP for WooCommerce - Display Options

Display
Possible values: Do not show; Show; Only show if MSRP is higher than the standard price; Only show if MSRP differs from the standard price.
Default: Show
Position
Possible values: Before the standard price; After the standard price; Instead of the standard price.
Default: After the standard price
Savings amount
To display this, use %you_save% in “Final Template”. Replaced value: %you_save_raw%.
Default:
 (%you_save_raw%)
Savings amount in percent
To display this, use %you_save_percent% in “Final Template”. Replaced value: %you_save_percent_raw%.
Default:
 (%you_save_percent_raw% %)
Savings amount in percent - rounding precision
Sets number of decimals to round to, when %you_save_percent% is used in template.
Default: 0
Final template
Replaced values: %msrp%, %you_save%, %you_save_percent%, %price%. You can also use shortcodes here, e.g.: [alg_wc_msrp_wpml lang="en"][/alg_wc_msrp_wpml].
Default:

</pre>
<div class="price"><label for="alg_wc_msrp">MSRP</label>: <span id="alg_wc_msrp"><del>%msrp%</del>%you_save%</span></div>
<p>

Cart Total Savings Display Options

MSRP for WooCommerce - Cart Total Savings Display Options

Cart total savings
Display total savings in cart.
Default: no
Position(s)
Possible values: Before cart; Before cart table; Before cart contents; Cart contents; Cart coupon; Cart actions; After cart contents; After cart table; Cart collaterals; After cart; Before cart totals; Cart totals: Before shipping; Cart totals: After shipping; Cart totals: Before order total; Cart totals: After order total; Proceed to checkout; After cart totals; Before shipping calculator; After shipping calculator.
Default: None
Template
Replaced value: %total_savings%. You can also use shortcodes here, e.g.: [alg_wc_msrp_wpml lang="en"][/alg_wc_msrp_wpml].
Default:

</pre>
<div class="price"><label for="alg_wc_msrp_total_savings">You save</label>: <span id="alg_wc_msrp_total_savings">%total_savings%</span></div>
<p>

Cart Total Savings Frontend Example

If you will set “Template” option to:

</pre>
<div class="woocommerce-message" role="alert">You save: -%total_savings%</div>
<p>

MSRP for WooCommerce - Cart Total Savings - Frontend

Countries Options

Fill in this optional section, if you want to save different MSRP values for different countries. The country will be detected automatically by the visitor’s IP address.

MSRP for WooCommerce - Admin Settings - Countries Options

MSRP by country
Enables/disables section.
Default: no
Countries
Select countries here. Save changes to see new options.
Default: None
Country #1
Set country currency here.
Default: None
Country #N
Set country currency here.
Default: None

MSRP for WooCommerce - Countries Meta Box

Currencies Options

Fill in this optional section, if you want to save different MSRP values for different currencies. Currency can be switched with some external currency switcher plugin.

MSRP for WooCommerce - Admin Settings - Currencies Options

MSRP by currency
Enables/disables section.
Default: no
Currencies
Selected currencies will appear on each product’s edit page.
Default: None

MSRP for WooCommerce - Currencies Meta Box

Advanced Options

MSRP for WooCommerce - Advanced Options

Hide MSRP for products with empty price
Hides MSRP for products with blank (i.e. empty) price.
Default: no
Hide regular price for products on sale
Hides regular price for products on sale and with MSRP.
Default: no
Custom range format
Enables custom range format for variable products when displaying MSRP data.
Default: no
Custom range format: Template
Replaced values: %from%, %to%.
Default:
From %from%
Apply price filter
Enable this if you want to apply standard WooCommerce price filter to MSRP (e.g. if you are using some currency switcher plugin with price calculation by exchange rates).
Default: no
Required user role(s)
Only show MSRP to selected user roles. Leave blank to show to all user roles. For example you could hide MSRP from frontend for all user roles except admin and/or shop manager.
Default: None
Variable MSRP optimization
Possible values: None; Save in transients; Save in array.
Default: None

Admin Options

MSRP for WooCommerce - Admin Options

Add MSRP column to admin products list
Default: no
Add MSRP field to admin quick edit
Default: no
Add MSRP field to admin bulk edit
Default: no
Advanced: MSRP field position in admin quick and bulk edit
Possible values: At the start; At the end.
Default: At the end

Styling the MSRP

You can style MSRP by either using CSS (e.g. in “Appearance > Customize > Additional CSS”), e.g.:

label[for=alg_wc_msrp] { display: inline !important; color: red !important; font-weight: normal !important; }
#alg_wc_msrp { display: inline !important; color: green !important; font-weight: bold !important; }

or inserting style attribute directly to the “Final template”:

</pre>
<div class="price"><label for="alg_wc_msrp">MSRP</label>: <span id="alg_wc_msrp" style="color: red;"><del>%msrp%</del>%you_save%</span></div>
<p>

Importing MSRP from CSV

If you are using the standard “WooCommerce products (CSV)” tool (in “Tools > Import”) for importing products from CSV (as described here), then you just need to add column named "Meta: _alg_msrp" to your CSV file.

If you are using some other tool for importing, then you need to set for the column to import to meta with _alg_msrp key. Similarly when exporting MSRP, you would need to set to export product meta with _alg_msrp key.

MSRP for WooCommerce - Importing MSRP from CSV