=== WP e-Commerce Style Email === Contributors: mightyturtle Tags: e-commerce, wp e-commerce, email, style Requires at least: 3.2 Tested up to: 3.2.1 Stable tag: 0.1 Style the emails that WP e-Commerce sends to your customers. == Description == This plugin lets you style the emails that WP e-Commerce sends to your customers, using a simple theme template file. If you are using WP e-Commerce and want to make your automated customer emails a little more stylish, this is a good place to start. To use this plugin, you don't need to know how WP e-Commerce does its emailing. You do need to know how to edit your Wordpress theme, including what a theme template file is. This plugin works with the WP e-Commerce customer emails for: * Purchase Reports * Purchase Receipts * Order Pending * Order Pending: Payment Required * Shipping Tracking Notifications * Unlocked Files (for download purchases) It does NOT do anything to any other emails that Wordpress sends out (though this plugin could be adapted to do that). Create a template file in your theme named wpsc-email_style.php that generates the html email output. Use the template tag ecse_get_email_content() to dump WP e-Commerce's content into it (see the example below). You can adjust the content that WP e-Commerce creates for customer emails using the Admin tab of the Store settings. This plugin has an admin page where you can activate live email styling or send yourself a test styled email. Note that the format of your customer emails is now HTML, rather than the defaut plain text. In order to maintain readability, line breaks in the original content are automatically replaced with
tags. Here's the simplest example of what you might put in the wpsc-email_style.php file:
Of course, you'll want to add a lot more html, css and maybe even php to achieve your own style. You may want to consult the 'nets about how html works inside emails. == Installation == 1. Install through the Wordpress 'Plugin' menu in Wordpress, or upload this plugin's folder to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Create the 'wpsc-email_style.php' template file and start styling. 4. Go to the 'Store Email Style' options page and turn on the styling when you're done testing. You probably need to have the WP e-Commerce plugin running on a Wordpress website for this plugin to be of use to you. == Frequently Asked Questions == = I just activated the plugin, but the emails don't look any different = If you haven't created the 'wpsc-email_style.php' template file and gone to work on it, this plugin will do nothing to your emails. Also, don't forget to go to the 'Store Email Style' options page and turn on the styling when you're done testing. = Can you help me with this? = I am happy assist with your web design work - for a fee. Head over to my website, http://schwambell.com = Where can I find out about styling emails with html? = I found this helpful while building the plugin: http://css-tricks.com/2866-sending-nice-html-email-with-php/ Otherwise, I guess you could try this: http://lmgtfy.com/?q=html+style+emails = What's a good way to test my email styling with this plugin? = After you've created your styling theme template file, you could: * Create a fake customer with your email address on your e-Commerce website, and go through all the motions; * Go to the 'Store Email Style' options page and click to have a test styled email sent to you. = I have some constructive criticism or pleasant feedback = Head over to my website, http://schwambell.com and send me an email. Or use the Wordpress Plugin forums. I'll try to get back to you in a businesslike fashion, but I can't promise immediate plugin revisions. == Changelog == = 0.1 = * Initial public release.