Giter Club home page Giter Club logo

forcephone's Introduction

Force Phone

This module sets the mobile phone number, the home phone number, both or one of them as required in the customer and address forms.

Installation

Since 1.2 need to be installed by Composer

Composer

Add it in your main Thelia composer.json file

composer require thelia/force-phone-module:~1.2

Manually (only for version < 1.2)

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

Usage

Activate the module and the home phone number becomes required in the customer and address forms. Go to module configuration to select which phone numbers (home, mobile, both or one of them) should be required.

Affected pages :

  • register
  • create address
  • update address

Other

Be sure to set proper translations for phone inputs' labels.

You can find translation for the mandatory input in your administration panel: Configuration --> Translation --> Modules --> Set the phone input mandatory for the customer --> Core files

Translation for the second phone input is in: Configuration --> Translation --> Thelia core

forcephone's People

Contributors

roadster31 avatar zawaze avatar thomasdasilva avatar lucanis avatar etienneperriere avatar gillesbourgeat avatar informatiqueprog avatar julescournut avatar nicolasbarbey avatar lopes-vincent avatar

Watchers

James Cloos avatar Julien avatar  avatar  avatar  avatar

forcephone's Issues

Le formulaire de création de compte client coté back ne fonctionne pas ...

Bonjour,
Le formulaire de création de compte client coté back ne fonctionne pas et dit :

Merci de vérifier votre saisie: Donnée manquante ou non valide : [Téléphone] Merci d'indiquer au moins un numéro de téléphone, [Numéro de portable] Merci d'indiquer au moins un numéro de téléphone

Sauf que le champ n'est pas dispo pour rentrer un numéro de téléphone

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.