Add SKU to WP e-Commerce 3.8.9 Admin Reports

WP eCommerce offers a feature where an email is dispatched to the administrator when an order is completed. WP eCommerce calls this email an “Admin Report”.

These emails are useful for order fulfilment, but they are lacking a key piece of data that you may need to fulfill an order: the product’s SKU.

I’m offering a patch to WP-eCommerce that will add the product’s SKU to the admin report.  The patch costs $10 and is available here: WPEC Admin Reports SKU

Note about Upgrades

WP-eCommerce version 3.8.9 does not contain the necessary hooks to enable this functionality, so the core files need to be modified. If you upgrade the WP-eCommerce plugin, this patch may need to be re-applied.

This version has been tested with WP-eCommerce version 3.8.9. It may work with newer versions, but proceed at your own risk.

Due to the unpredictability of WP-eCommerce plugin updates, the developer is unable to guarantee updates to this patch for future versions of WP-eCommerce.

Installation

To install this patch and enable the patch, simply copy the included purchase-log-notification.class.php to your /wp-content/plugins/wp-e-commerce/wpsc-includes/ directory. For your convenience, a copy of the original file is also included: purchase-log-notification.class.original.php

Updates

Updates, when available, can be found in this post and will be provided via email.

Zebras

“When you hear hoofbeats behind you, don’t expect to see a zebra”

Be Responsible

“You are responsible for the things you help put in the world. If you do not think something should exist in the world, do not participate in it.” —Mike Monteiro

WP Admin Toolbar Disappears After Changing URL

When changing your Site Address within WordPress, the Admin Toolbar on the front end of the site will disappear.  Your user profile has the Admin Toolbar turned on and your theme has wp_head() and wp_footer() in the correct places, but the Admin Toolbar is still gone.

When you changed your WordPress Site Address, WordPress didn’t update your cookie path, which prevents WordPress from loading the Admin Toolbar.

To fix this, clear your site cookies by signing out of WordPress and signing back in.  Signing out and signing back in will set your login cookies with the correct path.

Entering 2012

“Engineers instinctively measure their days by what they built.” – Rands

While I plan to continue full-time development and consulting, I will build and sell software as a service in 2012.

“Real artists ship” – Steve Jobs