Jacob Schwartz
Forum Replies Created
-
Version 0.6 of the plugin has just been released to the repository, adding support for these features.
As I mentioned in my last message though, you’ll need to either create content template files, or copy from my sample theme folder, to see the benefits of the new functionality.
Hi there,
Sorry I didn’t reply to your request when you posted – I didn’t see it.
Here’s what’s probably happening with your links: Before you started using my plugin, those links weren’t in ‘a’ tags because the email format was plain text rather than html. When email clients detect URLs in plain text emails, they usually convert them to links (but not always). When you turned on my plugin, those same links remained plain text but the email clients stopped converting them to links automatically.
Have a look at version 0.6 of the plugin, content templating for purchase receipts is now supported, which means those ‘a’ tags can be added to the download links. I recommend trying the sample theme content template files included in version 0.6, as I’ve provided for this exact issue.
Let me know how you go.
Jacob
Hi there,
The development version of my plugin adds support for non-form fields and all sorts of product information for purchase lists – such as SKU, thumbnails, etc. It gives PHP access to a lot, if you’ve got those skills. But you don’t need to be a PHP coder to make good use of the plugin.
To see what it’s capable of, use the sample theme files bundled with the plugin and you’ll have pretty good receipt emails.
I hope that answers your question.
Regards,
Jacob
Hi there!
If you’re talking about the current WP repository release of the plugin, content templating isn’t supported – only “wrapper” templating, with some minimal intelligence.
If you’re talking about the development version of the plugin over at Schwambell, it includes a set of sample theme files to get your started.
Note that there is a distinction between the “wrapper” templates, which have the template heirarchy but can’t access purchase details, and the content templates. I suspect that you’re confusing the two, because wpsc-email_style_purchase_report.php is a wrapper template file. Using that file in the hierarchy allows you to style the admin report differently, but it doesn’t give you access to the purchase details. You just use ecse_get_email_content() to dump the content into the wrapper.
In the development release of content templating, only the customer receipts get template support; Admin emails will be coming soon.
Is this all too confusing? If so, I may need to simplify things.
The latest version is in late testing (I’d say it’s a 99%). It’s a big release, so I’m a little hesitant to release it just yet.
Template hierarchy, content templating, all sorts of magic.
You can help me by giving it a whirl! Have a look here:
https://schwambell.com/wp-e-commerce-style-email-plugin/Development is in progress. This update’s a big one in terms of added functionality, and I don’t want to release something half-baked. But it’s on it’s way!
Hi Johann,
This is something that I have been wanting to integrate into the plugin for a while. You may see it arrive in a version soon!
Cheers,
Jacob
Glad you figured it out. Good old PHP.
Thanks! I’m glad you’re getting good use out of the plugin.
This is what I discovered:
It looks like WordPress never actually creates a link per se (as you would expect for emails that were intended to be plain-text). What it does is put the password reset URL inside a pair of <> tags, for some reason. If anyone can tell me why, I’d be grateful! If you look at the raw email content, the reset link does appear in the email – but when it becomes an html email, clients probably interpret it as commented-out.I am planning my next plugin release to filter out the <> tags when site emails are styled. I don’t foresee any downsides. The next release will also allow admins to exclude specific email subjects from styling – such as WP’s password reset emails.
Does that sound like it will suit your needs?
This is an interesting bug. I’ll need to chase down where WordPress filters the reset link. Let me know if you have any information on it. Thanks for pointing it out.
Hi there!
I’m sorry to hear you’re having trouble. Would you mind providing the plugin version, and whether this problem occurs with the plugin turned off? Let’s try to narrow down the cause.
Jacob
Apologies – I didn’t notice this post.
It looks like you’re referring to the creation of the content, which is done through the WP e-Commerce Settings->store settings page ->admin tab. The creation of the content is handled by WP e-Commerce, and the wp-e-commerce-style-email then allows you to style the email that goes around the content.
Keep a look out over the next few months for an update to this plugin that will give you better control over the content than WP e-Commerce gives you.
I second that request!