thelia / colissimo-pickup-point-module
Installs: 1 921
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 7
Forks: 10
Open Issues: 6
Type:thelia-module
Requires
- thelia/installer: ~1.1
README
Adds a delivery system for Colissimo pickup point delivery, with or without signature.
Installation
Manually
- Copy the module into
<thelia_root>/local/modules/
directory and be sure that the name of the module is ReadmeTest. - Activate it in your thelia administration panel
Composer
Add it in your main thelia composer.json file
composer require thelia/colissimo-pickup-point-module:~2.0.0
Usage
From the module configuration tab :
- Price slice tab : Allow you to define price slices for every area served by your module, as well as to toggle free shipping, for a minimum price, minimum price by area, or for everyone.
- Advanced Configuration tab : Lets you configure your module
Loop
If your module declare one or more loop, describe them here like this :
[colissimo.pickup.point.check.rights]
Input arguments
None
Output arguments
Exemple
{loop name="yourloopname" type="colissimo.pickup.point.check.rights"}<!-- your template -->{/loop}
[colissimo.pickup.point]
Input arguments
Output arguments
Exemple
{loop name="yourloopname" type="colissimo.pickup.point"}<!-- your template -->{/loop}
[colissimo.pickup.point.id]
Input arguments
None
Output arguments
Exemple
{loop name="yourloopname" type="colissimo.pickup.point.id"}<!-- your template -->{/loop}
[colissimo.pickup.point.around]
Input arguments
Output arguments
Exemple
{loop name="yourloopname" type="colissimo.pickup.point.around"}<!-- your template -->{/loop}
[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
{loop name="yourloopname" type="address.colissimo.pickup.point"}<!-- your template -->{/loop}
[order.notsent.colissimo.pickup.point]
Input arguments
None
Output arguments
The same as the loop order, but with not sent ColissimoPickupPoint orders.
Exemple
{loop name="yourloopname" type="order.notsent.colissimo.pickup.point"}<!-- your template -->{/loop}
[colissimo.pickup.point.order_address]
Input arguments
Output arguments
Exemple
{loop name="yourloopname" type="colissimo.pickup.point.order_address"}<!-- your template -->{/loop}
[colissimo.pickup.point.area.freeshipping]
Input arguments
Output arguments
Exemple
{loop name="yourloopname" type="colissimo.pickup.point.area.freeshipping"}<!-- your template -->{/loop}
[colissimo.pickup.point.freeshipping]
Input arguments
Output arguments
Exemple
{loop name="yourloopname" type="colissimo.pickup.point.freeshipping"}<!-- your template -->{/loop}
##Plugins Smarty
[colissimoPickupPointDeliveryPrice]
Input arguments
Output arguments
Exemple
{colissimoPickupPointDeliveryPrice country=64}
##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