2017 © Pedro PelĂĄez
 

thelia-module customer-birth-date-module

image

thelia/customer-birth-date-module

  • Wednesday, January 20, 2016
  • by thelia
  • Repository
  • 5 Watchers
  • 0 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 5 Versions
  • 133 % Grown

The README.md

CustomerBirthDate

Add a date of birth input in customers' forms, (*1)

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, (*2)

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, (*3)

Loop

customerbirthdate, (*4)

Input arguments

Argument Description
id The customer id you want to diplay the date of birth

Output arguments

Variable Description
$CUSTOMER_ID The ID of the customer
$BIRTHDATE The date of birth of the customer. Format: yyyy-mm-dd

 Exemple

{loop type="customerbirthdate" name="birth_date"}, (*5)

Customer ID: {$CUSTOMER_ID} | Date of birth : {$BIRTHDATE}, (*6)

{/loop}, (*7)

The Versions

20/01 2016

dev-master

9999999-dev

  Sources   Download

LGPL-3.0+

The Requires

 

20/01 2016

1.2.1

1.2.1.0

  Sources   Download

LGPL-3.0+

The Requires

 

08/12 2015

1.2

1.2.0.0

  Sources   Download

LGPL-3.0+

The Requires

 

07/12 2015

1.1

1.1.0.0

  Sources   Download

LGPL-3.0+

The Requires

 

09/10 2015

1.0

1.0.0.0

  Sources   Download

LGPL-3.0+

The Requires