thelia/order-comment-module 问题修复 & 功能扩展

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

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

thelia/order-comment-module

最新稳定版本:2.0.0

Composer 安装命令:

composer require thelia/order-comment-module

包简介

README 文档

README

This module allows your customers to write a comment for an order. Then you can find this comment in the order detail page of the backoffice.

OrderComment preview

Installation

Manually

  • Copy the module into <thelia_root>/local/modules/ directory and be sure that the name of the module is OrderComment.
  • Activate it in your thelia administration panel

Composer

Add it in your main thelia composer.json file

composer require thelia/order-comment-module:~2.0

Loop

OrderCommentLoop : order.comment.comment

This loop return the comment of an order.

Input arguments

Argument Description
order_id Unique ID of the order (eg. order_id=5)

Output arguments

Variable Description
$ORDER_COMMENT Content of the comment

Example

{ifloop rel="order_comment_loop"}
    {loop name="order_comment_loop" type="order.comment.comment" order_id="$order_id" }
        {$ORDER_COMMENT}
    {/loop}
{/ifloop}
{elseloop rel="order_comment_loop"}
    <p class="alert alert-warning">
        {intl l="No comment for this order was defined." d="ordercomment"}
    </p>
{/elseloop}

Other ?

It may be convenient to display the comment on the detail page of the customer's order. To do that, uses the loop described previously.

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 6
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0
  • 更新时间: 2015-06-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固