Download the PHP package thelia/colissimo-pickup-point-module without Composer

On this page you can find all versions of the php package thelia/colissimo-pickup-point-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 colissimo-pickup-point-module

ColissimoPickupPoint

Adds a delivery system for Colissimo pickup point delivery, with or without signature.

Installation

Manually

Composer

Add it in your main thelia composer.json file

Usage

From the module configuration tab :

Loop

If your module declare one or more loop, describe them here like this :

[colissimo.pickup.point.check.rights]

Input arguments

None

Output arguments

Variable Description
$ERRMES Error message
$ERRFILE File where the error has been detected

Exemple

[colissimo.pickup.point]

Input arguments

Argument Description
area_id Mandatory. Id of the area we want to know the price slices of

Output arguments

Variable Description
$SLICE_ID The ID of this price slice
$MAX_WEIGHT Max cart weight for the price slice
$MAX_PRICE Max cart price for the price slice
$PRICE Delivery price for this price slice
$FRANCO UNUSED

Exemple

[colissimo.pickup.point.id]

Input arguments

None

Output arguments

Variable Description
$MODULE_ID Id of the ColissimoPickupPoint module

Exemple

[colissimo.pickup.point.around]

Input arguments

Argument Description
countryid Country ID of where the search location is
zipcode Zipcode of the searched city
city Name of the searched city
address Id of the address to use for the search. Cannot be used at the same time as zipcode + city

Output arguments

Variable Description
$LONGITUDE longitude of the pickup point relay
$LATITUDE latitude of the pickup point relay
$CODE ID of the pickup point relay
$ADDRESS address of the pickup point relay
$ZIPCODE zipcode of the pickup point relay
$CITY city of the pickup point relay
$DISTANCE distance between the relay point and the customer's address/searched address

Exemple

[address.colissimo.pickup.point]

Input arguments

The same as the loop address

Output arguments

The same as the loop address, but with the pickup point's address

Exemple

[order.notsent.colissimo.pickup.point]

Input arguments

None

Output arguments

The same as the loop order, but with not sent ColissimoPickupPoint orders.

Exemple

[colissimo.pickup.point.order_address]

Input arguments

Argument Description
id Mandatory. ID of the OrderAddressColissimoPickupPoint that should be retrieved by the loop.

Output arguments

Variable Description
$ID OrderAddressColissimoPickupPoint ID.
$CODE OrderAddressColissimoPickupPoint code.
$TYPE OrderAddressColissimoPickupPoint type.

Exemple

[colissimo.pickup.point.area.freeshipping]

Input arguments

Argument Description
area_id Id of the area we want to know if freeshipping from is active

Output arguments

Variable Description
$ID ColissimoPickupPointAreaFreeshipping ID.
$AREA_ID The area ID.
$CART_AMOUNT The minimum cart amount to have free shipping for this area.

Exemple

[colissimo.pickup.point.freeshipping]

Input arguments

Argument Description
id Should always be 1.

Output arguments

Variable Description
$FREESHIPPING_ACTIVE Whether free shipping is activated with no restrictions on all area.
$FREESHIPPING_FROM The minimum cart amount to have free shipping on all alreas.

Exemple

Plugins Smarty

[colissimoPickupPointDeliveryPrice]

Input arguments

Argument Description
country The country ID from which you want to get the delivery prices. Defaults to store country

Output arguments

Variable Description
$isValidMode Whether the delivery is valid for the cart in session and the chosen country.
$deliveryPrice The delivery price for the cart in session in the chosen country.

Exemple

Integration

A integration example is available for the default theme of Thelia. To install it, copy the files of pathToColissimoPickupPoint/templates/frontOffice/default and pathToColissimoPickupPoint/templates/frontOffice/default/ajax respectively in pathToThelia/templates/frontOffice/default and pathToThelia/templates/frontOffice/default/ajax


All versions of colissimo-pickup-point-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/colissimo-pickup-point-module contains the following files

Loading the files please wait ....