Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In commerce_checkout_completion_message_pane_settings_form, there is a default to use the filtered_html type: $text_format = 'filtered_html';
If Drupal is installed using the minimal profile this format is not installed, and the user is shown a blank page on checkout. The full_html type is always available, perhaps that should be used by default? Alternatively, force this type to exist on install.
The filtered_html is hardcoded here:
modules/checkout/includes/commerce_checkout.checkout_pane.inc
67: $text_format = 'filtered_html';
127: $text_format = 'filtered_html';
modules/customer/includes/views/commerce_customer_ui.views_default.inc
96: $handler->display->display_options['empty']['area']['format'] = 'filtered_html';
modules/line_item/includes/views/commerce_line_item.views_default.inc
93: $handler->display->display_options['empty']['area']['format'] = 'filtered_html';
modules/order/includes/views/commerce_order_ui.views_default.inc
96: $handler->display->display_options['empty']['text']['format'] = 'filtered_html';
376: $handler->display->display_options['empty']['text']['format'] = 'filtered_html';
modules/product/includes/views/commerce_product_ui.views_default.inc
81: $handler->display->display_options['empty']['text']['format'] = 'filtered_html';
Comments
Comment #1
ytsurkyep - same here, creating the textformat makes text showing again (on /complete page) !
Comment #2
rszrama CreditAttribution: rszrama commentedfull_html isn't always available, but plain_text is (see filter.install). This is fine for the Views empty text, since it's just plain text anyways, but it looks like crap for the links on the checkout completion message. However, any administrator can see that and will be able to add / select a new filter format in the checkout pane settings or change the message to not include any links. Thanks for the report!
Commit: http://drupalcode.org/project/commerce.git/commitdiff/b842c92