PHPackages                             4takte/oxid-gender - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. 4takte/oxid-gender

ActiveOxideshop-module

4takte/oxid-gender
==================

Adds an other-gender option to OXID eShop.

v1.0.1(5y ago)019MITSmarty

Since Dec 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/4takte/oxid-gender)[ Packagist](https://packagist.org/packages/4takte/oxid-gender)[ RSS](/packages/4takte-oxid-gender/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

oxid-gender
===========

[](#oxid-gender)

If a selection of the salutation or gender is made selectable for the user in the online shop, or is even given as an arrow field, the user must be provided with another option in order not to discriminate against the third gender.

Features
--------

[](#features)

- adds another gender option to the salutation template in theme
- extended salutaion fields in admin
- you can define the db value for the new option as a module config param
- optional cronjob controller to fix/set corrupt user salutation entries

Installation
------------

[](#installation)

### 1 - Install with composer

[](#1---install-with-composer)

```
composer require 4takte/oxid-gender:"dev-main"

```

### 2 - Add the missing block to your theme

[](#2---add-the-missing-block-to-your-theme)

There are open pull requests asking to integrate this block in flow and wave theme.
For now you have to integrate them yourself.

theme &gt; form &gt; fieldset &gt; salutation.tpl add the block "salutation\_options"

```

        [{block name="salutation_options"}]
                [{oxmultilang ident="DD_CONTACT_SELECT_SALUTATION"}]
                [{oxmultilang ident="MRS"}]
                [{oxmultilang ident="MR" }]
        [{/block}]

```

### 3 - Activate module in Oxid eshop admin

[](#3---activate-module-in-oxid-eshop-admin)

### 4 - Clear smarty template cache

[](#4---clear-smarty-template-cache)

Cronjob (optional)
------------------

[](#cronjob-optional)

Express payment methods like PayPal, AmazonPay as well as other external systems might insert address and user data during checkout or order import. As we noticed a small amount of users have not been correctly formated to OXID eShop standard salutation.

The cronjob executes sql queries in oxuser and oxaddress to fix these.

- empty values update to new gender db value (config-option)
- non-standard and clearly assignable values get updated to oxid standard values
- you can easily change the cron to your needs

### Check this db query first

[](#check-this-db-query-first)

This query outputs grouped salutation values. Executes in local docker environment in 0.539 s (~ 500.000 user)
Analyze query output and change the properties of \\Viertakte\\OxidGender\\Application\\Controller\\CronController to your needs. There might also be buggy entries in oxaddress. In our tests we didn´t find any, so there are currently no quries for oxaddress implemented.

```
select distinct oxsal, count(oxsal) from oxuser group by oxsal having oxsal NOT IN ('MR','MRS', '');

```

### Cronjob Url

[](#cronjob-url)

```
https://your-shop-url.com/index.php?cl=viergendercron&cronkey=vS8jcd5QwrZ4aKsA

```

Additional information / judgment of the regional court
-------------------------------------------------------

[](#additional-information--judgment-of-the-regional-court)

LG Frankfurt am Main - Az. 2-13 O 131/20 - 03.12.2020
[lto.de](https://www.lto.de/recht/nachrichten/n/lg-frankfurt-am-main-2-13-o-131-20-geschlechtsneutrale-anrede-beim-fahrkartenkauf-diskriminierung-allgemeines-persoenlichkeitsrecht/) | [onlinehaendler-news.de](https://www.onlinehaendler-news.de/e-recht/aktuelle-urteile/134043-drittes-geschlecht-online-shops-waehlbar)

License
-------

[](#license)

```
Copyright (c) 2020 Markus Schröder

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

```

Copyright
---------

[](#copyright)

(c) 2020 4takte

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1972d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3fb7eead3a486ea0aa52849d3d9c4b10883cc986187860b4f6e02765e29a5f1a?d=identicon)[4takte](/maintainers/4takte)

---

Top Contributors

[![4takte](https://avatars.githubusercontent.com/u/1315912?v=4)](https://github.com/4takte "4takte (8 commits)")

---

Tags

OXIDmoduleseshop

### Embed Badge

![Health badge](/badges/4takte-oxid-gender/health.svg)

```
[![Health](https://phpackages.com/badges/4takte-oxid-gender/health.svg)](https://phpackages.com/packages/4takte-oxid-gender)
```

###  Alternatives

[oxid-esales/oxideshop-ce

This package contains OXID eShop CE source code.

2381.1M191](/packages/oxid-esales-oxideshop-ce)[oxid-esales/paypal-module

This is the PayPal module for the OXID eShop.

36513.5k2](/packages/oxid-esales-paypal-module)[ddoe/wysiwyg-editor-module

Summernote WYSIWYG Editor for OXID eShop.

19981.7k2](/packages/ddoe-wysiwyg-editor-module)[oxid-esales/gdpr-optin-module

This is the GDPR opt-in module for the OXID eShop.

20459.1k2](/packages/oxid-esales-gdpr-optin-module)[oxid-esales/paymorrow-module

This is Paymorrow module for OXID eShop.

18238.2k](/packages/oxid-esales-paymorrow-module)[oxid-esales/testing-library

OXID eShop testing library

13374.0k10](/packages/oxid-esales-testing-library)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
