Order Comment

Screenshots

preview.png

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.

Download
Order comment Download

Order Comment

This module allows customers to write a comment for an order.

Compatibility :

Thelia 2.1

Compatibility :

Thelia 2.2

Compatibility :

Thelia 2.3

Author :

Say Hi & Get in Touch

info@thelia.net - +33(0)4 44 05 31 00

Thelia Network English
E-commerce solution

E-commerce software, useful to create and manage online stores, published under a free license. Discover our new version, based on many modern technologies !

Download Thelia
Business

A team of experts at your service.

Showcase

Over 7000 online stores powered by Thelia

Modules

Customize your Thelia.

Openstudio

Thelia editor