Download the PHP package thelia/support-ticket-module without Composer

On this page you can find all versions of the php package thelia/support-ticket-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package support-ticket-module

Support Ticket

Customers service and support tickets for Thelia.

This module is compatible with Thelia version 2.1 or greater.

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.

Installation

Manually

Composer

Add it in your main thelia composer.json file

Usage

Customers can post question and view responses from their account page.

In back-office, the configuration page allows you to manage the tickets.

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.

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

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/

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

Loop

The module provides a new loop : support-ticket

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

All versions of support-ticket-module with dependencies

PHP Build Version
Package Version
Requires thelia/installer Version ~1.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package thelia/support-ticket-module contains the following files

Loading the files please wait ....