Tested Updated Perfect rating

MSRP for WooCommerce

(1 customer review)

From: $19.99 / year

MSRP for WooCommerce Pro plugin lets you save and (optionally) display product MSRP in WooCommerce.

Clear

Description

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:
<div class="price"><label for="alg_wc_msrp">MSRP</label>: <span id="alg_wc_msrp"><del>%msrp%</del>%you_save%</span></div>

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:
<div class="price"><label for="alg_wc_msrp_total_savings">You save</label>: <span id="alg_wc_msrp_total_savings">%total_savings%</span></div>

Cart Total Savings Frontend Example

If you will set “Template” option to:

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

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”:

<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>

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

1 review for MSRP for WooCommerce

  1. X

    Thanks!

Add a review

Your email address will not be published. Required fields are marked *

21 thoughts on "MSRP for WooCommerce"

  1. Hello, I’m also running into an issue where the %price% placeholder isn’t displaying for variable products where the sale price is different between variations.

    See: https://transfer.sh/XbkKV/Screen-Shot-2019-07-13-at-4.27.46-PM.png

    and this is how my template is setup:

    https://transfer.sh/X3Rxq/Screen-Shot-2019-07-13-at-4.27.58-PM.png

    here is the pricing on that product:
    https://transfer.sh/12ObgD/Screen-Shot-2019-07-13-at-4.31.40-PM.png

    Any help would be greatly appreciated.

    1. Please give me a minute to test it on my server – will get back to you shortly.

    2. I’ve just checked the plugin code and you are correct – %price% placeholder is working for non-variable products only. Will be fixing that in next plugin release.

    3. Hi Dustin,

      Sorry for a late reply. As promised, we’ve just released new plugin version 1.3.7, where I’ve fixed %price% placeholder for the variable products.

      Please let me know if there are still any issues.

  2. Hello, I just purchased the pro version and I’m having trouble with it. Right now, when I have a variable product that have different MSRP prices, it will show a range (eg. 29.95 – 31.95) and those numbers are crossed out. I have my store set to display as from ($29.95) instead of the range, like your site here does.

    How can I make the plugin display MSRP price as a “From” instead of a range?

    Thanks!
    Dustin

    1. Hi Dustin,

      Wasn’t possible, but we’ve just released new plugin version 1.3.6, where I’ve added Custom range format option to “WooCommerce > Settings > MSRP > Advanced Options”. Please take a look and let me know if something is not working as expected or if you have any questions. And if you like the plugin, please consider leaving me a rating.

  3. Hi There,

    Is there a way to switch off the regular price when we have a sale price added.

    Currently, we have MSRP then the our regular price which is fine when we have no sale on. however, some products on sale (less than our usual price) which now shows 3 prices, MSRP, regular and sale. we would prefer it to just show MSRP and sale price or MSRP and regular price if there is no sale on.

    Hope this makes sense!

    1. Hi,

      Sure, I can do that. Will try to release new plugin version on Monday. One question though – which product types do you have on your site? I mean – simple, variable, grouped etc.?

    2. Hi,

      As promised, we’ve released new plugin version 1.3.6 today, where I’ve added Hide regular price for products on sale option to “WooCommerce > Settings > MSRP > Advanced Options”. Please take a look and let me know if something is not working as expected. And if you like the plugin, please consider leaving me a rating.

    3. Hi There,

      Thanks for doing that so quickly. Works great.

      I noticed that the sale price has no label before the price. With products that aren’t on sale, we have a plugin where we can alter the label i.e. Now – £24.95 or Our price – £24.95. Is it possible to add a label?

      Also is it possible to see the MSRP strike through price on products in the shop or category page. Currently it only shows either the sale price or the regular price. It used to show regular with strike through and sale price if there was one.

      Thanks

    4. Hi,

      Sorry for a late reply.

      1. Label for the sale price – I could add some option for that in “Hide regular price for products on sale” section, but I think you can already do it with the existing plugin by selecting “Instead of the standard price” as “Position” and then using %price% placeholder in “Final Template” options, e.g.:

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

      2. MSRP strike-through – actually it should be stricken through – please make sure that you have <del> tag in your “Final Template” in “Archives Display Options” section (i.e. for shop / category pages), i.e. this part:

      ... <del>%msrp%</del> ...

      Please let me know if you have any questions.

  4. Hi,

    I am struggling to change the view from saving in $ to saving in %.

    See below to how I changed the code (as per instructions on page as far as I can see) forgive me in advance i’m probably missing something very obvious however I am a novice at code.

    SINGLE PRODUCT PAGE DISPLAY OPTIONS

    ORIGINAL FINAL TEMPLATE:
    MSRP: <del>%msrp%</del>%you_save%

    ADJUSTED FINAL TEMPLATE:
    MSRP: <del>%msrp%</del>%you_save_percent_raw%

    It then shows on my product – MSRP: %you_save_percent_raw%

    Your help is much appreciated.

    1. Hi,

      Please try:

      <del>%msrp%</del>%you_save_percent%

      As for %you_save_percent_raw% – it should be used in “Savings amount in percent” settings field (i.e. not in “Final template”).

      Hope that helps. Please let me know if you have any questions.

  5. Hi, I am trying to import products to my store via a csv file. However, there is no MSRP option there for me to upload the prices. Can you please help?

    1. Hi Darrell,

      If you are importing products from CSV as described in https://docs.woocommerce.com/document/importing-woocommerce-sample-data/, i.e. by using the standard “WooCommerce products (CSV)” tool, then you need to add "Meta: _alg_msrp" column to your CSV file. If you are using some other tool for importing then you probably need to set somewhere for the column to import to meta with _alg_msrp key.

      Hope that helps. Please let me know if you have any questions.

      P.S. If you like the plugin, please consider leaving us a rating.

  6. Is is possible to replace the MSRP label and make it say Retail Price

    1. Hi,

      Sorry for such a late reply. Yes, this can be done, but, unfortunately, in Pro version only. You need to modify the “Template” options in plugin settings (in “WooCommerce > Settings > MSRP”), e.g.:

      from

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

      to

      <div class="price"><label for="alg_wc_msrp">Retail Price</label>: <span id="alg_wc_msrp"><del>%msrp%</del>%you_save%</span></div>
  7. For me the MSRP displays on one line (seperate line) above the price, and looks silly. How can i have the MRSP and $100 etc on the same line? http://puu.sh/BgUzC/d51b90806e.png

    I am bit noob so if u can show me what file to edit ty

    1. Hi,

      By default label and value are on the same line, so it looks like it’s some (probably theme’s) CSS that is doing this, so this should be easily fixable with some additional CSS. I could say exactly what CSS needs to be added if I could check it on your page – could you please send me the link to your site to [email protected], or post it here?

      Generally it looks like you need to set:

      label[for=alg_wc_msrp] { display: inline !important; }

      and/or

      #alg_wc_msrp { display: inline !important; }

      Hope that helps.

      Best regards,
      Tom

  8. The display options don’t work. Otherwise, seems to work alright. I’m using free version.

    1. Hi,

      I’ve just re-tested on my server – Display options seem to be working fine here. If possible please create/share an admin account to your server, so I could log in and check what’s going on. My private email is [email protected].

Leave a Reply

Your email address will not be published. Required fields are marked *

Changelog

1.3.7 - 22/07/2019

  • Fix - %price% placeholder is now available for variable products also.
  • Dev - alg_wc_get_msrp filter added.
  • Dev - Currency added to the alg_wc_msrp_by_country filter.
  • Dev - Code refactoring.

1.3.6 - 14/07/2019

  • Dev - Advanced Options - "Hide regular price for products on sale" option added.
  • Dev - Advanced Options - "Custom range format" options added.

1.3.5 - 02/07/2019

  • Fix - Advanced Options - Apply price filter - Second hook parameter added.
  • Dev - uninstall.php removed.
  • Dev - Admin tools notice - Code refactoring.
  • Dev - Code refactoring.
  • WC tested up to: 3.6.
  • Tested up to: 5.2.

1.3.4 - 04/04/2019

  • Fix - Single Product Page / Archives recognized properly now in all cases.
  • Dev - Tools - "Copy all products prices to MSRP" tool added.
  • Dev - Tools - "Delete all products MSRP meta" tool added.
  • Dev - Functions - alg_wc_msrp_get_product_msrp() function added.
  • Dev - Plugin's data (i.e. options and meta) is now deleted on uninstall (i.e. uninstall.php added).

1.3.3 - 26/02/2019

  • Dev - Position - "Instead of the standard price" option (and %price% replaced value) added.
  • Dev - Advanced Options - "Variable MSRP optimization" option added.
  • Dev - Advanced Options - "Required user role(s)" option added.
  • Dev - "Your settings have been reset" admin notice added.
  • Dev - Code refactoring.

1.3.2 - 31/10/2018

  • Fix - Comma decimal separator in price parsed correctly now.
  • Fix - "Reset settings" fixed for serialized values.
  • Dev - Code refactoring.

1.3.1 - 30/10/2018

  • Dev - is_numeric() check added for the saved MSRP value.

1.3.0 - 02/10/2018

  • Dev - "Cart Display" section added.
  • Dev - "Cart Total Savings Display" section added.

1.2.1 - 25/09/2018

  • Dev - Admin Options - "Advanced: MSRP field position in admin quick and bulk edit" option added.

1.2.0 - 10/09/2018

  • Dev - Admin Options - "Add MSRP field to admin quick edit" and "Add MSRP field to admin bulk edit" options added.
  • Dev - Code refactoring.
  • Dev - Plugin URI updated.

1.1.2 - 17/05/2018

  • Fix - MSRP not saved for simple products - bug fixed.

1.1.1 - 17/05/2018

  • Dev - Advanced Options - Apply price filter - Moved to free plugin.

1.1.0 - 16/05/2018

  • Dev - Admin Options - "Add MSRP column to admin products list" option added.
  • Dev - Advanced Options - "Apply price filter" option added.
  • Dev - Advanced Options - "Hide MSRP for products with empty price" option added.
  • Dev - "Countries Options" section added.
  • Dev - "Currencies Options" section added.
  • Dev - Variable products - Fallback MSRP added.
  • Dev - Variable products - Proper MSRP display implemented.
  • Dev - Code refactoring.

1.0.0 - 06/05/2018

  • Initial Release.

Free vs Pro

This plugin is a premium version of free "MSRP for WooCommerce" plugin.

Free VersionPro Version
MSRP Toolsyesyes
MSRP Single Product Page Displayyesyes
MSRP Archives Displayyesyes
MSRP Cart Displayyesyes
Advanced Optionsyesyes
Admin Optionsyesyes
MSRP Cart Total Savings Displaynoyes
MSRP by Countrynoyes
MSRP by Currencynoyes
Required User Role(s)noyes
Final HTML Templatenoyes

Developers

Plugin stores MSRP as product meta with _alg_msrp key, so in case if you need to get product's MSRP with PHP:

$msrp = get_post_meta( $product_id, '_alg_msrp', true );

Alternatively you can use alg_wc_msrp_get_product_msrp() function to retrieve MSRP, MSRP discount or MSRP discount percent:

$msrp                  = alg_wc_msrp_get_product_msrp( $product_id );
$msrp_discount         = alg_wc_msrp_get_product_msrp( $product_id, 'msrp_discount' );
$msrp_discount_percent = alg_wc_msrp_get_product_msrp( $product_id, 'msrp_discount_percent', 0 );

* You can omit $product_id – in this case the function will automatically try to get current product's ID.
* When retrieving $msrp_discount_percent – third parameter (i.e. 0) defines the number of decimals to which final result is rounded (i.e. rounding precision).


Plugin has alg_wc_msrp filter. It's applied on raw MSRP (i.e. not final HTML) before displaying MSRP price on frontend:

apply_filters( 'alg_wc_msrp', $raw_msrp, $product );

Prices & Licenses

Single siteUnlimited sites
1 year[buy] $19.99 / year[buy] $29.99 / year
Lifetime[buy] $39.99[buy] $59.99

Installation and Updates

  • Buy the plugin 🙂
  • Download plugin's zip to your computer (you will receive an email with download link, or you can always download the plugin from your account).
  • Go to "Admin Dashboard > Plugins > Add New > Upload Plugin" and browse for downloaded zip file.
  • If plugin is successfully installed - you should see it added to the Plugins list.
  • To keep WPFactory items up to date, please install WPFactory Helper plugin and enter your site key.

Refunds

We want to ensure that you are 100% happy with your purchase, so if you feel the product(s) you purchased are not the best fit for your requirements and you attempted to resolve issues with product's author, we are offering 30 day money back guarantee refund policy.