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.
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.
This should add a new Condition type "Customer gender" to the Condition list in the admin panel.