Plugin by Jacob Schwartz, one half of Schwambell.
WP e-Commerce is a (mostly) free, very popular e-commerce plugin for WordPress websites. It lets you set up shop very quickly and cheaply. However, it lacks some bells and whistles. This is a bell. Or maybe a whistle.
This is a simple plugin I created while working on Ultrapom. It allows a web developer to adjust the look and feel of WP e-Commerce customer emails without digging into the WP e-Commerce plugin’s internals. Why would you want to do that?
Here’s what you’ll need to get started with this plugin:
Perhaps in the future I’ll develop this to the point where you won’t need any web development skillz to use it, but I think it’s already useful just as it is.
As of version 0.6, templating emails is a lot more sophisticated (if you want it to be). To help you figure it out, I’ve created a set of sample template files that you can copy from the “theme” subdirectory of the plugin (not to be confused with the main theme directory of your website).
There’s now the distinction between “wrapper” templates and content templates. Right now, the plugin only supports content templating for purchase receipts.
wpsc-email_style.php or refer to the template hierarchy.
Applies style to the email, like gift wrapping.
Doesn’t create the content of emails.
Use static class “ECSE_purchase” to access purchase properties.
Template tags used in the wrapper template can also be used.
A new template hierarchy has been created for the wrapper template, so you can target your styling as specifically as you want. Of course, you can still target different kinds of emails inside a single wrapper template just by using template tags. For most people, one wrapper template will do the job.