Jump to content

YePix

Members
  • Content count

    273
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by YePix

  1. Du kannse es beispielsweise auch so lösen: if (ACCOUNT_GENDER == 'true') { if ($gender == 'm') { $email_text = sprintf(EMAIL_GREET_MR, $lastname); } else { $email_text = sprintf(EMAIL_GREET_MS, $lastname); } } else { $email_text = sprintf(EMAIL_GREET_NONE, $firstname); } Beachte zu dem die Anpassung in der Sprachdatei define('EMAIL_GREET_NONE', 'Guten Tag ' . stripslashes($HTTP_POST_VARS['firstname''lastname]) . ',' . "\n\n"); Erfolg: Gibt weisse Seite aus, sonst nichts. ist ja klar, hier fehlt etwas. Du musst dir erstmal ansehen wie die Variablen für Vor- und Nachname definiert werden und wie diese in der Datenbank abgrspeichert werden. Erst dann kannst du die richtige Formatierung für die E-Mail vornehmen
  2. Immer eine Datenbanksicherung durchführen bevor du etwas daran änderst ;)
  3. Hi, hier deine Version downloaden: https://www.oscommerce.com/Products Schau dir die SQL-Datei an, da sind alle Länder verfügbar. Entsprechende Tabelleninhalte importieren und fertig.
  4. Hi, also bis jetzt hat sich da nichts wirklich getan. Standard Software, sonst nichts. Ich glaube nicht so recht, dass du es nach deinem Vorhaben so umsätzen kannst wie es beschrieben wurde.
  5. YePix

    attribute prices

    You can solve the problem with cross sell. rewrite the module a little and assign appropriate attributes to the respective product. you will then have two products, but the customer can simply switch between them.
  6. YePix

    Advice needed on shipping module

    look at this. should be exactly what you need. is German but you can translate that. https://apps.oscommerce.com/Apfpj&inselzuschlag
  7. Ja, dann hast du noch die originalversion installiert. Ich halte derzeit nicht sehr viel von der phoenix weil du mind. 1 Jahr brauchen wirst um diese optimal auf unsere Vorgaben in der EU einzustellen. Zudem gibt es immer wieder neue updates die sehr lästig sind wenn man eine eigene Interpretation haben möchte. Ich kann dir nur empfehlen, gut zu überlegen was du haben möchtest und erst entscheiden womit du klarkommst. Instaliere xampp auf deinem Rechner und somit kannst du deine jetzige software intern mit php 7.4 testen Sollte es Fehler geben findest du die Lösungen hier im Forum.
  8. Es war mal auf github vom gburton. frag mal beim Gary einfach mal nach ob diese bereits überschrieben wurden oder ob die updates für die EDGE noch irgendwo existieren
  9. Ist das die Bootstrap oder die alte version von osCommerce ? So oder so musst du alle notwendigen updates vornehmen.
  10. I would recommend the bottstrap and whether you take edge or the phoenix is not important. Both versions require a lot of work for the EU use to be able to go online with them.
  11. Hi guys, I need your help. I would like to switch off the delivery module automatically if certain postal code is not available in the database. can you tell me how I have to do the query so that the module delivery is only available if the existing postal code is actually in the database
  12. I would like to do so but my shop is so heavily modified that it would make no sense to post it here in the forum. for me, all modules and countless individual pages are connected to each other and only partially modularly programmed. Sorry
  13. I've already done everything. I was just missing a kick. but thanks anyway.
  14. YePix

    Falsche Darstellung

    Am besten deinstalieren und erneut die Installation vornehmen. Ansonsten die entsprechenden Pfade überprüffen
  15. Hi folks, how did you solve that with the "priceValidUntil"? Google wants to know the price date. But if the price stays the same, what do I give to make the search engine happy?
  16. YePix

    mod rewrite Url htaccess

    Schau mal hier rein
  17. Hi, yes it is already clear. My code is based on all prices incl. And excl. VAT. The assumption is the use of ajax attribute price change https://apps.oscommerce.com/1HBzP&ajax-attribute-price-change
  18. Hi guys, I want a page with bundled xsell products. Everything is good so far only sometimes when updating the page, the product names of the sub-products are reversed. here is the page. Maybe someone of you has an idea to do something better? <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); require('includes/languages/' . $language . '/xsell_bundles.php'); $breadcrumb->add(NAVBAR_TITLE, tep_href_link('xsell_bundles.php')); require('includes/template_top.php'); ?> <div class="thumbnail equal-height"> <h1><div class="pls_Textmargin"><?php echo HEADING_TITLE; ?></div></h1> <div class="panel-heading" itemprop="name"> <div class="row"> <?php echo TEXT_INFORMATION; ?> <div class="pls_PB10"></div></div> <?php $product_query = tep_db_query("select pd.products_id, pd.products_name, px.products_id from products_xsell px left join products p on px.products_id = p.products_id, products_description pd where px.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and p.products_status = '1' order by pd.products_name and px.products_id ASC"); $xsell_product_query = tep_db_query("select pd.products_name as name, px.xsell_id from products_xsell px left join products p on px.xsell_id = p.products_id, products_description pd where px.xsell_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "' and p.products_status = '1' order by pd.products_name and px.products_id"); if (tep_db_num_rows($product_query) == 0) { echo '<div class="pls_PB10DRK pls_BgrYel">'; echo DISCOUNT_HEADING_TITLE_FOR_INFO_GIFT_NO_PRODUCTS; echo '</div>'; }else{ while ($top_product = tep_db_fetch_array($product_query)) { $xsell_product = tep_db_fetch_array($xsell_product_query); echo '<div class="sideline_red pls_PB10RED pls_BgrYel">'; echo '<div class="pls_PB5 col-sm-4">Hauptartikel:<br><a href="' . tep_href_link('product_info.php', 'products_id=' . $top_product['products_id']). '">' . $top_product['products_name'] . '</a><br><a href="' . tep_href_link('product_info.php', 'products_id=' . $top_product['products_id']) . '" class="btn btn-success btn-index btn-xs" role="button">' . SMALL_IMAGE_BUTTON_VIEW_BOXES . '</a></div>'; echo '<div class="pls_PB5 col-sm-4">Gruppenartikel:<br><a href="' . tep_href_link('product_info.php', 'products_id=' . $xsell_product['xsell_id']). '">' . $xsell_product['name'] . '</a><br><a href="' . tep_href_link('product_info.php', 'products_id=' . $xsell_product['xsell_id']) . '" class="btn btn-success btn-index btn-xs" role="button">' . SMALL_IMAGE_BUTTON_VIEW_BOXES . '</a></div>'; echo '<div class="clearfix"></div></div>'; } } ?> <div class="clearfix"></div><div class="pls_PB10"></div> <div class="contentContainer"> <div class="buttonSet"> <div class="text-right"><?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'fa fa-angle-right', tep_href_link('index.php')); ?></div> </div> </div> </div> </div> <?php require('includes/template_bottom.php'); require('includes/application_bottom.php'); ?>
  19. for all who use ajax_onchange_price.php. Output of the prices net and gross including price change for attributes ajax_onchange_price.php find this code $products_price = $currencies->display_price($modified_price, tep_get_tax_rate($product_info_ajx['products_tax_class_id'])); and replace with $products_price = '<div><font color="#666666"> ( '; $products_price .= $currencies->display_price($modified_price, ''); $products_price .= TAX_INFO_OFF . ' )</font></div>'; $products_price .= $currencies->display_price($modified_price, tep_get_tax_rate($product_info_ajx['products_tax_class_id']));
  20. YePix

    printing invoice on compact printer

    look here https://www.google.com/search?client=firefox-b-d&amp;q=Google+Cloud+Print
  21. YePix

    GitHub Crashkurs

    Schau mal hier rein https://t3n.de/news/github-fuer-einsteiger-ersten-schritte-762760/
  22. Well, at least in the EU, that will not work. Here are the laws a little different than elsewhere. In Germany, there would be a massive increase in court proceedings
  23. YePix

    Weekly sales reporting in admin help needed

    or just add this line. As far as I have seen in ot_subtotal no discounts shipping costs or anything else. So the net price.
×