Skip to main content

Where to find the Advised Price (MSRP) in WordPress

Standard WooCommerce supports two types of prices: Regular Price and Sale Price. However, StoreLinkr supports a more comprehensive pricing structure to help you manage your margins and marketing better.

Pricing Structure Mapping​

StoreLinkr maps its internal price types to WooCommerce as follows:

StoreLinkr Price TypeWooCommerce / Meta FieldDescription
Selling Price_regular_priceThe standard price your customers pay.
Promotional Price_sale_priceThe discounted price (if active).
Advised Priceadvised_priceThe MSRP (Suggested Retail Price).

Show the advised price as a "was" price without code​

Do you want WooCommerce to show the advised price struck through next to a lower selling price, with the Sale label? Turn on Show the advised price as the regular price in the settings of your WooCommerce integration.

When the setting is on and the selling price of a product is lower than its advised price:

WooCommerce fieldValue
_regular_priceThe advised price
_sale_priceThe selling price

The setting changes nothing for a product without an advised price, or with an advised price that is not higher than the selling price. A promotional price from your source, such as a promotional price in CycleSoftware, always takes precedence and keeps its start and end date.

Products change in WooCommerce at their next update. To update all products right away, click Export now on the integration page.

How to Display the Advised Price​

Because advised_price is a custom field, it does not show up in the WooCommerce frontend by default. You can display it using a code snippet or a page builder.

Developer Example: Displaying MSRP​

Add this code to your theme's functions.php to show the Advised Price on the product page.

add_action( 'woocommerce_single_product_summary', 'show_storelinkr_advised_price', 25 );

function show_storelinkr_advised_price() {
global $product;

// Get the MSRP from the custom meta field
$advised_price = $product->get_meta( 'advised_price' );

if ( ! empty( $advised_price ) ) {
echo '<p class="advised-price">MSRP: ' . wc_price( $advised_price ) . '</p>';
}
}

Benefits of using Advised Price​

  • Strikethrough Pricing: You can use the Advised Price to show customers how much they are saving compared to the manufacturer's suggestion.
  • Dynamic Pricing: Use the MSRP as a baseline for your pricing rules in the StoreLinkr portal.
  • Marketplace Compliance: Many marketplaces (like Amazon or Bol.com) require an MSRP for specific categories.