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
- 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
- Cart Total Savings Display Options
- Countries Options
- Currencies Options
- Advanced Options
- Admin Options
- Styling the MSRP
- Importing MSRP from CSV
Display Options
There are three separate display settings sections with same settings: Single Product Page Display Options, Archives Display Options and Cart 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
- Default:
- Position
- Possible values: Before the standard price; After the standard price; Instead of the standard price.
- Default:
After the standard price
- Default:
- Savings amount
- To display this, use
%you_save%
in “Final Template”. Replaced value:%you_save_raw%
.- Default:
(%you_save_raw%)
- Default:
- 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% %)
- Default:
- Savings amount in percent - rounding precision
- Sets number of decimals to round to, when
%you_save_percent%
is used in template.- Default:
0
- Default:
- 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
- Cart total savings
- Display total savings in cart.
- Default:
no
- Default:
- 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>
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 by country
- Enables/disables section.
- Default:
no
- Default:
- 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
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 by currency
- Enables/disables section.
- Default:
no
- Default:
- Currencies
- Selected currencies will appear on each product’s edit page.
- Default: None
Advanced Options
- Hide MSRP for products with empty price
- Hides MSRP for products with blank (i.e. empty) price.
- Default:
no
- Default:
- Hide regular price for products on sale
- Hides regular price for products on sale and with MSRP.
- Default:
no
- Default:
- Custom range format
- Enables custom range format for variable products when displaying MSRP data.
- Default:
no
- Default:
- Custom range format: Template
- Replaced values:
%from%
,%to%
.- Default:
From %from%
- Default:
- 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
- Default:
- 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
- Default:
Admin Options
- Add MSRP column to admin products list
- Default:
no
- Default:
- Add MSRP field to admin quick edit
- Default:
no
- Default:
- Add MSRP field to admin bulk edit
- Default:
no
- Default:
- Advanced: MSRP field position in admin quick and bulk edit
- Possible values: At the start; At the end.
- Default:
At the end
- Default:
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.