thelia/loyalty-module

Installs: 479

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 6

Forks: 9

Open Issues: 0

Type:thelia-module

2.0.1 2023-03-22 11:26 UTC

This package is auto-updated.

Last update: 2024-11-22 15:04:51 UTC


README

#Loyalty

With this module, you can reward the loyalty of your customers.

Installation

This module require Credit account module.

with git

$ cd local/modules
$ git clone https://github.com/thelia-modules/Loyalty

If you want to download the zip from github, rename the unzip folder as Loyalty, github suffix the zip and the folder with the current branch name.

After that, you just have to activate the module in your back-office.

How to use it

Once activated, go to the configuration page for this module and configure all the slice price you want.

After each order, the customer will receive the amount you configure in his credit account.

Loops

One loop exists in this module. This loop can list all slice configure in the admin. So you can create a page for explain to your customers The rules for having some more credits.

loyalty loop

input argument

None

output arguments

* $ID : loyalty slice id
* $MIN : minimum order amount for this slice
* $MAX : maximum order amount for this slice
* $AMOUNT : amount added to the customer's credit account

version history

0.6 : single slice mode added