Orders - last step ... Message body empty

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
luminous
Forum Members
Forum Members
Posts: 168
Joined: Fri May 14, 2010 6:49 pm

Re: Orders - last step ... Message body empty

Post by luminous »

I am having the same issue.

Tried to customise my message templates and am now getting this error.

One of the message templates (the admin one) is using £ correctly, the user template is showing an A(with a little circle above) then the £ sign.  So I tried to change this, but no matter what I use I get message empty errors :(
pedes
Power Poster
Power Poster
Posts: 840
Joined: Tue Jan 27, 2009 11:47 am

Re: Orders - last step ... Message body empty

Post by pedes »

like i said before ... this is probably a bug.

i have reported this and i hope it will be fixed.

For now i do it like i said before:
http://forum.cmsmadesimple.org/index.php/topic,47646.msg231561.html#msg231561

kind regards
Peter
luminous
Forum Members
Forum Members
Posts: 168
Joined: Fri May 14, 2010 6:49 pm

Re: Orders - last step ... Message body empty

Post by luminous »

Yeah, I agree in that I too think its a bug. 

I'm looking into your solution, seeing which files to alter and when.  Re-installing the module did not overwrite everything for me.  I'll post back if I have a problem I cannot fix, or having words of wisdom of some sort :)
pedes
Power Poster
Power Poster
Posts: 840
Joined: Tue Jan 27, 2009 11:47 am

Re: Orders - last step ... Message body empty

Post by pedes »

i know it is really annoying to have this issue ... you need to reinstall the order module when you want to fix the email templates ... in this way you loose all your previous orders ...

do some good thinking and then make your templates ... upload everything over ftp and then install the orders module in the module manager

for me this is the only way it works fine ... i have tried this maybe 100 times on different hosting ... with different module combinations, with different module versions ... nothing worked

just the solution make before install is working.

leave a post is you need more info.

grtz
Peter
spinfold
Forum Members
Forum Members
Posts: 44
Joined: Fri Nov 12, 2010 10:15 am

Re: Orders - last step ... Message body empty

Post by spinfold »

Came across this problem today.

Ideally I would like to disable emails sent from Orders entirely as I have made my own using UDTs because of this bug... anyone know how this is done?
luminous
Forum Members
Forum Members
Posts: 168
Joined: Fri May 14, 2010 6:49 pm

Re: Orders - last step ... Message body empty

Post by luminous »

Personally I gave up and went to Wordpress. I now have a site that looks exactly the same as it did in CMSMS, but the whole ecommerce side actually works, and it worked straight out of the box. I have built two more sites in less time than I spent trying to get just one CMSMS ecommerce solution to work :(

This is a great shame as CMSMS has so much potential. There are so many things about it that are much nicer than Wordpress, but for me CMSMS lacked the out of box and it works approach. Don't get my wrong, I like to customise things, but step 1 is to make it work, then you play around with it. I did not manage to get step 1 to work for the site I was trying out :(
spinfold
Forum Members
Forum Members
Posts: 44
Joined: Fri Nov 12, 2010 10:15 am

Re: Orders - last step ... Message body empty

Post by spinfold »

Thanks timmahoney,

Still couldn't get this working despite your detailed instructions - first I got just the words "useremail_template" in an email, then realised I hadn't changed "ProcessTemplateFromData" (in the original code) to "ProcessTemplateFromDatabase" (in your suggested code). Tried again, and got a Smarty error come through in the email.

Cut my losses and made a database call via a UDT - perfect!

Stuart
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am
Location: Berlin

Re: Orders - last step ... Message body empty

Post by nicmare »

the fix from timmahoney works for me. thank you very much
caciavar
Forum Members
Forum Members
Posts: 64
Joined: Wed Feb 11, 2009 6:30 pm
Location: Toronto, Canada

Re: Orders - last step ... Message body empty

Post by caciavar »

I don't see the fix from timmahoney mentioned anywhere in this forum. Where can I find this fix?
nicmare
Power Poster
Power Poster
Posts: 1150
Joined: Sat Aug 25, 2007 9:55 am
Location: Berlin

Re: Orders - last step ... Message body empty

Post by nicmare »

just follow the related links:
http://dev.cmsmadesimple.org/bug/view/5482
curlypinky
Forum Members
Forum Members
Posts: 109
Joined: Thu Sep 04, 2008 3:49 am
Location: Hawaii

Re: Orders - last step ... Message body empty

Post by curlypinky »

Hi folks,
This issue is discussed in Bug 5539 - http://dev.cmsmadesimple.org/bug/view/5593 . The changes suggested in that bug report will make sure your Orders do send their confirmations.
Make sure sure you actually save your template, even if you aren't making any changes from the factory default because if you don't on a fresh install of Orders then the template won't actually exist in the DB where the fixes are now pointing. Either make a custom template or just press the Reset to factory to make sure the record is saved.
Calguy has accepted the bug and he noted that there are some changes beyond the suggested but it is enough to give you a functioning backend until the proper release is made.

Thanks,
Alane
caciavar
Forum Members
Forum Members
Posts: 64
Joined: Wed Feb 11, 2009 6:30 pm
Location: Toronto, Canada

Re: Orders - last step ... Message body empty

Post by caciavar »

Thanks,
I elected to follow these changes today and they solved my issues perfectly. Even in the latest version - 1.11.3 - the issue still persists and I found that these changes were necessary.
Thanks again.
Locked

Return to “Modules/Add-Ons”