定制 thelia/order-comment-module 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱: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.

统计信息

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

GitHub 信息

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

其他信息

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