Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
At the end of an order I get to (say) checkout/13/complete. Whether authorised or admin, and independent of payment method, the page only shows the title "Checkout complete" and no other message. Notification emails are sent ok. The Completion message checkout pane looks suspicious: I figure I should see some configuration options but none appear (refer screenshot).
I *should* be seeing the default completion message (your order is #, etc.) Any idea why this isn't appearing?
Comment | File | Size | Author |
---|---|---|---|
#5 | commerce-1434868-5.patch | 817 bytes | sheise |
Screen Shot 2012-02-10 at 1.56.47 PM.png | 60.54 KB | jonathan_hunt |
Comments
Comment #1
rszrama CreditAttribution: rszrama commentedYeah, not sure - something's missing there. Are you running any other modules on there?
Comment #2
sheise CreditAttribution: sheise commentedI ran into this problem on 2 different sites and now realize what the problem is. Both sites were upgrades from D6 where filter formats where stored numerically and were not upgraded to the D7 machine name formats of "filtered_html, full_html, plain_text". So the settings form in question never gets rendered properly. I'm not sure what the best quick option is though without messing up all your existing content.
Comment #3
rszrama CreditAttribution: rszrama commentedOn Drupal Commerce 1.3, this should be fixed I believe. Can you confirm?
Comment #4
sheise CreditAttribution: sheise commentedForgot to specify, but I am running Drupal Commerce 7.x-1.3 and still having the problem.
Comment #5
sheise CreditAttribution: sheise commentedHere's a patch.
Comment #7
rszrama CreditAttribution: rszrama commentedNeeds to be tested against head.
Comment #8
rszrama CreditAttribution: rszrama commented#5: commerce-1434868-5.patch queued for re-testing.
Comment #9
vasikei think we have duplicate #1625138: Checkout Completion pane settings missing from its configuration form
Comment #10
jonathan_hunt CreditAttribution: jonathan_hunt commentedPatch in #5 works for me on 7.x-1.3, thanks.
Comment #11
rszrama CreditAttribution: rszrama commentedWow, thanks Steven. I have no clue how that function slipped beneath our radar, but that's what we've needed all along. : )
Welcome to the committers log!
Comment #13
JulienF CreditAttribution: JulienF commentedHello All,
I just noticed this bug with one custom install profile I'm creating and the issue wasn't related to the input filter but with the variable commerce_checkout_completion_message in the database.
at the very begining of the funtion commerce_checkout_completion_message_pane_settings_form($checkout_pane) - file commerce_checkout.checkout_pane.inc we have this line
$message = variable_get('commerce_checkout_completion_message', commerce_checkout_completion_message_default());
In here the variable is set yet it returns a simple string instead of an array as expected by the rest of the function (specifically those lines):
'#access' => filter_access(filter_format_load($message['format'])),
Which was causing the problem.
In order to solve the problem I had to delete the row in the variable table and it worked well back again... I still haven't found the time to see where is this variable being stored at install and the quick fix I'll apply for now is to delete it at the end of the install profile tasks but a cleaner fix is highly appreciated.
Cheers,
Comment #14
rszrama CreditAttribution: rszrama commentedThanks for the info, Julien.
Comment #15
mdolnik CreditAttribution: mdolnik commentedFYI, I had the same issue with the settings missing with 7.x-1.10 as per the screenshot.
I tried many of the suggestions here and elsewhere with no luck,
to eventually notice the administrator permission: 'Use the Filtered HTML text format' was unchecked... Checking this brought the proper menu back.