Closed (outdated)
Project:
Commerce Email
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Major
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Oct 2012 at 09:21 UTC
Updated:
2 Jun 2020 at 18:23 UTC
Jump to comment: Most recent
Comments
Comment #1
elperuanito commentedRight think I figured it out - you must follow the installation instructions found here: http://drupal.org/node/1471758. It seems that if you don't have the right combination of modules it won't work. If you installed the wrong module to begin with (like I did) make sure you follow the correct steps to uninstall the modules and clear your cache. Hope this helps someone. The one thing that concerns me is that I am using quite an old version of Variable now!
Comment #2
philipz commentedCould you write something more about this? What wrong module did you install? I'm using this with Commerce Kickstart and I'm affraid there's just too many things to check for me :) Maybe you could point me in the right direction.
Comment #3
ibuildit commentedworks fine with me on variable 2.x and variable_email 2.x-alpha1
Comment #4
esbon commentedThanks for the tip, my commerce emails are now working just fine. The thing I am really interested in including in the admin email are the line items. Would this be possible with this module? I looked at all the tokens, but could not figure out what to use
Comment #5
philipz commentedThere is
[commerce-order:commerce-email-order-items]which outputs the whole cart including price, quantity and subtotal / total order price.Comment #6
esbon commented#5 is true, but I need to display all data in the line item fields. Thanks for the tip
Comment #7
tmsimont commentedAll of my tokens work except for
[user:one-time-login-url]-- does this work for you guys? This totally breaks new user sign up for me... I have Variable 2.1 and Variable Email 7.x-1.0-alpha1 with the 2.x-dev of Commerce EmailI created another issue because all other tokens work:
#1864350: One time login being displayed as [user:one-time-login-url] in email to user
Comment #8
ransomweaver commentedA workaround is posted here: http://drupal.org/node/1864350#comment-6838378
Comment #9
bennybobw commentedJust to be clear you have to use Variable Email 7.x-1.0-alpha1 or tokens will not work.
Comment #10
garyg commentedI can not get any tokens under "current-user" to work
Only the customer profile tokens work.
Is this working as intended or should I see the current-user tokens as well?
I am putting the tokens into the email. Should I be putting them into the template instead.
I just don't get how this is supposed to work.
Can anybody enlighten me?
Using:
Variable 7.x-2.1
Variable Email 7.x-1.0-alpha1
Commerce Email 7.x-2.x-dev
Comment #11
skchan2 commentedHey Guys,
I'm having no luck getting the tokens to work. The emails send out fine, but all the tokens arent getting replaced. is there a setting im supposed to set?
Currently installed and active:
Commerce Email 7.x-2.x-dev
Variable 7.x-1.2+35-dev (also tried with 2.1 and 2.2)
Variable Email 7.x-1.0-alpha1+3-dev
HTML Mail 7.x-2.65
Mail System 7.x-2.34
Thanks in advanced.
Edit: Ok, i finally got the tokens to show. I needed to use "Variable Email 7.x-1.0-alpha1" and not "Variable Email 7.x-1.0-alpha1+3-dev". Not all tokens show though (tested by adding every single token into the admin email). Hopefully this helps someone.
Below are the modules installed and active
Commerce Email 7.x-2.x-dev
Variable 7.x-2.2
Variable Email 7.x-1.0-alpha1
HTML Mail 7.x-2.65
Mail System 7.x-2.34
Comment #12
giacomino00 commentedI'm using those versions of the modules, but "commerce-customer-profile" tokens are not replaced.
any idea?
thanks!
Comment #13
summit commentedHi,
For me the same from Drupal Commerce 1.5 and above the
"commerce-customer-profile" tokens are not replaced anymore somehow.
EDIT: I have two sites:
One with
Drupal Commerce 1.4 and
Commerce Email 7.x-2.x-dev (2012-jan-30)
Variable 7.x-2.2
Variable Email 7.x-1.0-alpha1
HTML Mail 7.x-2.65
Mail System 7.x-2.34
Tokens "commerce-customer-profile" working
Drupal 1.7 and
Commerce Email 7.x-2.x-dev (2012-jan-30)
Variable 7.x-2.2
Variable Email 7.x-1.0-alpha1
HTML Mail 7.x-2.65
Mail System 7.x-2.34
Tokens "commerce-customer-profile" NOT working GRRRR...
EDIT 2: Variable is integrated and other modules are dependent of it. It is really difficult to alter the Variable version!!
Does anybody know which latest versions works together?
Greetings, Martijn
Comment #14
shaneonabike commentedYep I'm in the same situation!
None of the tokens are being replaced period... help :/
Commerce 7.x-1.8
Commerce Email 7.x-2.x-dev (2012-jan-30)
Variable 7.x-2.x-dev
Variable Email 7.x-1.0-alpha1
Commerce Email 7.x-2.x-dev
Variable Translation 1.9
... and I also tried
Commerce 7.x-1.8
Commerce Email 7.x-2.x-dev (2012-jan-30)
Variable 7.x-2.x-dev
Variable Email 7.x-1.x-dev
Commerce Email 7.x-2.x-dev
Variable Translation 1.9
I cannot downgrade Variable since i18n requires that I use the 2.x version....
Comment #15
kevster commentedI can confirm Im having the same issue, Ive tried various combinations of modules, flushing cache inbetween but no joy. Ive also tried different settings on the text format for the body.
Currently using:
commerce 1.6
variable 7.x-1.2+35-dev (tried lots of versions)
variable email 7.x-1.0-alpha1 (tried lots of versions)
commerce email 7.x-2.x-dev (tried lots of versions)
HTML Mail 7.x-2.65
token filter 7.x-1.1 (to try and stop blank tokens printing token code - no joy there...)
Commerce Extra Tokens
It seems that when I select any of the customer profile or commerce-order tokens to drop in to the emai body they don't go in as blue highlighted token links but just plain text - other tokens do go in as blue link style text.
Got a client jumping up and down as they are having to go in to each order to see addresses...
I can help debug/test any updates.
Comment #16
summit commentedHi,
I am moving over to commerce_message. The only problem there is, getting nice looking emails.
May be your effort to build those is more suited than trying to use this almost abondended module?
Sorry if I am incorrect but until now no reaction of module owner how to deal with this!
Greetings, Martijn
Comment #17
kevster commentedThanks Martijn - I may have a look at that then. I have a busy client site and the [commerce-order:commerce_customer_billing] and [commerce-order:commerce_customer_shipping] tokens just stopped working a few days ago which is causing lots of problems.
Do you know can you easily add extra tokens in to commerce message?
Thx!
Comment #18
summit commentedThose tokens are there already, but with message: in front of it!
greetings, Martijn
Comment #19
kevster commentedI just posted a partially working setup using variable email dev that may help some people..
https://drupal.org/node/1759140#comment-7825305 #7
Comment #20
muthusaravanan commented#11 worked for me.
Thank you skchan2.
Comment #21
richH commentedHi,
I just installed 7.x-2.x-dev following the instruction in comment #1 and sorry, but the tokens were never replaced with text. Downgraded to 7.x-1.x and now it all works, but of course without the nice features from 2.x. Will give #11 a try, but it shouldn't be this difficult I don't think :-0
Update... just installed all the modules as described in #11 and it still doesn't work (very grumpy face). This is a real pain and a bit of a show stopper at the moment (more grumpy face)
thanks
Rich
Comment #22
jmary commentedI have a working configuration using :
Commerce Email (commerce_email) 7.x-2.x-dev
Invoice Email (commerce_invoice_email) 7.x-1.0-alpha3+14-dev
Email (email) 7.x-1.3
HTML Mail (htmlmail) 7.x-2.65
Entity tokens (entity_token) 7.x-1.6
Token (token) 7.x-1.6
Token Filter (token_filter) 7.x-1.1
Variable Email (variable_email) 7.x-1.0-alpha1+3-dev + patch https://www.drupal.org/node/1759140#comment-7942291
Variable (variable) 7.x-2.5
Comment #23
Likos73 commentedA struggled a long time with this issue. The solution was quite easy for me then. Could be something special to my setup but maybe it helps someone. I use custom permissions for the fields and because I don't want to show some fields to users, permissions are only granted for administrator.
I don't know why but the tokens are translated only when the permissions are granted for anonymous users!
Comment #24
rszrama commented