thelia/customer-birth-date-module

1.2.2 2019-03-15 11:01 UTC

This package is auto-updated.

Last update: 2024-11-16 03:17:11 UTC


README

Add a date of birth input in customers' forms

Installation

Manually

  • Copy the module into <thelia_root>/local/modules/ directory and be sure that the name of the module is CustomerBirthDate.
  • Activate it in your thelia administration panel

Composer

Add it in your main thelia composer.json file

composer require thelia/customer-birth-date-module:~1.1

Usage

Once activated, inputs asking for customer's birth date appear:

  • in the customer register page
  • in the customer update account page
  • in the admin 'create customer' form
  • in the admin 'customer' page

Loop

customerbirthdate

Input arguments

Output arguments

### Exemple

{loop type="customerbirthdate" name="birth_date"}

Customer ID: {$CUSTOMER_ID} | Date of birth : {$BIRTHDATE}

{/loop}