PHP code example of thelia / dealer-module

1. Go to this page and download the library: Download thelia/dealer-module library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

thelia / dealer-module example snippets


$session->set(Dealer::SESSION_PICKUP_DEALER_ID, $dealerId);
$session->set(Dealer::SESSION_PICKUP_DATETIME, $datetime); // 'Y-m-d H:i:s'