Initial import: Carteasy Shop (Dev-Stand)
This commit is contained in:
@@ -0,0 +1,143 @@
|
||||
<?php
|
||||
|
||||
$config_group_settings = array(
|
||||
'edit_fields' => array (
|
||||
array(
|
||||
'name' => 'Stammdaten',
|
||||
'type' => 'form_title'
|
||||
),
|
||||
array(
|
||||
'db_field' => 'company_name',
|
||||
'name' => 'Firmenname',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'db_field' => 'company_legal_form',
|
||||
'name' => 'Rechtsform',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'db_field' => 'company_ustid',
|
||||
'name' => 'USt-IdNr.',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'db_field' => 'company_jurisdiction',
|
||||
'name' => 'Gerichtsstand',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'db_field' => 'company_management',
|
||||
'name' => 'Geschäftführung',
|
||||
'type' => 'text'
|
||||
),
|
||||
|
||||
array(
|
||||
'db_field' => 'company_director',
|
||||
'name' => 'Vorstand',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'db_field' => 'company_directorat',
|
||||
'name' => 'Aufsichtsratsvorsitz',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'db_field' => 'company_register_court',
|
||||
'name' => 'Sitz, Registergericht, Registernummer',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'db_field' => 'company_data_protection_officer',
|
||||
'name' => 'Datenschutzbeauftragte',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'db_field' => 'company_youth_protection_officer',
|
||||
'name' => 'Jugendschutzbeauftragte',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'name' => 'Anschrift',
|
||||
'type' => 'form_title'
|
||||
),
|
||||
array(
|
||||
'db_field' => 'company_country',
|
||||
'name' => 'Land',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'db_field' => 'company_street',
|
||||
'name' => 'Geschäftführung',
|
||||
'type' => 'text'
|
||||
),
|
||||
|
||||
array(
|
||||
'db_field' => 'company_zip_code',
|
||||
'name' => 'PLZ',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'db_field' => 'company_city',
|
||||
'name' => 'Ort',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'name' => 'Kontakt',
|
||||
'type' => 'form_title'
|
||||
),
|
||||
array(
|
||||
'db_field' => 'company_email',
|
||||
'name' => 'E-Mail',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'db_field' => 'company_phone',
|
||||
'name' => 'Telefon',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'db_field' => 'company_fax',
|
||||
'name' => 'Fax',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'db_field' => 'company_website',
|
||||
'name' => 'Webseite',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'name' => 'Bankdaten',
|
||||
'type' => 'form_title'
|
||||
),
|
||||
array(
|
||||
'db_field' => 'company_bank',
|
||||
'name' => 'Bank',
|
||||
'type' => 'text'
|
||||
),
|
||||
|
||||
array(
|
||||
'db_field' => 'company_bank_number',
|
||||
'name' => 'BLZ',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'db_field' => 'company_account_number',
|
||||
'name' => 'Kto-Nr.',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'db_field' => 'company_iban',
|
||||
'name' => 'IBAN',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'db_field' => 'company_swift_bic',
|
||||
'name' => 'SWIFT / BIC',
|
||||
'type' => 'text'
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
/**
|
||||
* Carteasy – Revocation / Widerruf (EU-RL 2026/2673 "Widerrufsbutton")
|
||||
*
|
||||
* Zentrale Feature-Flags und Konstanten. Bis zum Go-Live Mitte Mai 2026
|
||||
* bleibt REVOCATION_ENABLED = false (Silent-Modus).
|
||||
*
|
||||
* @copyright Wlanium / Thomas Bartelt
|
||||
* @since 2026-04-19
|
||||
*/
|
||||
|
||||
if (defined('REVOCATION_CONFIG_LOADED')) {
|
||||
return;
|
||||
}
|
||||
define('REVOCATION_CONFIG_LOADED', true);
|
||||
|
||||
// ===== Master-Schalter =====
|
||||
|
||||
// wenn false: Token werden weder erzeugt noch Mails verschickt,
|
||||
// Landingpage liefert "Widerruf zurzeit nicht verfügbar".
|
||||
define('REVOCATION_ENABLED', false);
|
||||
|
||||
// wenn false: Token wird trotzdem in DB angelegt (für spätere Aktivierung),
|
||||
// aber die Info-Mail an den Kunden geht NICHT raus.
|
||||
define('REVOCATION_INFO_MAIL_ENABLED', false);
|
||||
|
||||
// ===== Einordnung B2C / B2B =====
|
||||
|
||||
define('REVOCATION_B2C_GROUP_IDS', serialize([1, 103])); // Endverbraucher, Gast
|
||||
define('REVOCATION_B2B_GROUP_IDS', serialize([101])); // Händler (ausgenommen)
|
||||
define('REVOCATION_GUEST_GROUP_ID', 103);
|
||||
|
||||
// ===== Token / Gültigkeit =====
|
||||
|
||||
define('REVOCATION_TOKEN_VALIDITY_DAYS', 20); // 14 Tage Pflicht + 6 Puffer
|
||||
define('REVOCATION_TOKEN_BYTES', 32); // 32 Bytes = 64 Hex-Chars
|
||||
|
||||
// ===== Adressen / URLs =====
|
||||
|
||||
define('REVOCATION_OWNER_EMAIL', 'intelectra-ersatzteile@t-online.de');
|
||||
define('REVOCATION_LANDING_PATH', '/widerruf.php'); // Pfad auf dem Shop-Host
|
||||
define('REVOCATION_RETURN_COMPANY','Intelectra GmbH');
|
||||
define('REVOCATION_RETURN_STREET', 'Sachsenring 20');
|
||||
define('REVOCATION_RETURN_CITY', '94315 Straubing');
|
||||
define('REVOCATION_RETURN_COSTS_NOTE',
|
||||
'Die regelmäßigen Kosten der Rücksendung tragen Sie.');
|
||||
|
||||
// ===== UI-Texte =====
|
||||
|
||||
define('REVOCATION_BUTTON_LABEL', 'Vertrag hier widerrufen');
|
||||
Reference in New Issue
Block a user