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

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.