jacerider/commerce_receipt

Provides a more flexible commerce order receipt.

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Language:Twig

Type:drupal-module

1.0.0 2025-09-19 20:26 UTC

This package is auto-updated.

Last update: 2025-09-19 20:26:19 UTC


README

  • Introduction
  • Requirements
  • Installation
  • How it works
  • Notes

INTRODUCTION

Provides a more flexible commerce order receipt.

REQUIREMENTS

This module requires Drupal Commerce module.

INSTALLATION

Install as you would normally install a contributed Drupal module. Visit https://www.drupal.org/node/1897420 for further information.

OVERRIDES

Overriding variables in the order receipt template can be done as follows:

function front_preprocess_commerce_order_receipt(array &$variables) {
  $variables['order_label'] = t('Order/Quote');
  $variables['billing_label'] = t('Information');
  $variables['totals_status'] = FALSE;
  $variables['footer'] = t('<strong>Thank you for your order/quote!</strong><br>You will be contacted by a representative in 24 hours to confirm and review order/quote.');
}