Nicola Mustone

Happiness Lead @ Automattic



Print the Manufacturer suggested retail price in the admin order items table

Did you know that with WooCommerce MSRP Pricing you can add the manufacturer suggested retail price to your products?

If not, well you should definitely try it!

This extension lets you add the suggested retail price for all the products in your store, but that price only shows in the front end of the site, while you probably also need it in the back-end, expecially in the order admin pages.

You can add it to the order items table with some custom code.

Open your functions.php file located in wp-content/themes/your-theme-name/ and add this code at the end of the file:

The code will add the column MSRP to your order items table showing the MSRP price for all the products.

It will look like this:

msrp

Advertisements

Subscribe to This Blog

Receive new articles from this blog directly in your inbox! No spam guaranteed!

Join 651 other subscribers

Contribute to Improving This Blog

Did you enjoy this article? Was it helpful? Contribute to help me write more articles! The funds collected from this blog are reinvested directly into improving my skills or the blog so that I can provide more and better content!

One-Time
Monthly
Yearly

Make a one-time donation

Make a monthly donation

Make a yearly donation

Choose an amount

€5.00
€15.00
€100.00
€5.00
€15.00
€100.00
€5.00
€15.00
€100.00

Or enter a custom amount


Your contribution is appreciated.

Your contribution is appreciated.

Your contribution is appreciated.

DonateDonate monthlyDonate yearly
Advertisements

More Posts That You Might Like…


Leave a Reply

Advertisements

Categories

Newsletter

Receive new articles from this blog directly in your inbox!

No spam guaranteed!

Join 651 other subscribers

About The Author

Hi, I’m Nico! Support Lead at Automattic, championing WordPress.com & WooCommerce. Off-duty, I’m at Elemental Beacon, leading epic D&D adventures. Let’s connect, whether it’s about WordPress or a quest!

Advertisements

Don't Miss a Thing!

Receive new articles from this blog directly in your inbox!

No spam guaranteed!

Join 651 other subscribers

Continue Reading

%d bloggers like this: