jacerider/commerce_receipt 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jacerider/commerce_receipt

最新稳定版本:1.0.1

Composer 安装命令:

composer require jacerider/commerce_receipt

包简介

Provides a more flexible commerce order receipt.

README 文档

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.');
}

统计信息

  • 总下载量: 13
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: Twig

其他信息

  • 授权协议: proprietary
  • 更新时间: 2025-09-19