OsCommerce
Aus Doku-Wiki
Inhaltsverzeichnis
Links
Module ein-/ausblenden
vi [WEBROOT]/includes/column_right.php vi [WEBROOT]/includes/column_left.php
Impressum
Impressum: Das Impressum muss in die folgenden Dateien separat eingefügt werden.
vi [WEBROOT]includes/languages/german/impressum.php vi [WEBROOT]includes/languages/english/impressum.php
Widerrufsbelehrung
Website
1. Backup! 2. Upload the files attached to your shop directory: catalog/includes/languages/yourlanguage/widerruf.php catalog/widerruf.php 3. Edit the existing file catalog/includes/filenames.php Find this code ->[ ?> ] and add before it: define('FILENAME_WIDERRUF', 'widerruf.php'); define('FILENAME_BESTELLABLAUF', 'bestellablauf.php'); 4. Edit the existing file catalog/includes/boxes/information.php Find the following code: '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . and add after it: '<a href="' . tep_href_link(FILENAME_WIDERRUF) . '">'. BOX_INFORMATION_WIDERRUF . '</a><br>' . 5. Edit the existing file catalog/includes/languages/yourlanguage.php (i.e. german.php, english.php etc.) Find this code: [ ?> ] and add before it: define('BOX_INFORMATION_WIDERRUF', 'Widerrufsbelehrung'); 6. Repeat step 5 for all languages your shop supports 7. Modify the language files catalog/includes/languages/yourlanguage.php: Enter the required legal information. 8. You're done!
eMail-Anhang
Erstelle der Belehrung in deiner Sprachdatei
vi [WEBROOT]includes/languages/german/checkout_process.php define('EMAIL_WIDERRUF', 'Widerrufsbelehrung.....TEXT...');
vor dem schließenden ?> eintragen
In der Datei [WEBROOT]/checkout_process.php
$payment_class = $$payment; $email_order .= $order->info['payment_method'] . "\n\n"; if ($payment_class->email_footer) { $email_order .= $payment_class->email_footer . "\n"; } } $email_order .= EMAIL_SEPARATOR . "\n\n" . EMAIL_WIDERRUF . "\n\n"; tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);