Ecommerce transaction notices show <em> tags in plain text email

matw8 - August 9, 2007 - 02:47
Project:e-Commerce
Version:5.x-3.3
Component:store
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

On a few of my Drupal sites I've noticed this and found that the store.module file needs editing.

On lines 97 through 154 where it compiles the transaction notice email content, the %placeholder is used instead of a !placeholder.
This results in placeholder appearing in the email.

Making the change outlined above resolved the issue.

Hope that helps someone.

#1

gordon - August 9, 2007 - 03:09
Status:active» active (needs more info)

Can you please provide a patch on how you fixed this issue.

I am unable to determine where you said the changes need to be done.

#2

matw8 - August 9, 2007 - 03:26

Sorry about that. I'm not too flash with patches, but here's my fixed version of code (the store_cron function) as a TXT file.

I've just extracted the lines of code that I had to change into this file. Let me know if you want the whole store.module if that'd be easier for you.

AttachmentSize
fixed_store.module.txt4.75 KB

#3

gordon - August 9, 2007 - 04:08
Status:active (needs more info)» fixed

Thanks, fixed in 5.x-4.x-dev and 5.x-3.x-dev

#4

matw8 - August 9, 2007 - 10:05

Brilliant. Thanks Gordon. Much appreciated.

#5

Anonymous - August 23, 2007 - 10:33
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.