Download the PHP package proudcommerce/salutation without Composer

On this page you can find all versions of the php package proudcommerce/salutation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package salutation

pcSalutation

Ergänzt die Kunden-Anrede um die Option „Divers" (interner OXSAL-Code DIV, neben MR/MRS) – in Frontend und Backend, update-sicher und ohne Core-Dateien zu verändern.

Plugin für OXID eShop 6.

Hintergrund

Rechtlicher Auslöser: das AGG (§§ 1, 3, 19, 21) i. V. m. dem Beschluss des Bundesverfassungsgerichts vom 10.10.2017 (1 BvR 2019/16, „drittes Geschlecht"). Online-Shops sollten entweder auf die verpflichtende Anrede-Abfrage verzichten oder eine dritte Option „divers" anbieten.

Funktionsweise

Die OXID-Standard-Templates verdrahten in den Anrede-Auswahlen fest nur MR/MRS. Da sowohl die Core-Admin-Templates (Application/views/admin) als auch die Core-Sprachdateien über Composer ausgeliefert und bei jedem Update zurückgesetzt werden, dürfen sie nicht direkt editiert werden. Das Modul löst das ausschließlich über Modul-Mechanismen (blocks, templates, Modul-Sprachdateien).

Backend (alle Themes)

Erweiterung der vier betroffenen Admin-Masken über Smarty-Blocks. Der jeweilige Block rendert per [{$smarty.block.parent}] das Original und bindet ein gemeinsames Partial ein, das die DIV-Option per JavaScript in den vorhandenen Anrede-<select> einhängt und sie bei gespeichertem Wert DIV selektiert.

Template Block Feld
user_main.tpl admin_user_main_form oxuser__oxsal
user_address.tpl admin_user_address_form oxaddress__oxsal
order_address.tpl admin_order_address_billing oxorder__oxbillsal
order_address.tpl admin_order_address_delivery oxorder__oxdelsal

Warum auch im Backend nötig? Ohne die Option würde ein Speichern im Backend einen als „Divers" angelegten Datensatz auf den ersten Auswahlwert (MR) zurücksetzen.

Frontend (Standard-Themes wave/flow)

Die ausgelieferte form/fieldset/salutation.tpl der Themes wave/flow rendert die Anrede-Optionen innerhalb des Smarty-Blocks salutation_options. Das Modul überschreibt diesen Block theme-scoped (theme => wave|flow), rendert per [{$smarty.block.parent}] die Original-Optionen (MR/MRS) und ergänzt serverseitig die Option DIV – inklusive korrekter Vorselektion bei gespeichertem Wert DIV (analog zur OXID-Standardlogik $value/$value2). Da alle Anrede-Formulare (Kontakt, Newsletter, Rechnungs- und Lieferadresse, Konto) dieses Fieldset einbinden, genügt ein einziger Block-Override je Theme. Die Theme-Bindung stellt sicher, dass ein eigenes Theme nicht berührt wird – dort pflegt man die Anrede im Theme selbst.

Die Übersetzung des Codes DIV → „Divers"/„Diverse" liegt in den Modul-Sprachdateien (Application/translations/<lang>/… fürs Frontend, Application/views/admin/<lang>/… fürs Backend) und liefert so das Auswahl-Label in den Anrede-Dropdowns.

Ausgabe der Anrede (Mails, Adressen, Listen)

Rechtlich soll für „Divers" keine Anrede ausgegeben werden. Die OXID-Standard-Ausgabe verwendet dafür überall den Smarty-Modifier |oxmultilangsal – an rund 48 Stellen (Datei-Templates und CMS-Mail-Contents in der Datenbank). Statt jede Stelle einzeln zu patchen (Fleißarbeit, muss auf jeder Umgebung nachgezogen werden), überschreibt das Modul den Modifier zentral und update-sicher:

So greift die Regel „Divers = keine Anrede" an allen Ausgabestellen gleichzeitig, ohne einzelne Templates oder CMS-Inhalte zu editieren.

Installation

Anschließend den Template-/Sprach-Cache leeren (source/tmp).

License

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

Copyright

Proud Commerce GmbH | 2026
https://www.proudcommerce.com

All versions of salutation with dependencies

PHP Build Version
Package Version
Requires oxid-esales/oxideshop-ce Version ^6.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package proudcommerce/salutation contains the following files

Loading the files please wait ...