Jump to content

YePix

Members
  • Content count

    217
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by YePix

  1. 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: ');
  2. 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
  3. Only in german https://www.datenschutz.org/telefonnummer/ https://www.datenschutz.org/eu-datenschutzgrundverordnung/
  4. Did you know that the phone number and IP can not be stored? The IP only Temporarily and only in conjunction with order yes, but the phone number is taboo for general merchants. Unless you have a delivery service.
  5. Das ist ein Warenkorbmodul, geeignet für Bootstrap EDGE https://apps.oscommerce.com/jL1Ah&amp;account-header-content-module
  6. YePix

    Header content Modul

    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">
  7. 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.
  8. YePix

    Paypal Fehlermeldungen

    die Datei ist nicht vorhanden: includes/languages/german/modules/dashboard/d_paypal_app.php
  9. Hi, ja. Welche osCommerce Version hast du installiert ?
  10. 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 ?
  11. Ich würde sagen, dass es dafür dieses Forum gibt um Fragen zu stellen und um Hilfestellung zu bekommen. Es ist hier kein Kommerzielles Forum.
  12. YePix

    edit privacy.php

    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
  13. // 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));
  14. Hello Reiner, that's exactly what it's about. I looked at the file and this function already exists. I can not say how the additional costs can be paid with points so that the bill is at 0.00 if ( tep_not_null(MODULE_HEADER_TAGS_POINTS_REWARDS_POINTS_RESTRICTION_PATH) && !tep_not_null(MODULE_HEADER_TAGS_POINTS_REWARDS_POINTS_RESTRICTION_PID) ) { $path_points = 0; for ($i=0; $i<sizeof($order->products); $i++) { $cat_ids = explode("[,]", MODULE_HEADER_TAGS_POINTS_REWARDS_POINTS_RESTRICTION_PATH); $sub_cat_ids = explode("[_]", tep_get_product_path($order->products[$i]['id'])); for ($iii = 0; $iii < count($sub_cat_ids); $iii++) { for ($ii = 0; $ii < count($cat_ids); $ii++) { if ($sub_cat_ids[$iii] == $cat_ids[$ii]) { $path_points = ($order->products[$i]['price']*$order->products[$i]['qty'])+($order->info['shipping_cost']+$order->info['tax']); $max_points = $path_points/MODULE_HEADER_TAGS_POINTS_REWARDS_POINTS_REDEEM_POINT_VALUE; } } } } }
  15. Unfortunately does not work. could it be that the module is loaded directly from the order_total directory?
  16. in contrast, I want that the island surcharge is also paid with points
  17. Ok, thanks Reiner that makes sense, too. This module is for island surcharges. That is, should this surcharge be calculated because the customer lives in a certain place where an extra flat rate is calculated so this flat rate will not be charged with points but remains on the bill as a cash payment
  18. Hello, what can it be, if the customer has selected to pay with points but wants later to use cash. The module can no longer switch to cash. you have to log out first and log in again so that the payment method can be changed Here I still have a module for delivery surcharge but in spite of payment with points is not included and is to be paid at the end total. did temand have a tip for me? <?php /* $Id: ot_inselzuschlag.php,v 2.07 2008/02/19 19:24:11 dabri Exp $ erstellt von: dabri - Daniel Brinkmann Forum: http://forums.oscommerce.de/index.php?showtopic=18397 osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ class ot_inselzuschlag { var $title, $output; function ot_inselzuschlag() { $this->code = 'ot_inselzuschlag'; $this->title = MODULE_ORDER_TOTAL_INSELZUSCHLAG_TITLE; $this->description = MODULE_ORDER_TOTAL_INSELZUSCHLAG_DESCRIPTION; $this->enabled = ((MODULE_ORDER_TOTAL_INSELZUSCHLAG_STATUS == 'true') ? true : false); $this->sort_order = MODULE_ORDER_TOTAL_INSELZUSCHLAG_SORT_ORDER; $this->output = array(); } function process() { global $order, $currencies, $cart; switch (MODULE_ORDER_TOTAL_INSELZUSCHLAG_DESTINATION) { case 'national': if ($order->delivery['country_id'] == STORE_COUNTRY) $pass = true; break; case 'international': if ($order->delivery['country_id'] != STORE_COUNTRY) $pass = true; break; case 'both': $pass = true; break; default: $pass = false; break; } // Variable f?r die Postleitzahl (PLZ) $qResult = tep_db_query("select insel_plz, insel_name, insel_country, insel_fee, insel_step from " . TABLE_INSELPLZ . " WHERE '" . $order->delivery['postcode'] . "' BETWEEN insel_plz AND insel_plz_end AND insel_country = '" . $order->delivery['country_id'] . "'"); $rec = tep_db_fetch_array($qResult); // get the first row of the result $plz_id = $rec['insel_plz']; /* if ( $plz_id == '' ){ $pass = false; } */ if (( $plz_id == '' ) || ($GLOBALS['shipping']['id'] == 'pickup_pickup')) { $pass = false; } if ( $pass == true ) { // Preis fuer Gewicht ermitteln $insel_cost = preg_split("/[:,]/" , $rec['insel_fee']); if ($cart->show_weight() > $insel_cost[count ($insel_cost)-2]) { $inselfee = ($cart->show_weight()-$insel_cost[count ($insel_cost)-2])* $rec['insel_step'] +$insel_cost[count ($insel_cost)-1]; } for ($i = 0; $i < count($insel_cost); $i+=2) { if ($cart->show_weight() <= $insel_cost[$i]) { $inselfee = $insel_cost[$i+1]; break; } } $tax = tep_get_tax_rate(MODULE_ORDER_TOTAL_INSELZUSCHLAG_TAX_CLASS, $order->delivery['country']['id'], $order->delivery['zone_id']); $tax_description = tep_get_tax_description(MODULE_ORDER_TOTAL_INSELZUSCHLAG_TAX_CLASS, $order->delivery['country']['id'], $order->delivery['zone_id']); $order->info['tax'] += tep_calculate_tax($inselfee, $tax); $order->info['tax_groups']["$tax_description"] += tep_calculate_tax($inselfee, $tax); $order->info['total'] += $inselfee + tep_calculate_tax($inselfee, $tax); $this->output[] = array('title' => $this->title . ':', 'text' => $currencies->format(tep_add_tax($inselfee, $tax), true, $order->info['currency'], $order->info['currency_value']), 'value' => tep_add_tax($inselfee, $tax)); } } function check() { if (!isset($this->_check)) { $check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_ORDER_TOTAL_INSELZUSCHLAG_STATUS'"); $this->_check = tep_db_num_rows($check_query); } return $this->_check; } function keys() { return array('MODULE_ORDER_TOTAL_INSELZUSCHLAG_STATUS', 'MODULE_ORDER_TOTAL_INSELZUSCHLAG_SORT_ORDER', 'MODULE_ORDER_TOTAL_INSELZUSCHLAG_DESTINATION', 'MODULE_ORDER_TOTAL_INSELZUSCHLAG_TAX_CLASS'); } function install() { tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Inselzuschlag anzeigen', 'MODULE_ORDER_TOTAL_INSELZUSCHLAG_STATUS', 'true', 'Wollen Sie den Inselzuschlag anzeigen lassen?', '6', '1','tep_cfg_select_option(array(\'true\', \'false\'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Reihenfolge', 'MODULE_ORDER_TOTAL_INSELZUSCHLAG_SORT_ORDER', '4', 'Reihenfolge bei den Order-Total Modulen.', '6', '2', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Inselzuschlag f?r Bestellungen aus folgenden Regionen', 'MODULE_ORDER_TOTAL_INSELZUSCHLAG_DESTINATION', 'both', 'Berechnung des Inselzuschlages bei folgenden Gebieten.', '6', '6', 'tep_cfg_select_option(array(\'national\', \'international\', \'both\'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Steuerklasse', 'MODULE_ORDER_TOTAL_INSELZUSCHLAG_TAX_CLASS', '0', 'Folgende Steuerklasse fuer Inselzuschlag verwenden.', '6', '7', 'tep_get_tax_class_title', 'tep_cfg_pull_down_tax_classes(', now())"); } function remove() { tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')"); } } ?>
  19. Hello John, I'm sorry. With the German was my mistake. Thank you for the help. I managed it.
  20. After the update, the buttons for editing and deleting as well as the statistics on the right will not be displayed at all. what could that be?
  21. YePix

    [Addon] Store Times BS

    Hi @burt, give me more information about the module. I already have interest.
  22. YePix

    [Addon] Store Times BS

    Too bad but thanks anyway is a great contrib
  23. YePix

    [Addon] Store Times BS

    Hello everyone is there a possibility to enter the opening times in two stages? Monday 12:00 - 14:00 / 17:00 - 23:00
  24. Hi Chris, code is from here: KLICK HERE ... Problem wit this code you can insert text into DB and the invoice show text becose for all customers. I like text for single customer. I know in this SQL must customer_id and text_id for the query and the query look for text on invioce with customer_id and text_id and show this. DROP TABLE IF EXISTS `edit_invoice`; CREATE TABLE `edit_invoice` ( `edit_invoice_id` tinyint(3) unsigned NOT NULL default '0', `language_id` tinyint(3) unsigned NOT NULL default '1', `edit_invoice_text` text, PRIMARY KEY (`edit_invoice_id`,`language_id`), KEY `status_id` (`edit_invoice_id`) ) TYPE=MyISAM; I think ist very good for you Contribution. Sorry for my english ;-o).
×