-
Posts
434 -
Joined
-
Last visited
-
Days Won
9
Everything posted by YePix
-
Du kannst alles abändern was du möchtest. Die Farben findest du in den entsprechenden .css Dateien. Aber wie gesagt, Nicht das Layout ist wichtig sondern die EU Vorgaben und Gesetze an die du dich halten solltest bevor dein Shop On-Line geht.
-
returns_configuration.php row 370, 371 reset($orders_status_id); while (list(, $value) = each($orders_status_id)) { change: // reset($orders_status_id); // while (list(, $value) = each($orders_status_id)) { foreach ($orders_status_id as $value) {
-
Hi, schau mal in die 960gs und die jquery ordner. je nachdem welche css bei dir verbunden sind. Anschliessend den header entsprechend anpassen. Ist schon etwas Sucherei und Fummelarbeit um die Breite an zu passen.
-
Schau mal hier https://github.com/gburton/Responsive-osCommerce
-
catalog/saved_data.php <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com ****************************************************************** saved_data.php - DSGVO http://pl-systeme.de TIPS & TRICKS FOR osCommerce 2.3.xx under: https://www.pl-systeme.de/surfcms.php?pg=1 2.3.4-1 Demoshop: https://www.pl-systeme.de/product_info.php?cPath=23&products_id=1 Bootstrap-Responsive Demoshop: https://www.pl-systeme.de/product_info.php?cPath=24&products_id=2 ****************************************************************** Copyright (c) 2010 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DSGVO); $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_DSGVO)); $pls_countries_query = tep_db_query("select ci.customers_id as customers_id, countries_id, countries_name from " . TABLE_CUSTOMERS . " ci, " . TABLE_COUNTRIES . " where customers_id = '" . (int)$customer_id . "'"); $countries = tep_db_fetch_array($pls_countries_query); $pls_reviews_query = tep_db_query("select count(*) as number_of_reviews from " . TABLE_REVIEWS . " where customers_id = '" . (int)$customer_id . "'"); $reviews = tep_db_fetch_array($pls_reviews_query); $pls_orders_query = tep_db_query("select count(*) as number_of_orders from " . TABLE_ORDERS . " where customers_id = '" . (int)$customer_id . "'"); $orders = tep_db_fetch_array($pls_orders_query); $pls_basket_query = tep_db_query("select b.products_id, b.customers_basket_quantity, b.customers_basket_date_added, p.products_model, pd.products_name from customers_basket b left join products p on b.products_id = p.products_id left join products_description pd on b.products_id = pd.products_id where customers_id = '" . (int)$customer_id . "'"); $pls_account_query = tep_db_query("select customers_email_address, customers_telephone, customers_fax, customers_newsletter, customers_dob from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$customer_id . "'"); $account = tep_db_fetch_array($pls_account_query); $newsletter = $account['customers_newsletter']; if ($newsletter == '1') { $newsletter_text = ENTRY_NEWSLETTER_YES; } else { $newsletter_text = ENTRY_NEWSLETTER_NO; } $pls_customers_info_query = tep_db_query("select customers_info_id, customers_info_date_of_last_logon, customers_info_number_of_logons, customers_info_date_account_created, customers_info_date_account_last_modified, global_product_notifications from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "'"); $customers_info = tep_db_fetch_array($pls_customers_info_query); $notifications = $customers_info['global_product_notifications']; if ($notifications == '1') { $notifications_text = ENTRY_NOTIFICATIONS_YES; } else { $notifications_text = ENTRY_NOTIFICATIONS_NO; } $pls_anrede_gender_query = tep_db_query("SELECT customers_gender FROM " . TABLE_CUSTOMERS . " WHERE customers_id = '" . $customer_id . "'"); $pls_anrede_gender = tep_db_fetch_array($pls_anrede_gender_query); $gender = $pls_anrede_gender['customers_gender']; if ($gender == 'm') { $gender_text = MALE; } else { $gender_text = FEMALE; } $pls_tax_info_query = tep_db_query("SELECT products_id, products_tax_class_id FROM " . TABLE_PRODUCTS . " WHERE products_status = '1' and products_id = '" . (int)$_GET['products_id'] ."'"); $pls_tax_info = tep_db_fetch_array($pls_tax_info_query); $taxinfo = $pls_tax_info['products_tax_class_id']; if (DISPLAY_PRICE_WITH_TAX == 'true') { $taxinfo_text = TAX_INFO; } else { $taxinfo_text = TAX_INFO_OFF; } HEADING_IPRECORDED_1; $ip_iprecorded = YOUR_IP_IPRECORDED; $isp_iprecorded = YOUR_ISP_IPRECORDED; $ip = $_SERVER["REMOTE_ADDR"]; $client = gethostbyaddr($_SERVER["REMOTE_ADDR"]); $str = preg_split("/\./", $client); $i = count($str); $x = $i - 1; $n = $i - 2; $isp = $str[$n] . "." . $str[$x]; $pls_separator = '<br><img src="images/separator_pixel.gif" alt="" height="1" width="100%" align="middle" border="0" />'; $pls_separator_no_break = '<img src="images/separator_pixel.gif" alt="" height="1" width="100%" align="middle" border="0" />'; require(DIR_WS_INCLUDES . 'template_top.php'); ?> <script type="text/javascript" language="javascript"> function printPage() { if (window.print) { jetztdrucken = confirm('Seite drucken ?'); if (jetztdrucken) window.print(); } } </script> <div class="pls_alert-SiteContainer"> <div class="pls_CartModuleHtgr"><div class="pls_margin"> <?php echo TEXT_GDPR; ?> </div></div> <div class="page-header pls_margin"> <h3><?php echo HEADING_TITLE; ?></h3> </div> <div class="pls_margin pls_panel"> <?php $addresses_query = tep_db_query("select address_book_id, customers_id, entry_firstname as firstname, entry_lastname as lastname, entry_company as company, entry_street_address as street_address, entry_suburb as suburb, entry_city as city, entry_postcode as postcode, entry_state as state from " . TABLE_ADDRESS_BOOK . " where customers_id = '" . (int)$customer_id . "' order by firstname, lastname"); $addresses = tep_db_fetch_array($addresses_query); echo '<h3>' . CATEGORY_PERSONAL . '</h3><br>' . ENTRY_GENDER . ' ' . $gender_text . $pls_separator . ENTRY_FIRST_NAME_TEXT . ' ' . stripslashes($addresses['firstname'] . $pls_separator . ENTRY_LAST_NAME_TEXT . ' ' . $addresses['lastname'] . $pls_separator . ENTRY_DATE_OF_BIRTH . ' ' . tep_date_long ($account['customers_dob']) . $pls_separator . TEXT_CUSTOMMER_NR . ' ' . stripslashes($countries['customers_id']) . $pls_separator . ENTRY_STREET_ADDRESS_TEXT . ' ' . $addresses['street_address'] . $pls_separator . ENTRY_POST_CODE_TEXT . ' / ' . ENTRY_CITY_TEXT . ' ' . $addresses['postcode'] . ' ' . $addresses['city'] . $pls_separator . ENTRY_COUNTRY . ' ' . $countries['countries_name'] . $pls_separator . ENTRY_STATE . ' ' . $addresses['entry_state']) . $pls_separator . '';?><br> </div><div class="pls_margin pls_panel"> <?php echo '<h3>' . CATEGORY_CONTACT . '</h3><br>' . ENTRY_EMAIL_ADDRESS . ' ' . stripslashes($account['customers_email_address']) . $pls_separator . ENTRY_TELEPHONE_NUMBER . ' ' . stripslashes($account['customers_telephone']) . $pls_separator . ENTRY_FAX_NUMBER . ' ' . stripslashes($account['customers_fax']) . $pls_separator . ENTRY_COMPANY . ' ' . stripslashes($addresses['entry_company']) . $pls_separator . '';?><br> </div><div class="pls_margin pls_panel"> <?php echo '<h3>' . CATEGORY_SITEINFO . '</h3><br>' . ENTRY_NEWSLETTER . ' ' . $newsletter_text . $pls_separator . ENTRY_TEXT_TOTAL_NOTIFICATIONS . ' ' . $notifications_text . $pls_separator . ENTRY_TEXT_ACCOUNT_CREATED . ' ' . tep_date_long ($customers_info['customers_info_date_account_created']) . $pls_separator . ENTRY_TEXT_AGREED_CONDITIONS . ' ' . tep_date_long ($customers_info['customers_info_date_account_created']) . ' ' . TIME_FORMAT_TEXT_WHAT . ' ' . tep_time_long ($customers_info['customers_info_date_account_created']) . ' ' . TIME_FORMAT_TEXT_CLOCK . $pls_separator . ENTRY_TEXT_ACCOUNT_LAST_MODIFIED . ' ' . tep_date_long ($customers_info['customers_info_date_account_last_modified']) . ' ' . TIME_FORMAT_TEXT_WHAT . ' ' . tep_time_short ($customers_info['customers_info_date_account_last_modified']) . ' ' . TIME_FORMAT_TEXT_CLOCK . $pls_separator . ENTRY_TEXT_LAST_LOGIN . ' ' . tep_date_long ($customers_info['customers_info_date_of_last_logon']) . $pls_separator . ENTRY_TEXT_LOGIN_TOTAL . ' ' . $customers_info['customers_info_number_of_logons'] . $pls_separator . ENTRY_TEXT_REVIEWS_TOTAL . ' ' . $reviews['number_of_reviews'] . $pls_separator . '';?> <?php echo ENTRY_TEXT_ORDERS_TOTAL . ' ' . $orders['number_of_orders'] . '<br><br>';?> <?php echo $pls_separator_no_break;?> </div><div class="pls_margin pls_panel"> <?php echo '<h3>' . CATEGORY_TEMPORERY . '</h3><br>';?> <?php echo TEXT_CUSTOMMER_IP . ' ' . $ip_iprecorded . ': ' . $ip . ' <font color="#d10000"><strong>|</strong></font> ' . $isp_iprecorded . ': ' . $client . $pls_separator;?> <?php if ($cart->count_contents() > 0) { echo '<br><br>' . ENTRY_TEXT_CART_TOTAL . ' ' . $cart->count_contents() . ' ' . ENTRY_TEXT_CART_PRODUCTS . ' ' . $currencies->format($cart->show_total()) . $taxinfo_text . '<br><br>'; while ( $basket = tep_db_fetch_array($pls_basket_query)){ echo $basket['customers_basket_quantity'] . ' x ' . $basket['products_name'] . '<br>';} }else{ echo TEXT_NO_ITEMS_IN_CART; }?> </div> <div class="noprint"> <div class="pls_margin pls_panel"> <div class="buttonSet"><div align="center"> <?php echo tep_draw_button(IMAGE_BUTTON_VIEW_ACCOUNT, 'fa fa-vcard-o', tep_href_link(FILENAME_ACCOUNT));?> </div></div> <br> <div class="buttonSet"><div align="center"> <a href="javascript:printPage()"><?php echo tep_draw_button(IMAGE_BUTTON_PRINT_PAGE, 'fa fa-print', null, null, "Print", 'btn-reviews btn-block btn-lg');?> </div></div> </div> </div> </div> <p> <?php require(DIR_WS_INCLUDES . 'template_bottom.php'); require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> ************************************************* catalog/includes/languages/german/saved_data.php <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com ****************************************************************** saved_data.php - DSGVO http://pl-systeme.de TIPS & TRICKS FOR osCommerce 2.3.xx under: https://www.pl-systeme.de/surfcms.php?pg=1 2.3.4-1 Demoshop: https://www.pl-systeme.de/product_info.php?cPath=23&products_id=1 Bootstrap-Responsive Demoshop: https://www.pl-systeme.de/product_info.php?cPath=24&products_id=2 ****************************************************************** Copyright (c) 2010 osCommerce Released under the GNU General Public License */ define('HEADING_TITLE', 'Ihre bei uns gespeicherten Daten'); define('NAVBAR_TITLE', 'GDPR'); define('TEXT_CUSTOMMER_IP', 'Ihre IP-Adresse:'); define('TEXT_CUSTOMMER_IP_NO_SAVE', 'IP wird zur Zeit nicht gespeichert:'); define('CATEGORY_SITEINFO', 'Ihre Systeminformationen'); define('ENTRY_TEXT_ACCOUNT_CREATED', 'Kundenkonto eröffnet am:'); define('ENTRY_TEXT_AGREED_CONDITIONS', 'Kontoeröffnung mit Bestätigung von Datenschutz, Widerruf und AGB am:'); define('ENTRY_TEXT_LAST_AGREED_WITHDRAWAL', 'Letzte Widerrufsnutzung mit Widerrufsbelehrung am:'); define('ENTRY_TEXT_ACCOUNT_LAST_MODIFIED', 'Letzte Änderung Ihrer Kontodaten am:'); define('ENTRY_TEXT_LAST_LOGIN', 'Ihre letzte Anmeldung:'); define('ENTRY_TEXT_LOGIN_TOTAL', 'Anmeldungen total:'); define('ENTRY_TEXT_REVIEWS_TOTAL', 'Ihre geschriebenen Bewertungen:'); define('ENTRY_TEXT_ORDERS_TOTAL', 'Anzahl Ihrer bisherigen Bestellungen:'); define('ENTRY_TEXT_POINTS_TOTAL', 'Anzahl Ihrer Bonuspunkte:'); define('ENTRY_TEXT_POINTS_EXPIRES', 'Ablaufdatum:'); define('CATEGORY_TEMPORERY', 'Vorübergehend gespeichert'); define('ENTRY_TEXT_CART_TOTAL', 'Ihr Warenkorb:'); define('ENTRY_TEXT_CART_PRODUCTS', 'Artikel, im Gesamtwert von:'); define('TEXT_NO_ITEMS_IN_CART', 'Ihr Warenkorb ist leer'); define('ENTRY_TEXT_WISHLIST_TOTAL', 'Ihre Merkliste:'); define('ENTRY_TEXT_WISHLIST_PRODUCTS', 'Artikel, im Gesamtwert von:'); define('TEXT_WISHLIST_NO_ITEMS', 'Ihre Merkliste ist leer'); define('ENTRY_TEXT_TOTAL_NOTIFICATIONS', 'Produktnews:'); define('ENTRY_NOTIFICATIONS_YES', 'Abboniert'); define('ENTRY_NOTIFICATIONS_NO', 'Nicht abboniert'); define('SAVED_DATA_TEXT_MAIN_TITLE', 'Letzten hier ansehen '); define('TEXT_ORDER_PRODUCTS', 'Artikel:'); define('TEXT_ORDER_COST', 'Summe:'); define('TEXT_ORDER_DATE', 'Bestelldatum:'); define('TEXT_ORDER_SHIPPED_TO', 'Lieferanschrift:'); define('TEXT_ORDER_NUMBER', 'Bestellnummer:'); define('TEXT_NO_PURCHASES', 'Sie haben noch keine Bestellungen getätigt.'); define('IMAGE_BUTTON_VIEW_ACCOUNT', 'zum Kundenkonto'); define('IMAGE_BUTTON_PRINT_PAGE', 'Seite drucken'); define('TEXT_GDPR', ' Die Datenschutz-Grundverordnung (DSGVO) (Verordnung (EU) 2016/679) ist eine Verordnung, mit der das Europäische Parlament, der Rat der Europäischen Union und die Europäische Kommission den Datenschutz für alle Personen in der Europäischen Union stärken und vereinheitlichen wollen (EU). Die Datenschutz-Grundverordnung besagt, dass Sie Ihre persönlichen Informationen, die wir besitzen, überprüfen können. Wenn Sie EU-Bürger sind, können Sie die Löschung einiger dieser Daten beantragen. '); ?> ************************************************* INSTALL: Ein Bild namens: separator_pixel.gif Erstellen und in das catalog/images/ einspielen. ############################################### catalog/includes/filenames.php einfügen: define('FILENAME_DSGVO', 'saved_data.php'); ############################################### stylesheet.css am ende der Datei einfügen: .pls_alert-SiteContainer{background-color:#FFFFFF;border:solid 1px #CCCCCC;padding:8px;border-radius:4px 4px 0px 0px;} .pls_CartModuleHtgr{border:1px solid #FF6600;-moz-box-shadow: 2px 2px 3 #CCCCCC;-webkit-box-shadow: 2px 2px 0 #333333;box-shadow: 5px 2px 5 #000000;border-radius:4px 4px 0px 0px;background:#FFCC99 url() 100% 100% repeat-x;color:#000000;} .pls_margin{margin:10px;} .pls_panel{padding:20px;border:solid 1px #ccc;} ############################################### catalog/includes/languages/german.php einfügen: define('TIME_FORMAT_LONG', '%H:%M:%S'); define('TIME_FORMAT_SHORT', '%H:%M'); define('TIME_FORMAT_TEXT_WHAT', 'um'); define('TIME_FORMAT_TEXT_CLOCK', 'Uhr'); define('ENTRY_FIRST_NAME_TEXT', 'Ihr Vorname:'); define('ENTRY_LAST_NAME_TEXT', 'Ihr Nachname:'); define('TEXT_CUSTOMMER_NR', 'Kundennummer:'); define('ENTRY_STREET_ADDRESS_TEXT', 'Strasse und Hausnummer:'); define('ENTRY_POST_CODE_TEXT', 'Postleitzahl: / Ort:'); define('ENTRY_FIRST_NAME_TEXT', 'Ihr Vorname:'); define('ENTRY_FIRST_NAME_TEXT', 'Ihr Vorname:'); define('HEADING_IPRECORDED_1','HINWEIS! Die folgende IP Adresse und ISP wurde für Sicherheitszwecke aufgezeichnet.'); define('YOUR_IP_IPRECORDED', 'IP'); define('YOUR_ISP_IPRECORDED', 'ISP'); ############################################### catalog/includes/functions/general.php finden: if (@date('Y', mktime($hour, $minute, $second, $month, $day, $year)) == $year) { return date(DATE_FORMAT, mktime($hour, $minute, $second, $month, $day, $year)); } else { return preg_replace('/2037$/', $year, date(DATE_FORMAT, mktime($hour, $minute, $second, $month, $day, 2037))); } } danach einfügen: // Output a raw time string in the selected locale time format // $raw_date needs to be in this format: HH:MM:SS function tep_time_long($raw_date) { if ( ($raw_date == '0000-00-00 00:00:00') || ($raw_date == '') ) return false; $hour = (int)substr($raw_date, 11, 2); $minute = (int)substr($raw_date, 14, 2); $second = (int)substr($raw_date, 17, 2); return strftime(TIME_FORMAT_LONG, mktime($hour,$minute,$second)); } // Output a raw time string in the selected locale time format // $raw_date needs to be in this format: HH:MM function tep_time_short($raw_date) { if ( ($raw_date == '0000-00-00 00:00:00') || ($raw_date == '') ) return false; $hour = (int)substr($raw_date, 11, 2); $minute = (int)substr($raw_date, 14, 2); return strftime(TIME_FORMAT_SHORT, mktime($hour,$minute)); }
-
ansonsten diese: <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2014 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); require(DIR_WS_CLASSES . 'currencies.php'); $currencies = new currencies(); $oID = tep_db_prepare_input($HTTP_GET_VARS['oID']); $orders_query = tep_db_query("select o.orders_id, o.customers_id, a.entry_gender from " . TABLE_ORDERS . " o, " . TABLE_ADDRESS_BOOK . " a where o.customers_id = a.customers_id and orders_id = '" . (int)$oID . "'"); $cust= tep_db_fetch_array($orders_query); include(DIR_WS_CLASSES . 'order.php'); $order = new order($oID); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> </head> <body> <!-- body_text //--> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td> <td class="pageHeading" align="right"><?php echo tep_image(HTTP_CATALOG_SERVER . DIR_WS_CATALOG_IMAGES . 'store_logo.png', STORE_NAME); ?></td> </tr> </table></td> </tr> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td colspan="2"><?php echo tep_draw_separator(); ?></td> </tr> <tr> <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"><strong><?php echo ENTRY_SOLD_TO; ?></strong></td> </tr> <tr> <td class="main"><?php echo tep_address_format($order->customer['format_id'], $order->billing, 1, '', '<br />'); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '5'); ?></td> </tr> <tr> <td class="main"><?php echo $order->customer['telephone']; ?></td> </tr> <tr> <td class="main"><?php echo '<a href="mailto:' . $order->customer['email_address'] . '"><u>' . $order->customer['email_address'] . '</u></a>'; ?></td> </tr> </table></td> <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"><strong><?php echo ENTRY_SHIP_TO; ?></strong></td> </tr> <tr> <td class="main"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br />'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"><strong><?php echo ENTRY_PAYMENT_METHOD; ?></strong></td> <td class="main"><?php echo $order->info['payment_method']; ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent" colspan="2"><?php echo TABLE_HEADING_PRODUCTS; ?></td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCTS_MODEL; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_EXCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_INCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_EXCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_INCLUDING_TAX; ?></td> </tr> <?php for ($i = 0, $n = sizeof($order->products); $i < $n; $i++) { echo ' <tr class="dataTableRow">' . "\n" . ' <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . ' x</td>' . "\n" . ' <td class="dataTableContent" valign="top">' . $order->products[$i]['name']; if (isset($order->products[$i]['attributes']) && (($k = sizeof($order->products[$i]['attributes'])) > 0)) { for ($j = 0; $j < $k; $j++) { echo '<br /><nobr><small> <i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value']; if ($order->products[$i]['attributes'][$j]['price'] != '0') echo ' (' . $order->products[$i]['attributes'][$j]['prefix'] . $currencies->format($order->products[$i]['attributes'][$j]['price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ')'; echo '</i></small></nobr>'; } } echo ' </td>' . "\n" . ' <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n"; echo ' <td class="dataTableContent" align="right" valign="top">' . tep_display_tax_value($order->products[$i]['tax']) . '%</td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format($order->products[$i]['final_price'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax'], true), true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax'], true) * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n"; echo ' </tr>' . "\n"; } ?> <tr> <td align="right" colspan="8"><table border="0" cellspacing="0" cellpadding="2"> <?php for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) { echo ' <tr>' . "\n" . ' <td align="right" class="smallText">' . $order->totals[$i]['title'] . '</td>' . "\n" . ' <td align="right" class="smallText">' . $order->totals[$i]['text'] . '</td>' . "\n" . ' </tr>' . "\n"; } ?> </table></td> </tr> </table></td> </tr> </table> <?php echo INFO_TEXT_CUSTOMER_ID; ?> <?php echo $cust['customers_id'];?><br> <?php echo INFO_TEXT_ORDER_ID; ?> <?php echo $oID; ?> <!-- body_text_eof //--> <br /> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
-
Probier diese mal: <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2014 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); require(DIR_WS_CLASSES . 'currencies.php'); $currencies = new currencies(); $oID = tep_db_prepare_input($HTTP_GET_VARS['oID']); $orders_query = tep_db_query("select orders_id from " . TABLE_ORDERS . " where orders_id = '" . (int)$oID . "'"); include(DIR_WS_CLASSES . 'order.php'); $order = new order($oID); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html <?php echo HTML_PARAMS; ?>> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo TITLE; ?></title> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> </head> <body> <!-- body_text //--> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td> <td class="pageHeading" align="right"><?php echo tep_image(HTTP_CATALOG_SERVER . DIR_WS_CATALOG_IMAGES . 'store_logo.png', STORE_NAME); ?></td> </tr> </table></td> </tr> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td colspan="2"><?php echo tep_draw_separator(); ?></td> </tr> <tr> <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"><strong><?php echo ENTRY_SOLD_TO; ?></strong></td> </tr> <tr> <td class="main"><?php echo tep_address_format($order->customer['format_id'], $order->billing, 1, '', '<br />'); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '5'); ?></td> </tr> <tr> <td class="main"><?php echo $order->customer['telephone']; ?></td> </tr> <tr> <td class="main"><?php echo '<a href="mailto:' . $order->customer['email_address'] . '"><u>' . $order->customer['email_address'] . '</u></a>'; ?></td> </tr> </table></td> <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"><strong><?php echo ENTRY_SHIP_TO; ?></strong></td> </tr> <tr> <td class="main"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br />'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td><table border="0" cellspacing="0" cellpadding="2"> <tr> <td class="main"><strong><?php echo ENTRY_PAYMENT_METHOD; ?></strong></td> <td class="main"><?php echo $order->info['payment_method']; ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent" colspan="2"><?php echo TABLE_HEADING_PRODUCTS; ?></td> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCTS_MODEL; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_EXCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_INCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_EXCLUDING_TAX; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_INCLUDING_TAX; ?></td> </tr> <?php for ($i = 0, $n = sizeof($order->products); $i < $n; $i++) { echo ' <tr class="dataTableRow">' . "\n" . ' <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . ' x</td>' . "\n" . ' <td class="dataTableContent" valign="top">' . $order->products[$i]['name']; if (isset($order->products[$i]['attributes']) && (($k = sizeof($order->products[$i]['attributes'])) > 0)) { for ($j = 0; $j < $k; $j++) { echo '<br /><nobr><small> <i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value']; if ($order->products[$i]['attributes'][$j]['price'] != '0') echo ' (' . $order->products[$i]['attributes'][$j]['prefix'] . $currencies->format($order->products[$i]['attributes'][$j]['price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ')'; echo '</i></small></nobr>'; } } echo ' </td>' . "\n" . ' <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n"; echo ' <td class="dataTableContent" align="right" valign="top">' . tep_display_tax_value($order->products[$i]['tax']) . '%</td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format($order->products[$i]['final_price'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax'], true), true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . ' <td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax'], true) * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n"; echo ' </tr>' . "\n"; } ?> <tr> <td align="right" colspan="8"><table border="0" cellspacing="0" cellpadding="2"> <?php for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) { echo ' <tr>' . "\n" . ' <td align="right" class="smallText">' . $order->totals[$i]['title'] . '</td>' . "\n" . ' <td align="right" class="smallText">' . $order->totals[$i]['text'] . '</td>' . "\n" . ' </tr>' . "\n"; } ?> </table></td> </tr> </table></td> </tr> </table> <?php $pls_data_query = tep_db_query("select customers_id from ". TABLE_CUSTOMERS . " where customers_id = '" . $order->customer['customers_id'] . "'"); $pls_data = tep_db_fetch_array($pls_data_query); echo INFO_TEXT_CUSTOMER_ID; ?> <?php echo $pls_data['customers_id'];?><br> <?php echo INFO_TEXT_ORDER_ID; ?> <?php echo $oID; ?> <!-- body_text_eof //--> <br /> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
-
Setz doch die Abfrage nach customers_id als Kundennummer und Die Rechnungsnummer als Bestellnummer. $pls_data_query = tep_db_query("select customers_id from ". TABLE_CUSTOMERS . " where customers_id = '" . $order->customer['customers_id'] . "'"); $pls_data = tep_db_fetch_array($pls_data_query); <?php echo INFO_TEXT_CUSTOMER_ID; ?><?php echo $pls_data['customers_id'];?> | <?php echo INFO_TEXT_ORDER_ID; ?><?php echo $oID; ?> ************************************************** Sprachdatei: define('INFO_TEXT_CUSTOMER_ID', 'Kundennummer: '); define('INFO_TEXT_ORDER_ID', 'Rechnung/ Bestellnummer: ');
-
Hello people, ht_returns.php does not respond. The button does not appear in the account_history_info.php no matter what status the order has
-
Einfügen in die catalog/includes/template_top.php <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
-
Das ist ein Warenkorbmodul, geeignet für Bootstrap EDGE https://apps.oscommerce.com/jL1Ah&account-header-content-module
-
Payment Modules cannot be selected for installation
YePix replied to KarstenBoeer's topic in German Community's Allgemein
Schau mal als erstes ob alle Sprachdateien richtig im Sprachverzeichnis eingespielt worden sind. Sollte das nicht helfen, lösche den gesamten Inhalt im includes/modules/payment und spiele einzeln nacheinander deine Module ein. Sobald ein fehlerhaftes Modul installiert wird siehst du es an der weissen Seite und bist dem Problem näher. -
die Datei ist nicht vorhanden: includes/languages/german/modules/dashboard/d_paypal_app.php
-
Payment Modules cannot be selected for installation
YePix replied to KarstenBoeer's topic in German Community's Allgemein
Hi, ja. Welche osCommerce Version hast du installiert ? -
Hallo an alle, Habt Ihr gewusst, dass Programmierer die den Rechnungsmanager und die Möglichkeit im allgemeinen Rechnungen und die Rechnungsnummern zu manipulieren, in die Software einbinden sich der Beihilfe zu Steuerhinterziehung und somit genauso wie der Shopbetreiber strafbar machen ?
-
catalog/includes/modules/boxes/bm_information.php finden: $data = '<div class="ui-widget infoBoxContainer">' . ' <div class="ui-widget-header infoBoxHeading">' . MODULE_BOXES_INFORMATION_BOX_TITLE . '</div>' . ' <div class="ui-widget-content infoBoxContents">' . ' <a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . MODULE_BOXES_INFORMATION_BOX_SHIPPING . '</a><br />' . ' <a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . MODULE_BOXES_INFORMATION_BOX_PRIVACY . '</a><br />' . ' <a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . MODULE_BOXES_INFORMATION_BOX_CONDITIONS . '</a><br />' . ' <a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . MODULE_BOXES_INFORMATION_BOX_CONTACT . '</a>' . ' </div>' . '</div>'; ersätzen mit: $data = '<div class="ui-widget infoBoxContainer">' . ' <div class="ui-widget-header infoBoxHeading">' . MODULE_BOXES_INFORMATION_BOX_TITLE . '</div>' . ' <div class="ui-widget-content infoBoxContents">' . ' <a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . MODULE_BOXES_INFORMATION_BOX_SHIPPING . '</a><br />' . ' <a href="' . tep_href_link(FILENAME_IMPRESSUM) . '">' . MODULE_BOXES_INFORMATION_BOX_IMPRESSUM . '</a><br />' . ' <a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . MODULE_BOXES_INFORMATION_BOX_PRIVACY . '</a><br />' . ' <a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . MODULE_BOXES_INFORMATION_BOX_CONDITIONS . '</a><br />' . ' <a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . MODULE_BOXES_INFORMATION_BOX_CONTACT . '</a>' . ' </div>' . '</div>'; catalog/includes/filenames.php irgendwo einfügen: define('FILENAME_IMPRESSUM', 'impressum.php'); catalog/includes/languages/german/modules/boxes/bm_information.php irgendwo einfügen: define('MODULE_BOXES_INFORMATION_BOX_IMPRESSUM', 'Impressum'); Die Impressum Seite an sich nicht vergessen
-
Startseite-Button auf externe Seite verlinken
YePix replied to fraberfel's topic in German Community's OSCOM v2.x
// include the breadcrumb class and start the breadcrumb trail require(DIR_WS_CLASSES . 'breadcrumb.php'); $breadcrumb = new breadcrumb; $breadcrumb->add(HEADER_TITLE_TOP, tep_href_link('http://www.xyz123.de')); $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT));