2017 © Pedro Peláez
 

thelia-module support-ticket-module

image

thelia/support-ticket-module

  • Thursday, March 12, 2015
  • by thelia
  • Repository
  • 3 Watchers
  • 0 Stars
  • 35 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 7 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Support Ticket

Customers service and support tickets for Thelia., (*1)

This module is compatible with Thelia version 2.1 or greater., (*2)

For now, the module is quiet simple and limited. It allows the customer to post a question.
It can be a general question or a question related to an order or a product., (*3)

Installation

Manually

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

Composer

Add it in your main thelia composer.json file, (*4)

composer require thelia/support-ticket-module:~1.0

Usage

Customers can post question and view responses from their account page., (*5)

In back-office, the configuration page allows you to manage the tickets., (*6)

An email is sent to the administrator when a new question is posted and the customer will receive an email when a response is done., (*7)

In the front office, an integration is provided for the default template. It uses hooks, so it's activated by default., (*8)

You can override these smarty templates in the current template. You have to put your templates files in this directory (with default template) : template/frontOffice/default/modules/SupportTicket/, (*9)

The main page displaying the questions and answers could be override in defining a new file in your template (you can copy the default one defined in the module and modify it): template/frontOffice/default/support-ticket.html, (*10)

Loop

The module provides a new loop : support-ticket, (*11)

Input arguments

Argument Description
id the support ticket id
status the status (0 = new, 1 = replied, 2 = closed )
customer_id the customer id
admin_id the admin id.
order_id the order id
order_product_id the order product id
order the sort order : id, status, customer_id, admin_id, order_id, order_product_id

Output arguments

Variable Description
$ID the ticket id
$STATUS the status code
$STATUS_TEXT the status text
$CUSTOMER_ID the customer id
$ADMIN_ID the id of the administrator who has answered
$ORDER_ID the order id
$ORDER_PRODUCT_ID the order product id
$SUBJECT the subject of the ticket
$MESSAGE the message
$RESPONSE the answer
$REPLIED_AT the date of the first reply
$COMMENT the comment associated to the ticket (it should not be displayed to the customer

The Versions

12/03 2015

dev-master

9999999-dev

  Sources   Download

LGPL-3.0+

The Requires

 

26/02 2015

1.0

1.0.0.0

  Sources   Download

LGPL-3.0+

The Requires