How to Add Product SKU to WP E-Commerce Admin Report Email

One important piece of information missing from the Admin Report Email is the Product’s SKU. After scouring the internet, I found a quick fix to add it to the email! Thanks, Steve!

Here goes!

Find this file within the plugin folder: wp‑e‑commerce\wpsc‑theme\functions\wpsc‑transaction_results_functions.php

find the following code around line 269 (WPEC version 3.8.8)

$report_product_list.= " - " . $row['quantity'] . " " . $row['name'] . "  " . $message_price . "\n\r";

And replace it with this:

$report_product_list.= " - " . $row['quantity'] . " " . wpsc_product_sku($row['prodid']) . " " . $row['name'] . "  " . $message_price . "\n\r";

Happy Coding! Don’t forget, you may need to edit this code with each WP eCommerce update, since this is a plugin core file! Bookmark me! :)

This entry was posted in Wordpress, WP E-Commerce and tagged , , , , , . Bookmark the permalink.

3 Responses to How to Add Product SKU to WP E-Commerce Admin Report Email

  1. David says:


    I use your hack on a web site but the version of WE-Ecommerce had changed.

    How do you fix this problem on the new version 3.8.9.

    Thanks for your answer.

  2. Samuel says:

    Same issue as david…

  3. Paul says:

    That makes three of us! I’d really like to add just customer name ans well as shipping and billing addresses to the notification emails. I’ve updated to WPeC version… any help GREATLY appreciated,


Leave a Reply