DPD Predict

Screenshots

Predict by DPD module ~2.0.0 Works with Thelia >= 2.4.3
If you want to use it with Thelia <= 2.4.3 see Predict ~1.0.0

Installation

composer require thelia/predict-module ~2.0.0

Usage

Before using this module you first need to configure your DPD account number, and optionally your cellphone number and check if you have the Predict SMS option. Don't forget to assign the shipping zones to the Predict module and to configure your store's address, it's necessary in order to use this module.

The loops

The Predict module brings you three loops:

  • predict.check.rights

  • predict.notsend.loop

  • predict

Check if the Config folder and the prices.json file are readable and writable

{loop name="predict.check.rights.loop" type="predict.check.rights"}
    <div class="alert alert-danger">
        {$ERRMES} {$ERRFILE}
    </div>
{/loop}

{elseloop rel="predict.check.rights.loop"}
    <!-- No error, we can continue -->
{/elseloop}

Get every order which are paid and not sent and has Predict as delivery module

{loop name="get.predict.orders" type="predict.notsend.loop"}
    ...
{/loop}

Get the prices of a given area

{loop name="predict.prices" type="predict" area="1"}
    ...
{/loop}

Integration

This module uses the Hooks order-delivery.stylesheet and order-delivery.extra, the integration with the default template is already done.

If you want to custom the integration, you can see how to do that in the documentation

Download
DPD Predict Download

DPD Predict

Allows the customer to chose between several delivery time slots , and to be reminded of this time slot by SMS the day of delivery

Compatibility :

Thelia 2.0

Author :

Version :

Version 1.0

Say Hi & Get in Touch

info@thelia.net - +33(0)4 44 05 31 00

Thelia Network English
E-commerce solution

E-commerce software, useful to create and manage online stores, published under a free license. Discover our new version, based on many modern technologies !

Download Thelia
Business

A team of experts at your service.

Showcase

Over 7000 online stores powered by Thelia

Modules

Customize your Thelia.

Openstudio

Thelia editor