Git Product home page Git Product logo

localpickup's Introduction

LocalPickup module

author: Thelia [email protected]

Summary

fr_FR:

  1. Installation
  2. Utilisation
  3. Boucles
  4. Intégration

en_US:

  1. Install notes
  2. How to use
  3. Loops
  4. Integration

fr_FR

Installation

Manually

  • Copiez le module dans le dossier <thelia_root>/local/modules/ et assurez-vous que le nom du module est bien LocalPickup.
  • Activez le depuis votre interface d'administration Thelia.

Composer

Ajoutez le module à votre fichier composer.json principal :

composer require thelia/local-pickup-module:~1.0

Utilisation

Pour utiliser le module de retrait sur place, allez dans le back-office, onglet Modules, et activez le, puis cliquez sur "Configurer" sur la ligne du module. Renseignez le prix que vous souhaitez donner au retrait sur place et enregistrez.

Boucles

  1. address.local Même sorties que la boucle address, mais avec l'adresse du magasin au lieu de celle du client.
    • Arguments:
      1. id | obligatoire | id de l'adresse du client
    • Sorties: Les mêmes variables que la boucle address, mais l'adresse donnée est celle du magasin.
    • Utilisation:
      {loop type="address.local" name="yourloopname" id="1"}
          <!-- your template -->
      {/loop}```
      
      

Intégration

L'integration utilise les hooks et ne nécessite pas de travaux particuliers.

en_US

Installation notes

Manually

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

Composer

Add it in your main thelia composer.json file:

composer require thelia/local-pickup-module:~1.0

Usage

To use the module, you first need to activate it in the back-office, tab Modules, and click on "Configure" on the line of the module. Enter the price you want for local pickup and save.

Loops

  1. address.local Same output as the address loop, with the store adresse instead of the customer address.
    • Arguments:
      1. id | mandatory | id of the customer's address
    • Output: The same variables as address loop, but the given address is the store's address.
    • Usage:
      {loop type="address.local" name="yourloopname" id="1"}
          <!-- your template -->
      {/loop}
      

Integration

The modules uses hooks, and does not require specific work.

localpickup's People

Contributors

lovenunu avatar julescournut avatar thomasarnaud avatar lunika avatar lopes-vincent avatar roadster31 avatar lucanis avatar gillesbourgeat avatar anonymze avatar leanormandon avatar zawaze avatar

Watchers

James Cloos avatar  avatar  avatar  avatar Yochima avatar  avatar

localpickup's Issues

Erreur configuration module

Quand on veut configurer le module, on arrive sur la page erreur qui conseille de venir ouvrir une issue.
Je ne retrouve pas d'erreur dans les logs.

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.