Neueste Nachrichten (in Englisch): (am laden..)

Yepi

Members
  • Gesamte Inhalte

    888
  • Benutzer seit

  • Letzter Besuch

Ansehen in der Community

1 Neutral

Über Yepi

  1. E-Mailversand an Kunden

    Also, sollte bei jemanden der Mailempfang über Google nicht funktionieren so einfach das Mailkonto im Shop mit dem Gmailkonto bei Google über die Einstellungen verbinden und somit kommen alle Emails an. Habe lange gesucht aber gefunden. Somit ist das Thema abgeschlossen.
  2. Warenkorb teilweise ausblenden

    habs hinbekommen. hier der geänderter code: $new_prods_content .= '<div class="footerProducto">'; if($new_products['products_quantity']>0) { $new_prods_content .= ' <div style="float:right; padding-top: 0px">' . tep_draw_button(IMAGE_BUTTON_BUY_NOW, 'cart', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $new_products['products_id'])). tep_draw_button(IMAGE_BUTTON_PROD_DETAILS, 'help', tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '' ); }else{ $new_prods_content .= ' <div style="float:right; padding-top: 0px">' . tep_draw_button(IMAGE_BUTTON_PROD_QUESTION_DETAILS, 'help', tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '' ); } ************************************************************* Hier noch mal die advanced_search_result.php in der query fehlt die Abfrage: p.products_quantity ohne diese Abfrage werden bei mir alle Produkte mit dem Anfragebutton ausgegeben. Suchen nach: $select_str = "select distinct " . $select_column_list . " m.manufacturers_id, p.products_id, ersätzen mit: $select_str = "select distinct " . $select_column_list . " m.manufacturers_id, p.products_id, p.products_quantity, Jetzt sollte alles funktionieren und nur das Produkt das angefragt werden soll auch mt diesem Button erscheint. Tolle Arbeit @BoniChipsy
  3. Bei dieser version ist die curencies.php so verpfuscht dass ich diese wieder abgestossen habe. Die deutsche version im netz.
  4. Warenkorb teilweise ausblenden

    Hast du ne idee wie ich es hier in das modul new_products einbinde ? Mein code: $new_prods_content .= ' <div style="float:right; padding-top: 0px">' . tep_draw_button(IMAGE_BUTTON_BUY_NOW, 'cart', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $new_products['products_id'])). tep_draw_button(IMAGE_BUTTON_PROD_DETAILS, 'help', tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '' ); danke im voraus.
  5. Newsletter

    hier das Modul: <?php /* $Id: newsletter_products.php,v 2.0 2007/05/17 scottyb Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License //newsletter products */ class newsletter_products { function newsletter_products($title, $content, $products, $template) { $this->title = $title; $this->content = $content; $this->products = $products; $this->template = $template; } function choose_products() { global $HTTP_GET_VARS, $languages_id; //first let's get the products that have been added to newsletter if ($HTTP_GET_VARS['nID']) { $newsletter_products_query = tep_db_query("select products_id from " . TABLE_NEWSLETTERS_TO_PRODUCTS . " where newsletters_id ='" . (int)$HTTP_GET_VARS['nID'] . "'"); $newsletter_products_string = ''; while($newsletter_products = tep_db_fetch_array($newsletter_products_query)){ $newsletter_products_string .= $newsletter_products['products_id'] . ', '; } $newsletter_products_string = trim($newsletter_products_string, ', '); //$newsletter_products_string = tep_db_result($newsletter_products_query, 0, $newsletter_products_query['products']); $current_products_query = "select pd.products_id, pd.products_name, p.products_model from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where pd.language_id = '" . (int)$languages_id . "' and pd.products_id = p.products_id and p.products_status = '1'"; if($newsletter_products_string) $current_products_query .= " and pd.products_id in (" . $newsletter_products_string . ")"; $current_products_query .= " order by pd.products_name"; $current_products_query = tep_db_query($current_products_query); } if($newsletter_products_string){ $current_products_array = array(); while ($current_products = tep_db_fetch_array($current_products_query)){ $current_products_array[] = array('id' => $current_products['products_id'], 'text' => $current_products['products_name'] . ' - ' . $current_products['products_model']); } } $products_query = "select pd.products_id, pd.products_name, p.products_model from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where pd.language_id = '" . (int)$languages_id . "' and pd.products_id = p.products_id and p.products_status = '1'"; if ($newsletter_products_string) $products_query .= " and pd.products_id not in(" . $newsletter_products_string . ")"; $products_query .= " order by pd.products_name"; $products_array = array(); $products_query = tep_db_query($products_query); while ($products = tep_db_fetch_array($products_query)) { $products_array[] = array('id' => $products['products_id'], 'text' => $products['products_name'] . ' - ' . $products['products_model']); } $choose_products_string = '<script language="javascript"><!-- function mover(move) { if (move == \'remove\') { for (x=0; x<(document.newsletter.products.length); x++) { if (document.newsletter.products.options[x].selected) { with(document.newsletter.elements[\'chosen[]\']) { options[options.length] = new Option(document.newsletter.products.options[x].text,document.newsletter.products.options[x].value); } document.newsletter.products.options[x] = null; x = -1; } } } if (move == \'add\') { for (x=0; x<(document.newsletter.elements[\'chosen[]\'].length); x++) { if (document.newsletter.elements[\'chosen[]\'].options[x].selected) { with(document.newsletter.products) { options[options.length] = new Option(document.newsletter.elements[\'chosen[]\'].options[x].text,document.newsletter.elements[\'chosen[]\'].options[x].value); } document.newsletter.elements[\'chosen[]\'].options[x] = null; x = -1; } } } return true; } function selectAll(FormName, SelectBox) { temp = "document." + FormName + ".elements[\'" + SelectBox + "\']"; Source = eval(temp); for (x=0; x<(Source.length); x++) { Source.options[x].selected = "true"; } } //--></script>'; $choose_products_string .= '<table border="0" width="100%" cellspacing="0" cellpadding="2">' . "\n" . ' <tr>' . "\n" . ' <td align="center" class="main"><strong>' . TEXT_PRODUCTS . '</strong><br />' . tep_draw_pull_down_menu('products', $products_array, '', 'size="20" style="width: 32em;" multiple') . '</td>' . "\n" . ' <td align="center" class="main">&nbsp;<br /><br /><input type="button" value="' . BUTTON_SELECT . '" style="width: 8em;" onClick="mover(\'remove\');"><br /><br /><input type="button" value="' . BUTTON_UNSELECT . '" style="width: 8em;" onClick="mover(\'add\');"></td>' . "\n" . ' <td align="center" class="main"><strong>' . TEXT_SELECTED_PRODUCTS . '</strong><br />' . tep_draw_pull_down_menu('chosen[]', $current_products_array, '', 'size="20" style="width: 25em;" multiple') . '</td>' . "\n" . ' </tr>' . "\n" . '</table>'; return $choose_products_string; } function productInfo(){ global $languages_id; $this->productInfo = array(); $p_string = ''; for($i=0, $n=sizeof($this->products); $i<$n; $i++){ $p_string .= $this->products[$i] . ', '; } $p_string = trim($p_string, ', '); $product_query = tep_db_query("select p.products_id, pd.products_name, p.products_image, p.products_price, p.products_tax_class_id, if(s.status, s.specials_new_products_price, NULL) as specials_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd left join (select * from (select products_id, specials_new_products_price, expires_date, status from " . TABLE_SPECIALS . " where status = 1 order by products_id, specials_new_products_price, expires_date) as t group by products_id) as s on pd.products_id = s.products_id where pd.products_id = p.products_id and p.products_id in(" . $p_string . ") and pd.language_id=" . (int)$languages_id . " order by products_name"); //$this->productsInfo = array(); while($product = tep_db_fetch_array($product_query)){ $this->productsInfo[] = array('products_id' => $product['products_id'], 'products_name' => $product['products_name'], 'products_image' => $product['products_image'], 'products_price' => $product['products_price'], 'specials_price' => $product['specials_price'], 'products_tax_class_id' => $product['products_tax_class_id']); } } function html_content() { global $currencies, $languages_id; //create HTML string containing links & pics //define product columns here define('COLS', 2); $width = intval(100/COLS); $html_content = '<table border="0" width="100%" cellpadding="" cellspacing="3"><tr>'; $col = 0; $this->productInfo(); //change html body styles here $cssPrice = 'color: #000000;'; $cssSale = 'color: #ff0000;'; $cssMarkdown = 'color: #000000; text-decoration: line-through'; $cssLink = 'color: #ff0000; text-decoration: none'; for ($i=0, $n=sizeof($this->productsInfo); $i<$n; $i++) { if ($col > COLS-1) { $html_content .= '</tr><tr><td align="center" width="' . $width . '%"><a href="' . tep_catalog_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $this->productsInfo[$i]['products_id']) . '" target="_blank" style="' . $cssLink . '">' . tep_image(HTTP_CATALOG_SERVER . DIR_WS_CATALOG_IMAGES . $this->productsInfo[$i]['products_image'], $this->productsInfo[$i]['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '<br />' . $this->productsInfo[$i]['products_name'] . '</a><br />'; $price = ($this->productsInfo[$i]['specials_price']) ? '<span style="'. $cssMarkdown . '">' . $currencies->display_price($this->productsInfo[$i]['products_price'], tep_get_tax_rate($this->productsInfo[$i]['products_tax_class_id'])) . '</span>&nbsp;&nbsp;<span style="' . $cssSale . '">' . $currencies->display_price($this->productsInfo[$i]['specials_price'], tep_get_tax_rate($this->productsInfo[$i]['products_tax_class_id'])) . '</span>' : '<span style="' . $cssPrice . '">' . $currencies->display_price($this->productsInfo[$i]['products_price'], tep_get_tax_rate($this->productsInfo[$i]['products_tax_class_id'])) . '</span>'; $html_content .= $price . '</td>'; $col = 0; } else { $html_content .= '<td align="center" width="' . $width . '%"><a href="' . tep_catalog_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $this->productsInfo[$i]['products_id']) . '" target="_blank" style="' . $cssLink . '">' . tep_image(HTTP_CATALOG_SERVER . DIR_WS_CATALOG_IMAGES . $this->productsInfo[$i]['products_image'], $this->productsInfo[$i]['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '<br />' . $this->productsInfo[$i]['products_name'] . '</a><br />'; $price = ($this->productsInfo[$i]['specials_price']) ? '<span style="' . $cssMarkdown . '">' . $currencies->display_price($this->productsInfo[$i]['products_price'], tep_get_tax_rate($this->productsInfo[$i]['products_tax_class_id'])) . '</span>&nbsp;&nbsp;<span style="' . $cssSale . '">' . $currencies->display_price($this->productsInfo[$i]['specials_price'], tep_get_tax_rate($this->productsInfo[$i]['products_tax_class_id'])) . '</span>' : '<span style="' . $cssPrice . '">' . $currencies->display_price($this->productsInfo[$i]['products_price'], tep_get_tax_rate($this->productsInfo[$i]['products_tax_class_id'])) . '</span>'; $html_content .= $price . '</td>'; } $col++; } //uncomment & create your unsubscribe link in your includes/languages/YOUR LANGUAGE/modules/newsletters/newsletter_products.php $html_content .= '</tr><tr><td colspan="' . COLS . '">' . TEXT_UNSUBSCRIBE . '</td></tr></table>'; if(tep_not_null($this->template)){ //HTML page from template //$content = join('', file(DIR_WS_TEMPLATES . $this->template)); $content = file_get_contents(DIR_WS_TEMPLATES . $this->template); //remove all line breaks and spaces in template to ensure no spaces resulting from email class $content = str_replace("\n", '', $content); $content = str_replace("\r", '', $content); //$content = str_replace('> ', '>', $content); $content = addslashes($content); $email_title = $this->title; $email_message = nl2br($this->content); $text_content = $this->content; eval ("\$content = \"$content\";"); $html_content = $content; } return $html_content; } function text_content(){ global $currencies, $languages_id; $text_content = $this->content . "\r\n\r\n"; //var_dump($this->productsInfo); for($i=0, $n=sizeof($this->productsInfo); $i<$n; $i++){ $text_content .= $this->productsInfo[$i]['products_name'] . ' '; $price = ($this->productsInfo[$i]['specials_price']) ? 'Sale Price: ' . $currencies->display_price($this->productsInfo[$i]['specials_price'], tep_get_tax_rate($this->productsInfo[$i]['products_tax_class_id'])) . ' Down from: ' . $currencies->display_price($this->productsInfo[$i]['products_price'], tep_get_tax_rate($this->productsInfo[$i]['products_tax_class_id'])) : $currencies->display_price($this->productsInfo[$i]['products_price'], tep_get_tax_rate($this->productsInfo[$i]['products_tax_class_id'])); $text_content .= $price . "\n"; $text_content .= tep_catalog_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $this->productsInfo[$i]['products_id']) . "\r\r"; } //uncomment & create your unsubscribe link in your includes/languages/YOUR LANGUAGE/modules/newsletters/newsletter_products.php $text_content .= "\r\r" . TEXT_UNSUBSCRIBE; return strip_tags(str_replace(array('<p>', '</p>', '<br>', '<br />', '<br/>', '<ul>', '<li>', '</ul>'), "\n", $text_content)); } function confirm() { global $HTTP_GET_VARS; $mail_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS . " where customers_newsletter = '1'"); $mail = tep_db_fetch_array($mail_query); $confirm_string = '<table border="0" cellspacing="0" cellpadding="2">' . "\n" . ' <tr>' . "\n" . ' <td class="main" style="font-weight: bold; color: red">' . sprintf(TEXT_COUNT_CUSTOMERS, $mail['count']) . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main" style="font-weight: bold">' . $this->title . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main">' . $this->text_content() . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="main">' . $this->html_content() . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td>' . tep_draw_separator('pixel_trans.gif', '1', '10') . '</td>' . "\n" . ' </tr>' . "\n" . ' <tr>' . "\n" . ' <td class="smallText" align="right">' . tep_draw_button(IMAGE_SEND, 'mail-closed', tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $HTTP_GET_VARS['nID'] . '&action=confirm_send'), 'primary') . tep_draw_button(IMAGE_CANCEL, 'close', tep_href_link(FILENAME_NEWSLETTERS, 'page=' . $HTTP_GET_VARS['page'] . '&nID=' . $HTTP_GET_VARS['nID'])) . '</td>' . "\n" . ' </tr>' . "\n" . '</table>'; return $confirm_string; } function send($newsletter_id) { $mail_query = tep_db_query("select customers_firstname, customers_lastname, customers_email_address from " . TABLE_CUSTOMERS . " where customers_newsletter = '1'"); //create id for current mailing $messageId = "Message-Id: <" . time() . "@" . $_SERVER['SERVER_NAME'] . ">"; $mimemessage = new email(array('X-Mailer: osCommerce bulk mailer', $messageId)); //$mimemessage->add_text($this->content); //$text = $this->text_content(); $mimemessage->add_html($this->html_content(), $this->text_content(), HTTP_CATALOG_SERVER . DIR_WS_CATALOG_IMAGES); $mimemessage->build_message(); while ($mail = tep_db_fetch_array($mail_query)) { $mimemessage->send($mail['customers_firstname'] . ' ' . $mail['customers_lastname'], $mail['customers_email_address'], '', EMAIL_FROM, $this->title, 'Return-Path: ' . EMAIL_FROM); } $newsletter_id = tep_db_prepare_input($newsletter_id); tep_db_query("update " . TABLE_NEWSLETTERS . " set date_sent = now(), status = '1' where newsletters_id = '" . tep_db_input($newsletter_id) . "'"); } } ?>
  6. Newsletter

    Ok. Part 1 gelöst. update vom status funzt wieder. <?php } elseif ($action == 'confirm_send') { $nID = tep_db_prepare_input($HTTP_GET_VARS['nID']); //newsletter products $newsletter_query = tep_db_query("select newsletters_id, title, content, module, template from " . TABLE_NEWSLETTERS . " where newsletters_id = '" . (int)$nID . "'"); $newsletter_products_query = tep_db_query("select products_id from " . TABLE_NEWSLETTERS_TO_PRODUCTS . " where newsletters_id = '" . (int)$nID . "'"); while($newsletter_products = tep_db_fetch_array($newsletter_products_query)){ $news_products[] = $newsletter_products['products_id']; } $newsletter = tep_db_fetch_array($newsletter_query); $newsletter['products'] = $news_products; //end newsletter products $nInfo = new objectInfo($newsletter); include(DIR_WS_LANGUAGES . $language . '/modules/newsletters/' . $nInfo->module . substr($PHP_SELF, strrpos($PHP_SELF, '.'))); include(DIR_WS_MODULES . 'newsletters/' . $nInfo->module . substr($PHP_SELF, strrpos($PHP_SELF, '.'))); $module_name = $nInfo->module; //newsletter products if($nInfo->module == 'newsletter_products') { $module = new $module_name($nInfo->title, $nInfo->content . '<br /><br /><a href="' . tep_catalog_href_link('view_newsletter.php', 'nID=' . $nID) . '">' . TEXT_VIEW_HERE . tep_catalog_href_link('view_newsletter.php', 'nID=' . $nID) . "</a>\n", $nInfo->products, $nInfo->template); } else { $module = new $module_name($nInfo->title, $nInfo->content . TEXT_HTML_VIEW_HERE . tep_catalog_href_link('view_newsletter.php', 'nID=' . $nID) . "\n"); } //end newsletter products ?>
  7. Newsletter

    Hallo an Alle, bin jetzt dabei die Newsletter um zu bauen. https://apps.oscommerce.com/JvOkG&newslettter-products-for-oscommerce-2-3 Hierbei funzt alles super bis auf die Dateien: view_newsletterp.php und die newsletters.php Bei der newsletter.php bekomme ich ein update der DB für den status als gesendet. hier der code der ein Fehler haben muss den ich jedoch nicht finde. newsletters.php <?php } elseif ($action == 'confirm_send') { $nID = tep_db_prepare_input($HTTP_GET_VARS['nID']); //newsletter products $newsletter_query = tep_db_query("select title, content, module, template from " . TABLE_NEWSLETTERS . " where newsletters_id = '" . (int)$nID . "'"); $newsletter = tep_db_fetch_array($newsletter_query); $news_products = array(); $newsletter_products_query = tep_db_query("select products_id from " . TABLE_NEWSLETTERS_TO_PRODUCTS . " where newsletters_id = '" . (int)$nID . "'"); while($newsletter_products = tep_db_fetch_array($newsletter_products_query)){ $news_products[] = $newsletter_products['products_id']; } $newsletter['products'] = $news_products; //end newsletter products $nInfo = new objectInfo($newsletter); include(DIR_WS_LANGUAGES . $language . '/modules/newsletters/' . $nInfo->module . substr($PHP_SELF, strrpos($PHP_SELF, '.'))); include(DIR_WS_MODULES . 'newsletters/' . $nInfo->module . substr($PHP_SELF, strrpos($PHP_SELF, '.'))); $module_name = $nInfo->module; //newsletter products if($nInfo->module == 'newsletter_products') { $module = new $module_name($nInfo->title, $nInfo->content . '<br /><br /><a href="' . tep_catalog_href_link('view_newsletter.php', 'nID=' . $nID) . '">' . TEXT_VIEW_HERE . tep_catalog_href_link('view_newsletter.php', 'nID=' . $nID) . "</a>\n", $nInfo->products, $nInfo->template); } else { $module = new $module_name($nInfo->title, $nInfo->content . TEXT_HTML_VIEW_HERE . tep_catalog_href_link('view_newsletter.php', 'nID=' . $nID) . "\n"); } //end newsletter products ?> //********************************* Hier der Originalcode der newsletters.php der funktioniert. <?php } elseif ($action == 'confirm_send') { $nID = tep_db_prepare_input($HTTP_GET_VARS['nID']); $newsletter_query = tep_db_query("select newsletters_id, title, content, module from " . TABLE_NEWSLETTERS . " where newsletters_id = '" . (int)$nID . "'"); $newsletter = tep_db_fetch_array($newsletter_query); $nInfo = new objectInfo($newsletter); include(DIR_WS_LANGUAGES . $language . '/modules/newsletters/' . $nInfo->module . substr($PHP_SELF, strrpos($PHP_SELF, '.'))); include(DIR_WS_MODULES . 'newsletters/' . $nInfo->module . substr($PHP_SELF, strrpos($PHP_SELF, '.'))); $module_name = $nInfo->module; $module = new $module_name($nInfo->title, $nInfo->content); ?> //********************************* Hier der Code für die view_newsletterp.php Hier wird der html Newsletter im Shop nicht angezeigt. <?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(DIR_WS_LANGUAGES . $language . '/' . FILENAME_VIEWNEWS); $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_VIEWNEWS)); require(DIR_WS_INCLUDES . 'template_top.php'); ?> <h1><?php echo HEADING_TITLE; ?></h1> <div class="contentContainer"> <div class="contentText"> <?php $nID = (isset($HTTP_GET_VARS['nID']) ? tep_db_prepare_input($HTTP_GET_VARS['nID']) : 0); //newsletter products $newsletter_query = tep_db_query("select title, content, module, template from " . TABLE_NEWSLETTERS . " where newsletters_id = '" . (int)$nID . "'"); if (tep_db_num_rows($newsletter_query) == 1) { $newsletter = tep_db_fetch_array($newsletter_query); $newsletter_products_query = tep_db_query("select products_id from " . TABLE_NEWSLETTERS_TO_PRODUCTS . " where newsletters_id = '" . (int)$nID . "'"); while ($newsletter_products = tep_db_fetch_array($newsletter_products_query)) { $news_products[] = $newsletter_products['products_id']; } $newsletter['products'] = $news_products; if ($newsletter['module'] == 'newsletter_products') { include('catalog/admin/includes/modules/newsletters/newsletter_products.php'); include('catalog/admin/includes/languages/english/modules/newsletters/newsletter_products.php'); $module = new newsletter_products($newsletter['title'], $newsletter['content'], $newsletter['products'], $newsletter['template']); echo $module->html_content(); } else { echo nl2br($newsletter['content']); } //end newsletter products } else { echo TEXT_NOT_FOUND; } echo "\n"; ?> </div> <div class="buttonSet"> <span class="buttonAction"><?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'triangle-1-e', tep_href_link(FILENAME_DEFAULT)); ?></span> </div> </div> <?php require(DIR_WS_INCLUDES . 'template_bottom.php'); require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> //********************************* Hierbei hab ich die url zum Modul und die Sprachdatei umgeändert $newsletter['products'] = $news_products; if ($newsletter['module'] == 'newsletter_products') { // include('catalog/admin/includes/modules/newsletters/newsletter_products.php'); // include('catalog/admin/includes/languages/english/modules/newsletters/newsletter_products.php'); include(DIR_FS_CATALOG . 'admin/includes/modules/newsletters/newsletter_products.php'); include(DIR_FS_CATALOG . 'admin/includes/languages/english/modules/newsletters/newsletter_products.php'); $module = new newsletter_products($newsletter['title'], $newsletter['content'], $newsletter['products'], $newsletter['template']); echo $module->html_content(); } else { echo nl2br($newsletter['content']); } //********************************* dieser code ist für die Ausgabe der html-Newsletter zuständig es tut sich aber leider nichts. echo $module->html_content(); für etwas Hilfe wäre ich sehr dankbar.
  8. E-Mailversand an Kunden

    Danke. Ich muss mir erstmal die einstellungen für meinen DNS ansehen.
  9. Hier etwas dass das Kundenkonto etwas frischer macht. Frontbereich: Im account.php werden dem kunden sein Name,die Adresse, Kundennummer und seine Telefonnummer angezeigt. Direkte Nachricht vom Administrator wird eingeblendet sobald eine verfügbar ist. Adminbereich: Es besteht die Möglichkeit im Adminbereich eine Notiz für den Administrator zu Kunden zu hinterlassen sowie eine direkte Nachricht an den Kunden zu posten die er dann in seinem Kundenkonto eingeblendet bekommt. https://apps.oscommerce.com/cWqDQ&customer-notes-infoaccount-01&c=features screenshot beigefügt.
  10. Hallo Leute, habe ein sehr grosses Problem. Kann keine Emails und keine Newsletter an Kunden versenden. Habe stundenlang versucht etwas zu finden das mich weiterbringt doch leider ohne Ergebnis deswegen schreib ich jetzt hier. Betroffen sind alle grossen E-Mailanbieter wie Google, GMX, Hotmail, usw.... Die Bestellmail sowie die Mail beim anlegen von Kundenkonto funktionieren einwandfrei. osCommerce 2.3.4 Php 7.1 Die Testmail an Google ohne Problemme angekommen ************************************************************************************** <?php $nachricht = "<b>Herzlich Willkommen...<b>"; $an = "xxx@gmail.com"; $betreff = "Betrefftext"; $xtra = "From:info@xxx.de (XXXXXXXXXXXXXXXXXX)\r\n"; $xtra .= "Content-Type: text/html\r\nContent-Transfer-Encoding: 8bit\r\n"; $xtra .= "X-Mailer: PHP ". phpversion(); mail($an, $betreff, $nachricht, $xtra); ?> ************************************************************************************** Die verschiedensten Contrib ausprobiert, egal ob mit sendmail oder smtp da tut sich nichts und ich verzweifle. Falls jemand helfen kann dann bitte bitte. LG.
  11. Ask a Product Question

    Habs hinbekommen. Danke Dir. Es war ne komische Contrib die ich hatte, mit der neuen jetzt funzt alles einwandfrei.
  12. Ask a Product Question

    bin gerade eben dabei
  13. Ask a Product Question

    Falls Du eine andere Version von SEO empfehlen kannst bin ich für alles offen.
  14. Ask a Product Question

    seo-friendly-urls-Store Mode 1.3 Das Problem bei mir liegt darin, dass die url nicht umgewandelt wird solange seo verwendet wird. Der Button für die Anfrage gibt mir anstatt: http://www.domain.de/ask_a_question.php?products_id=61 die Produktadresse: http://www.domain.de/produktname.html der Eintrag in der .htaccess: <IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php [L] </IfModule>
  15. Ask a Product Question

    Ja, so siehts bei mir auch aus allerdings nur wenn SEO ausgeschalten ist