Skip to content

Latest commit

 

History

History
executable file
·
24 lines (15 loc) · 803 Bytes

File metadata and controls

executable file
·
24 lines (15 loc) · 803 Bytes

Condition - Filter by gender (Female/Male)

Thelia 2 Module

This module is used to allow an admin to generate Coupon usable by only Female or Male. This will allow a Customer to get a discount only for female or for male.

This is used as an example for the Coupon module.

How to install

This module must be into your modules/ directory (thelia/local/modules/).

You can download the .zip file of this module or create a git submodule into your project like this :

cd /path-to-thelia
git submodule add https://github.com/gmorel/thelia2-condition-match-for-gender.git local/modules/ConditionMatchForGender

Next, go to your Thelia admin panel for module activation.

How to use

This should add a new Condition type "Customer gender" to the Condition list in the admin panel.