Download the PHP package thelia/chronopost-label-module without Composer
On this page you can find all versions of the php package thelia/chronopost-label-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thelia/chronopost-label-module
More information about thelia/chronopost-label-module
Files in thelia/chronopost-label-module
Package chronopost-label-module
Short Description Chronopost label generation module.
License LGPL-3.0+
Informations about the package chronopost-label-module
ChronopostLabel
Allows you to create labels for the modules ChronopostPickupPoint and ChronopostHomeDelivery.
Installation
Manually
- Copy the module into directory and be sure that the name of the module is ChronopostLabel.
- Activate it in your thelia administration panel
Composer
Add it in your main thelia composer.json file
Usage
First, go to your back office, tab Modules, and activate the module ChronopostLabel. Then go to ChronopostLabel configuration page and fill the required fields.
You can then generate and download labels from the Chronopost Label page accessible from the toolbar on the left of the BackOffice, or directly from the order page.
Loop
[chronopost.label.check.rights]
Check if label directory is writable and readable.
Input arguments
None
Output arguments
Variable | Description |
---|---|
$ERRMES | Error message |
$ERRFILE | Folder where the error has been detected |
[chronopost.label.export.home.delivery.labels]
Get a list of orders made with the home delivery module, and their label informations
Input arguments
Argument | Description |
---|---|
order_ref | Reference of the order you want to display |
order_id | Id of the order you want to display |
delivery_type | Delivery type (ex Fresh13) of the orders you want to display |
delivery_code | Delivery code (ex 2R) of the orders you want to display. |
label_number | Label number of the order you want to display |
label_directory | Label directory of the orders you want to display |
order_status | Status of the order you want to display |
Output arguments
Variable | Description |
---|---|
$REFERENCE | Reference of the order |
$DELIVERY_TYPE | Delivery type of the order (ex Fresh13) |
$DELIVERY_CODE | Delivery code of the order (ex 2R) |
$LABEL_NBR | Label number of the order |
$LABEL_DIR | Label directory of the order |
$ORDER_ID | Order ID |
[chronopost.label.export.pickup.point.labels]
Get a list of orders made with the pickup point delivery module, and their label informations
Input arguments
Argument | Description |
---|---|
order_ref | Reference of the order you want to display |
order_id | Id of the order you want to display |
delivery_type | Delivery type (ex Fresh13) of the orders you want to display |
delivery_code | Delivery code (ex 2R) of the orders you want to display. |
label_number | Label number of the order you want to display |
label_directory | Label directory of the orders you want to display |
order_status | Status of the order you want to display |
Output arguments
Variable | Description |
---|---|
$REFERENCE | Reference of the order |
$DELIVERY_TYPE | Delivery type of the order (ex Fresh13) |
$DELIVERY_CODE | Delivery code of the order (ex 2R) |
$LABEL_NBR | Label number of the order |
$LABEL_DIR | Label directory of the order |
$ORDER_ID | Order ID |