Download the PHP package 4takte/oxid-gender without Composer
On this page you can find all versions of the php package 4takte/oxid-gender. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package 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
- 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
1 - Install with composer
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 > form > fieldset > salutation.tpl add the block "salutation_options"
3 - Activate module in Oxid eshop admin
4 - Clear smarty template cache
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
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.
Cronjob Url
Additional information / judgment of the regional court
LG Frankfurt am Main - Az. 2-13 O 131/20 - 03.12.2020
lto.de |
onlinehaendler-news.de
License
Copyright (c) 2020 Markus Schröder <[email protected]>
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
(c) 2020 4takte