PHP code example of 4takte / oxid-gender

1. Go to this page and download the library: Download 4takte/oxid-gender library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

4takte / oxid-gender example snippets


<select name="[{$name}]"
        [{if $class}]class="[{$class}]"[{/if}]
        [{if $id}]id="[{$id}]"[{/if}]
        [{if $ang ident="DD_CONTACT_SELECT_SALUTATION"}]</option>
                <option value="MRS" [{if $value|lower  == "mrs" or $value2|lower == "mrs"}]SELECTED[{/if}]>[{oxmultilang ident="MRS"}]</option>
                <option value="MR"  [{if $value|lower  == "mr"  or $value2|lower == "mr"}]SELECTED[{/if}]>[{oxmultilang ident="MR" }]</option>
        [{/block}]
</select>

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