|
ECB SEO SHOP SOFTWARE - IMEDES SOFTWARE DOWNLOADS
*****************************************
* INSTALLATION-GUIDE *
* Erweitertes Nachrich, wenn verfügbar *
* *
*****************************************
* @package advanced_news *
*****************************************
--------------
NEW FILES:
--------------
account_reminder.php
admin/images/button_bg.gif
admin/images/header_bg.gif
admin/images/icon_status_orange.gif
admin/images/icon_status_orange_light.gif
admin/images/icon_traffic_status_green.gif
admin/images/icon_traffic_status_green_light.gif
admin/images/icon_traffic_status_orange.gif
admin/images/icon_traffic_status_orange_light.gif
admin/images/icon_traffic_status_red.gif
admin/images/icon_traffic_status_red_light.gif
admin/includes/productreminder.css
admin/includes/tip_centerwindow.js
admin/includes/tip_followscroll.js
admin/includes/wz_tooltip.js
admin/sign_up_products.php
admin/status_products.php
includes/classes/class.products_sign_up.php
includes/functions/database.php
includes/modules/whats_new.php
install.traffic_light_pro.php
lang/button_templates/~xtc_button.UAS
lang/english/admin/sign_up_products.php
lang/english/admin/status_products.php
lang/german/admin/sign_up_products.php
lang/german/admin/status_products.php
templates/xtc4/admin/mail/english/send_sign_up_products_mail.html
templates/xtc4/admin/mail/english/send_sign_up_products_mail.txt
templates/xtc4/admin/mail/german/send_sign_up_products_mail.html
templates/xtc4/admin/mail/german/send_sign_up_products_mail.txt
templates/xtc4/buttons/english/button_reminder.gif
templates/xtc4/buttons/german/button_reminder.gif
templates/xtc4/buttons/german/button_save.gif
templates/xtc4/mail/english/sign_up_products_mail.html
templates/xtc4/mail/english/sign_up_products_mail.txt
templates/xtc4/mail/german/sign_up_products_mail.html
templates/xtc4/mail/german/sign_up_products_mail.txt
templates/xtc4/module/account_reminder.html
templates/xtc4/module/products_sign_up.html
--------------
NEW DIRS:
--------------
imedes_library
includes/classes/adodb_full
--------------
CHANGED FILES:
--------------
account.php
admin/categories.php
admin/includes/application_top.php
admin/includes/classes/categories.php
admin/includes/column_left.php
admin/includes/functions/sessions.php
admin/includes/modules/categories_view.php
admin/includes/modules/new_product.php
advanced_search_result.php
inc/xtc_get_attributes_model.inc.php
includes/application_top.php
includes/classes/product.php
includes/database_tables.php
includes/filenames.php
includes/functions/sessions.php
includes/modules/default.php
includes/modules/product_info.php
lang/english/admin/buttons.php
lang/english/admin/categories.php
lang/english/admin/configuration.php
lang/english/admin/english.php
lang/english/english.php
lang/english/lang_english.conf
lang/german/admin/buttons.php
lang/german/admin/categories.php
lang/german/admin/configuration.php
lang/german/admin/german.php
lang/german/german.php
lang/german/lang_german.conf
templates/xtc4/module/account.html
templates/xtc4/module/new_products.html
templates/xtc4/module/new_products_default.html
templates/xtc4/module/new_products_overview.html
templates/xtc4/module/product_info/product_info_v1.html
templates/xtc4/module/product_listing/_product_listing_v1.html
templates/xtc4/module/product_listing/product_listing_v1.html
templates/xtc4/module/specials.html
-------------
INSTALLATION:
-------------
1. new_files kopieren.
2. Die Datei install.traffic_light_pro.php auf den Server ausführen und löschen
3. changed_files kopieren, oder bei nicht standard-version folgende änderungen durchführen:
Datei: account.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$smarty->assign('LINK_EDIT', xtc_href_link(FILENAME_ACCOUNT_EDIT, '', 'SSL'));
und füge danach ein:
$smarty->assign('LINK_REMINDER', xtc_href_link(FILENAME_ACCOUNT_REMINDER, '', 'SSL'));
---------------------------------------------------------------------------------------------------
Datei: admin/categories.php
---------------------------------------------------------------------------------------------------
finde folgendes:
//regular actions
if ($_GET['action']) {
switch ($_GET['action']) {
und füge davor ein:
// TRAFFIC LIGHT PRO
if (isset ($_POST['multi_warnstatus_green'])) {
if (is_array($_POST['multi_products'])) {
foreach ($_POST['multi_products'] AS $product_id) {
$catfunc->set_product_warnstatus($product_id, "1");
}
}
xtc_redirect(xtc_href_link(FILENAME_CATEGORIES, 'cPath='.$_GET['cPath'].'&'.xtc_get_all_get_params(array ('cPath', 'action', 'pID', 'cID'))));
}
if (isset ($_POST['multi_warnstatus_orange'])) {
if (is_array($_POST['multi_products'])) {
foreach ($_POST['multi_products'] AS $product_id) {
$catfunc->set_product_warnstatus($product_id, "2");
}
}
xtc_redirect(xtc_href_link(FILENAME_CATEGORIES, 'cPath='.$_GET['cPath'].'&'.xtc_get_all_get_params(array ('cPath', 'action', 'pID', 'cID'))));
}
if (isset ($_POST['multi_warnstatus_red'])) {
if (is_array($_POST['multi_products'])) {
foreach ($_POST['multi_products'] AS $product_id) {
$catfunc->set_product_warnstatus($product_id, "0");
}
}
xtc_redirect(xtc_href_link(FILENAME_CATEGORIES, 'cPath='.$_GET['cPath'].'&'.xtc_get_all_get_params(array ('cPath', 'action', 'pID', 'cID'))));
}
---------------------------------------------------------------------------------------------------
finde folgendes:
xtc_redirect(xtc_href_link(FILENAME_CATEGORIES, 'cPath='.$_GET['cPath'].'&cID='.$_GET['cID']));
}
break;
und füge danach ein:
case 'settflag' :
if (($_GET['flag'] == '0') || ($_GET['flag'] == '1') || ($_GET['flag'] == '2')) {
if ($_GET['pID']) {
$catfunc->set_product_traffic_light($_GET['pID'], $_GET['flag']);
}
}
if ($_GET['pID']) {
xtc_redirect(xtc_href_link(FILENAME_CATEGORIES, 'cPath='.$_GET['cPath'].'&pID='.$_GET['pID']));
} else {
xtc_redirect(xtc_href_link(FILENAME_CATEGORIES, 'cPath='.$_GET['cPath'].'&cID='.$_GET['cID']));
}
break;
---------------------------------------------------------------------------------------------------
Datei: admin/includes/application_top.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('FILENAME_XSELL_GROUPS','cross_sell_groups.php');
und füge danach ein:
define('FILENAME_STATUS_PRODUCTS','status_products.php');
define('FILENAME_SIGN_UP_PRODUCTS','sign_up_products.php');
---------------------------------------------------------------------------------------------------
finde folgendes:
define('TABLE_CAMPAIGNS_IP','campaigns_ip');
und füge danach ein:
define('TABLE_PRODUCTS_SIGN_UP','products_sign_up');
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
require_once(DIR_FS_INC . 'xtc_db_connect.inc.php');
require_once(DIR_FS_INC . 'xtc_db_close.inc.php');
require_once(DIR_FS_INC . 'xtc_db_error.inc.php');
require_once(DIR_FS_INC . 'xtc_db_query.inc.php');
require_once(DIR_FS_INC . 'xtc_db_queryCached.inc.php');
require_once(DIR_FS_INC . 'xtc_db_perform.inc.php');
require_once(DIR_FS_INC . 'xtc_db_fetch_array.inc.php');
require_once(DIR_FS_INC . 'xtc_db_num_rows.inc.php');
require_once(DIR_FS_INC . 'xtc_db_data_seek.inc.php');
require_once(DIR_FS_INC . 'xtc_db_insert_id.inc.php');
require_once(DIR_FS_INC . 'xtc_db_free_result.inc.php');
require_once(DIR_FS_INC . 'xtc_db_fetch_fields.inc.php');
require_once(DIR_FS_INC . 'xtc_db_output.inc.php');
require_once(DIR_FS_INC . 'xtc_db_input.inc.php');
und ersetze es mit:
require_once('../'.DIR_WS_FUNCTIONS.'database.php');
//require_once(DIR_FS_INC . 'xtc_db_connect.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_close.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_error.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_query.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_queryCached.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_perform.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_fetch_array.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_num_rows.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_data_seek.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_insert_id.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_free_result.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_fetch_fields.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_output.inc.php');
//require_once(DIR_FS_INC . 'xtc_db_input.inc.php');
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
xtc_db_connect() or die('Unable to connect to database server!');
und ersetze es mit:
require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt_admin.php');
db_connect_alt() or die('Unable to connect to database server!');
global $ADODB_FETCH_MODE;
$ADODB_FETCH_MODE=ADODB_FETCH_ASSOC;
---------------------------------------------------------------------------------------------------
Datei: admin/includes/classes/categories.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$sql_data_array = array ('products_quantity' => xtc_db_prepare_input($products_data['products_quantity']), 'products_model' => xtc_db_prepare_input($products_data['products_model']), 'products_ean' => xtc_db_prepare_input($products_data['products_ean']), 'products_price' => xtc_db_prepare_input($products_data['products_price']), 'products_sort' => xtc_db_prepare_input($products_data['products_sort']), 'products_shippingtime' => xtc_db_prepare_input($products_data['shipping_status']), 'products_discount_allowed' => xtc_db_prepare_input($products_data['products_discount_allowed']), 'products_date_available' => $products_date_available, 'products_weight' => xtc_db_prepare_input($products_data['products_weight']), 'products_status' => $products_status, 'products_startpage' => xtc_db_prepare_input($products_data['products_startpage']), 'products_startpage_sort' => xtc_db_prepare_input($products_data['products_startpage_sort']), 'products_tax_class_id' => xtc_db_prepare_input($products_data['products_tax_class_id']), 'product_template' => xtc_db_prepare_input($products_data['info_template']), 'options_template' => xtc_db_prepare_input($products_data['options_template']), 'manufacturers_id' => xtc_db_prepare_input($products_data['manufacturers_id']), 'products_fsk18' => xtc_db_prepare_input($products_data['fsk18']), 'products_vpe_value' => xtc_db_prepare_input($products_data['products_vpe_value']), 'products_vpe_status' => xtc_db_prepare_input($products_data['products_vpe_status']), 'products_vpe' => xtc_db_prepare_input($products_data['products_vpe']));
und ersetze es mit:
$sql_data_array = array ('products_traffic_light' => xtc_db_prepare_input($products_data['products_warnstatus']), 'products_quantity' => xtc_db_prepare_input($products_data['products_quantity']), 'products_model' => xtc_db_prepare_input($products_data['products_model']), 'products_ean' => xtc_db_prepare_input($products_data['products_ean']), 'products_price' => xtc_db_prepare_input($products_data['products_price']), 'products_sort' => xtc_db_prepare_input($products_data['products_sort']), 'products_shippingtime' => xtc_db_prepare_input($products_data['shipping_status']), 'products_discount_allowed' => xtc_db_prepare_input($products_data['products_discount_allowed']), 'products_date_available' => $products_date_available, 'products_weight' => xtc_db_prepare_input($products_data['products_weight']), 'products_status' => $products_status, 'products_startpage' => xtc_db_prepare_input($products_data['products_startpage']), 'products_startpage_sort' => xtc_db_prepare_input($products_data['products_startpage_sort']), 'products_tax_class_id' => xtc_db_prepare_input($products_data['products_tax_class_id']), 'product_template' => xtc_db_prepare_input($products_data['info_template']), 'options_template' => xtc_db_prepare_input($products_data['options_template']), 'manufacturers_id' => xtc_db_prepare_input($products_data['manufacturers_id']), 'products_fsk18' => xtc_db_prepare_input($products_data['fsk18']), 'products_vpe_value' => xtc_db_prepare_input($products_data['products_vpe_value']), 'products_vpe_status' => xtc_db_prepare_input($products_data['products_vpe_status']), 'products_vpe' => xtc_db_prepare_input($products_data['products_vpe']));
---------------------------------------------------------------------------------------------------
finde folgendes:
// Sets a product active on startpage
function set_product_startpage($products_id, $status) {
if ($status == '1') {
und füge davor ein:
// Sets the warning status of a product
function set_product_warnstatus($products_id, $status) {
if ($status == '1') {
return xtc_db_query("update ".TABLE_PRODUCTS." set products_traffic_light = '1', products_last_modified = now() where products_id = '".$products_id."'");
}
elseif ($status == '0') {
return xtc_db_query("update ".TABLE_PRODUCTS." set products_traffic_light = '0', products_last_modified = now() where products_id = '".$products_id."'");
} elseif ($status == '2') {
return xtc_db_query("update ".TABLE_PRODUCTS." set products_traffic_light = '2', products_last_modified = now() where products_id = '".$products_id."'");
} else {
return -1;
}
}
// ----------------------------------------------------------------------------------------------------- //
// Sets the traffic light status
function set_product_traffic_light($products_id, $status) {
if ($status == '1') {
return xtc_db_query("update ".TABLE_PRODUCTS." set products_traffic_light = '1', products_last_modified = now() where products_id = '".$products_id."'");
}
elseif ($status == '0') {
return xtc_db_query("update ".TABLE_PRODUCTS." set products_traffic_light = '0', products_last_modified = now() where products_id = '".$products_id."'");
} elseif ($status == '2') {
return xtc_db_query("update ".TABLE_PRODUCTS." set products_traffic_light = '2', products_last_modified = now() where products_id = '".$products_id."'");
} else {
return -1;
}
}
// ----------------------------------------------------------------------------------------------------- //
Datei: admin/includes/column_left.php
---------------------------------------------------------------------------------------------------
finde folgendes:
if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['categories'] == '1')) echo '<a href="' . xtc_href_link(FILENAME_CATEGORIES, '', 'NONSSL') . '" class="menuBoxContentLink"> -' . BOX_CATEGORIES . '</a><br>';
und füge danach ein:
if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['categories'] == '1')) echo '<a href="' . xtc_href_link(FILENAME_STATUS_PRODUCTS, '', 'NONSSL') . '" class="menuBoxContentLink"> -' . BOX_TRAFFIC_LIGHT . '</a><br>';
if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['sign_up_products'] == '1')) echo '<a href="' . xtc_href_link(FILENAME_SIGN_UP_PRODUCTS, '', 'NONSSL') . '" class="menuBoxContentLink"> -' . BOX_SIGN_UP_PRODUCTS . '</a><br>';
-admin/includes/functions/sessions.php
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
function _sess_write($key, $val) {
global $SESS_LIFE;
und füge danach ein:
if(!is_object($db)){// Vermutlich wird das $db objekt gelöscht, bevor die Session geschrieben wird
global$db;
require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt_admin.php');
db_connect_alt() or die('Unable to connect to database server!');
$db->Execute("SET NAMES '".$_SESSION['language_charset']."'");
$db->Execute("SET CHARACTER_SET_CLIENT=".$_SESSION['language_charset']);
$db->Execute("SET CHARACTER_SET_RESULTS=".$_SESSION['language_charset']);
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
Datei: admin/includes/modules/categories_view.php
---------------------------------------------------------------------------------------------------
finde folgendes:
case 'stock' :
$catsort = 'c.sort_order ASC'; //default
$prodsort = 'p.products_quantity ASC';
und füge davor ein:
case 'traffic_light' :
$catsort = 'c.sort_order ASC'; //default
$prodsort = 'p.products_traffic_light ASC';
break;
case 'traffic_light' :
$catsort = 'c.sort_order ASC'; //default
$prodsort = 'p.products_traffic_light DESC';
break;
---------------------------------------------------------------------------------------------------
finde folgendes:
echo '<td class="dataTableHeadingContent" align="center" width="20%">' . TABLE_HEADING_STOCK . xtc_sorting(FILENAME_CATEGORIES,'stock') . '</td>';
und ersetze es mit:
echo '<td class="dataTableHeadingContent" align="center" width="13%">' . TABLE_HEADING_STOCK . xtc_sorting(FILENAME_CATEGORIES,'stock') . '</td>';
---------------------------------------------------------------------------------------------------
finde folgendes:
<td class="dataTableHeadingContent" align="center" width="7%">
<?php echo TABLE_HEADING_STATUS.xtc_sorting(FILENAME_CATEGORIES,'status'); ?>
</td>
<td class="dataTableHeadingContent" align="center" width="7%">
und füge danach ein:
<?php echo TABLE_HEADING_TRAFFIC_LIGHT.xtc_sorting(FILENAME_CATEGORIES,'traffic_light'); ?>
</td>
<td class="dataTableHeadingContent" align="center" width="7%">
---------------------------------------------------------------------------------------------------
finde folgendes:
<td class="categories_view_data">--</td>
<td class="categories_view_data">--</td>
<td class="categories_view_data">--</td>
und füge danach ein:
<td class="categories_view_data">--</td>
---------------------------------------------------------------------------------------------------
finde folgendes:
p.products_status,
p.products_startpage,
p.products_startpage_sort,
und füge danach ein:
p.products_traffic_light,
---------------------------------------------------------------------------------------------------
finde folgendes:
p.products_date_available,
p.products_status,
p.products_startpage,
und füge danach ein:
p.products_traffic_light,
---------------------------------------------------------------------------------------------------
finde folgendes:
<td class="categories_view_data">
<?php
if ($products['products_startpage'] == '1') {
und füge davor ein:
<td class="categories_view_data">
<?php
if ($products['products_traffic_light'] == '1') {
echo xtc_image(DIR_WS_IMAGES . 'icon_status_green.gif', IMAGE_ICON_STATUS_GREEN, 10, 10) . ' <a href="'.xtc_href_link(FILENAME_CATEGORIES, xtc_get_all_get_params(array('cPath', 'action', 'pID', 'cID')) . 'action=settflag&flag=2&pID=' . $products['products_id'] . '&cPath=' . $cPath).'">'.xtc_image(DIR_WS_IMAGES . 'icon_status_orange_light.gif', IMAGE_ICON_STATUS_ORANGE_LIGHT, 10, 10).'</a> <a href="' . xtc_href_link(FILENAME_CATEGORIES, xtc_get_all_get_params(array('cPath', 'action', 'pID', 'cID')) . 'action=settflag&flag=0&pID=' . $products['products_id'] . '&cPath=' . $cPath) . '">' . xtc_image(DIR_WS_IMAGES . 'icon_status_red_light.gif', IMAGE_ICON_STATUS_RED_LIGHT, 10, 10) . '</a>';
} elseif ($products['products_traffic_light'] == '0') {
echo '<a href="' . xtc_href_link(FILENAME_CATEGORIES, xtc_get_all_get_params(array('cPath', 'action', 'pID', 'cID')) . 'action=settflag&flag=1&pID=' . $products['products_id'] . '&cPath=' . $cPath) . '">' . xtc_image(DIR_WS_IMAGES . 'icon_status_green_light.gif', IMAGE_ICON_STATUS_GREEN_LIGHT, 10, 10) . '</a> <a href="'.xtc_href_link(FILENAME_CATEGORIES, xtc_get_all_get_params(array('cPath', 'action', 'pID', 'cID')) . 'action=settflag&flag=2&pID=' . $products['products_id'] . '&cPath=' . $cPath).'">'.xtc_image(DIR_WS_IMAGES . 'icon_status_orange_light.gif', IMAGE_ICON_STATUS_ORANGE_LIGHT, 10, 10).'</a> ' . xtc_image(DIR_WS_IMAGES . 'icon_status_red.gif', IMAGE_ICON_STATUS_RED, 10, 10);
} elseif ($products['products_traffic_light'] == '2') {
echo '<a href="' . xtc_href_link(FILENAME_CATEGORIES, xtc_get_all_get_params(array('cPath', 'action', 'pID', 'cID')) . 'action=settflag&flag=1&pID=' . $products['products_id'] . '&cPath=' . $cPath) . '">' . xtc_image(DIR_WS_IMAGES . 'icon_status_green_light.gif', IMAGE_ICON_STATUS_GREEN_LIGHT, 10, 10) . '</a> '.xtc_image(DIR_WS_IMAGES . 'icon_status_orange.gif', IMAGE_ICON_STATUS_ORANGE, 10, 10).' <a href="' . xtc_href_link(FILENAME_CATEGORIES, xtc_get_all_get_params(array('cPath', 'action', 'pID', 'cID')) . 'action=settflag&flag=0&pID=' . $products['products_id'] . '&cPath=' . $cPath) . '">' . xtc_image(DIR_WS_IMAGES . 'icon_status_red_light.gif', IMAGE_ICON_STATUS_RED_LIGHT, 10, 10) . '</a>';
}
?>
</td>
---------------------------------------------------------------------------------------------------
finde folgendes (ca. Zeile: 429):
echo '<a class="button" href="javascript:SwitchCategories()" onClick="this.blur()">' . BUTTON_SWITCH_CATEGORIES . '</a> ';
?>
</td>
</tr>
und füge danach ein:
<tr>
<td style="padding-top:15px; padding-left:5px;" class="smallText" colspan="2">
<p style="margin-bottom:8px;"><b><?=LEGEND_HEAD?></b></p>
<? echo xtc_image(DIR_WS_IMAGES . 'icon_status_green.gif', IMAGE_ICON_STATUS_GREEN, 10, 10).' '.LEGEND_GREEN; ?><br />
<? echo xtc_image(DIR_WS_IMAGES . 'icon_status_orange.gif', IMAGE_ICON_STATUS_ORANGE, 10, 10).' '.LEGEND_ORANGE; ?><br />
<? echo xtc_image(DIR_WS_IMAGES . 'icon_status_red.gif', IMAGE_ICON_STATUS_RED, 10, 10).' '.LEGEND_RED; ?>
</td>
</tr>
---------------------------------------------------------------------------------------------------
finde folgendes:
$contents[] = array('align' => 'center', 'text' => '<input type="submit" class="button" name="multi_delete" onClick="this.blur();" value="'. BUTTON_DELETE . '"> <input type="submit" class="button" onClick="this.blur();" name="multi_move" value="' . BUTTON_MOVE . '"> <input type="submit" class="button" onClick="this.blur();" name="multi_copy" value="' . BUTTON_COPY . '">');
$contents[] = array('align' => 'center', 'text' => '<input type="submit" class="button" name="multi_status_on" onClick="this.blur();" value="'. BUTTON_STATUS_ON . '"> <input type="submit" class="button" onClick="this.blur();" name="multi_status_off" value="' . BUTTON_STATUS_OFF . '">');
und füge danach ein:
$contents[] = array('align' => 'center', 'text' => '<div style="padding-top: 5px; font-weight: bold; width: 90%;border-top: 1px solid Black;margin-top: 5px;">' . TEXT_PRODUCT_STATUS . '</div>');
$contents[] = array('align' => 'center', 'text' => '<div style="padding:0px 0px 5px 0px"><input type="submit" class="button" name="multi_warnstatus_green" onClick="this.blur();" value="'. BUTTON_WARNSTATUS_GREEN . '"></div><div style="padding:0px 0px 5px 0px"><input type="submit" class="button" onClick="this.blur();" name="multi_warnstatus_orange" value="' . BUTTON_WARNSTATUS_ORANGE . '"></div><input type="submit" class="button" onClick="this.blur();" name="multi_warnstatus_red" value="' . BUTTON_WARNSTATUS_RED . '">');
---------------------------------------------------------------------------------------------------
finde folgendes:
$contents[] = array('align' => 'center', 'text' => xtc_button(BUTTON_DELETE, 'submit', 'name="multi_delete"').' '.xtc_button(BUTTON_MOVE, 'submit', 'name="multi_move"').' '.xtc_button(BUTTON_COPY, 'submit', 'name="multi_copy"'));
$contents[] = array('align' => 'center', 'text' => '<input type="submit" class="button" name="multi_status_on" onClick="this.blur();" value="'. BUTTON_STATUS_ON . '"> <input type="submit" class="button" onClick="this.blur();" name="multi_status_off" value="' . BUTTON_STATUS_OFF . '">');
und füge danach ein:
$contents[] = array('align' => 'center', 'text' => '<div style="padding-top: 5px; font-weight: bold; width: 90%;border-top: 1px solid Black;margin-top: 5px;">' . TEXT_PRODUCT_STATUS . '</div>');
$contents[] = array('align' => 'center', 'text' => '<div style="padding:0px 0px 5px 0px"><input type="submit" class="button" name="multi_warnstatus_green" onClick="this.blur();" value="'. BUTTON_WARNSTATUS_GREEN . '"></div><div style="padding:0px 0px 5px 0px"><input type="submit" class="button" onClick="this.blur();" name="multi_warnstatus_orange" value="' . BUTTON_WARNSTATUS_ORANGE . '"></div><input type="submit" class="button" onClick="this.blur();" name="multi_warnstatus_red" value="' . BUTTON_WARNSTATUS_RED . '">');
---------------------------------------------------------------------------------------------------
finde folgendes:
$price_string = '' . TEXT_PRODUCTS_PRICE_INFO . ' ' . $currencies->format($price) . ' - ' . TXT_NETTO . $currencies->format($price_netto);
}
$contents[] = array('text' => '<div style="padding-left: 30px;">' . $price_string. '</div><div style="padding-left: 30px;">' . TEXT_PRODUCTS_DISCOUNT_ALLOWED_INFO . ' ' . $pInfo->products_discount_allowed . '</div><div style="padding-left: 30px;">' . TEXT_PRODUCTS_QUANTITY_INFO . ' ' . $pInfo->products_quantity . '</div>');
und füge danach ein:
if ($pInfo->products_traffic_light == 1) {
$contents[] = array('text' => '<div style="padding-left: 30px;">'.TABLE_HEADING_TRAFFIC_LIGHT.': '.TEXT_GREEN.' '.xtc_image(DIR_WS_IMAGES . 'icon_status_green.gif', IMAGE_ICON_STATUS_GREEN, 10, 10));
} elseif ($pInfo->products_traffic_light == 2) {
$contents[] = array('text' => '<div style="padding-left: 30px;">'.TABLE_HEADING_TRAFFIC_LIGHT.': '.TEXT_ORANGE.' '.xtc_image(DIR_WS_IMAGES . 'icon_status_orange.gif', IMAGE_ICON_STATUS_ORANGE, 10, 10));
} else {
$contents[] = array('text' => '<div style="padding-left: 30px;">'.TABLE_HEADING_TRAFFIC_LIGHT.': '.TEXT_RED.' '.xtc_image(DIR_WS_IMAGES . 'icon_status_red.gif', IMAGE_ICON_STATUS_RED, 10, 10));
}
---------------------------------------------------------------------------------------------------
Datei: admin/includes/modules/new_product.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$status = true;
$out_status = false;
}
und füge danach ein:
switch ($pInfo->products_traffic_light) {
case '0' :
$warnstatus_green = false;
$warnstatus_orange = false;
$warnstatus_red = true;
break;
case '2' :
$warnstatus_green = false;
$warnstatus_orange = true;
$warnstatus_red = false;
break;
default :
$warnstatus_green = true;
$warnstatus_orange = false;
$warnstatus_red = false;
}
---------------------------------------------------------------------------------------------------
finde folgendes:
<td><span class="main"><?php echo TEXT_PRODUCTS_STATUS; ?> <?php echo xtc_draw_separator('pixel_trans.gif', '24', '15') . ' ' . xtc_draw_radio_field('products_status', '1', $status) . ' ' . TEXT_PRODUCT_AVAILABLE . ' ' . xtc_draw_radio_field('products_status', '0', $out_status) . ' ' . TEXT_PRODUCT_NOT_AVAILABLE; ?><br />
und ersetze es mit:
<td><span class="main"><?php echo TEXT_PRODUCTS_STATUS; ?> <?php echo xtc_draw_separator('pixel_trans.gif', '27', '15') . ' ' . xtc_draw_radio_field('products_status', '1', $status) . ' ' . TEXT_PRODUCT_AVAILABLE . ' ' . xtc_draw_radio_field('products_status', '0', $out_status) . ' ' . TEXT_PRODUCT_NOT_AVAILABLE; ?><br />
</span>
<span class="main"><?php echo TABLE_HEADING_TRAFFIC_LIGHT.':'; ?> <?php echo xtc_draw_separator('pixel_trans.gif', '1', '15') . ' ' . xtc_draw_radio_field('products_warnstatus', '1', $warnstatus_green) . ' ' .xtc_image(DIR_WS_IMAGES . 'icon_status_green.gif', IMAGE_ICON_STATUS_GREEN, 10, 10). ' ' . TEXT_GREEN . ' ' . xtc_draw_radio_field('products_warnstatus', '2', $warnstatus_orange) . ' ' . xtc_image(DIR_WS_IMAGES . 'icon_status_orange.gif', IMAGE_ICON_STATUS_ORANGE, 10, 10). ' ' . TEXT_ORANGE. ' ' . xtc_draw_radio_field('products_warnstatus', '0', $warnstatus_red) . ' ' . xtc_image(DIR_WS_IMAGES . 'icon_status_red.gif', IMAGE_ICON_STATUS_RED, 10, 10). ' ' . TEXT_RED; ?><br />
---------------------------------------------------------------------------------------------------
Datei: advanced_search_result.php
---------------------------------------------------------------------------------------------------
finde folgendes:
p.products_image,
p.products_weight,
p.products_tax_class_id,
und füge danach ein:
p.products_traffic_light,
---------------------------------------------------------------------------------------------------
Datei: inc/xtc_get_attributes_model.inc.php
---------------------------------------------------------------------------------------------------
finde folgendes:
Inner Join ".TABLE_PRODUCTS_OPTIONS." po ON po.products_options_id = pa.options_id
Inner Join ".TABLE_PRODUCTS_OPTIONS_VALUES." pov ON pa.options_values_id = pov.products_options_values_id
WHERE
und füge danach ein:
pa.products_id = '".$product_id."' AND
---------------------------------------------------------------------------------------------------
-includes/application_top.php
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
require_once (DIR_FS_INC.'xtc_db_connect.inc.php');
require_once (DIR_FS_INC.'xtc_db_close.inc.php');
require_once (DIR_FS_INC.'xtc_db_error.inc.php');
require_once (DIR_FS_INC.'xtc_db_perform.inc.php');
require_once (DIR_FS_INC.'xtc_db_query.inc.php');
require_once (DIR_FS_INC.'xtc_db_queryCached.inc.php');
require_once (DIR_FS_INC.'xtc_db_fetch_array.inc.php');
require_once (DIR_FS_INC.'xtc_db_num_rows.inc.php');
require_once (DIR_FS_INC.'xtc_db_data_seek.inc.php');
require_once (DIR_FS_INC.'xtc_db_insert_id.inc.php');
require_once (DIR_FS_INC.'xtc_db_free_result.inc.php');
require_once (DIR_FS_INC.'xtc_db_fetch_fields.inc.php');
require_once (DIR_FS_INC.'xtc_db_output.inc.php');
require_once (DIR_FS_INC.'xtc_db_input.inc.php');
und ersetze es mit:
require_once(DIR_WS_FUNCTIONS.'database.php');
// require_once (DIR_FS_INC.'xtc_db_connect.inc.php');
// require_once (DIR_FS_INC.'xtc_db_close.inc.php');
// require_once (DIR_FS_INC.'xtc_db_error.inc.php');
// require_once (DIR_FS_INC.'xtc_db_perform.inc.php');
// require_once (DIR_FS_INC.'xtc_db_query.inc.php');
// require_once (DIR_FS_INC.'xtc_db_queryCached.inc.php');
// require_once (DIR_FS_INC.'xtc_db_fetch_array.inc.php');
// require_once (DIR_FS_INC.'xtc_db_num_rows.inc.php');
// require_once (DIR_FS_INC.'xtc_db_data_seek.inc.php');
// require_once (DIR_FS_INC.'xtc_db_insert_id.inc.php');
// require_once (DIR_FS_INC.'xtc_db_free_result.inc.php');
// require_once (DIR_FS_INC.'xtc_db_fetch_fields.inc.php');
// require_once (DIR_FS_INC.'xtc_db_output.inc.php');
// require_once (DIR_FS_INC.'xtc_db_input.inc.php');
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
xtc_db_connect() or die('Unable to connect to database server!');
und ersetze es mit:
require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt.php');
db_connect_alt() or die('Unable to connect to database server!');
global $ADODB_FETCH_MODE;
$ADODB_FETCH_MODE=ADODB_FETCH_ASSOC;
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
// include the language translations
require (DIR_WS_LANGUAGES.$_SESSION['language'].'/'.$_SESSION['language'].'.php');
und füge danach ein:
$db->Execute("SET NAMES '".$_SESSION['language_charset']."'");
$db->Execute("SET CHARACTER_SET_CLIENT=".$_SESSION['language_charset']);
$db->Execute("SET CHARACTER_SET_RESULTS=".$_SESSION['language_charset']);
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
Datei: includes/classes/product.php
---------------------------------------------------------------------------------------------------
finde folgendes (ca. Zeile: 383):
$buy_now = $this->getBuyNowButton($array['products_id'], $array['products_name']);
}
}
und füge danach ein:
if ($array['products_quantity'] < 1) {
$setting_query = xtc_db_query("select * from ".TABLE_CONFIGURATION." where configuration_key = 'STOCK_TRAFFIC_LIGHT'");
$settings = xtc_db_fetch_array($setting_query);
if ($settings['configuration_value'] == 'true') {
$dont_show_button = false;
} else {
$dont_show_button = true;
}
}
if ($array['products_traffic_light'] == 0) {
$traffic_light = TRAFFIC_LIGHT_STATUS_RED;
$buy_now = '';
$button_product_reminder = '';
} elseif ($array['products_traffic_light'] == 2 || $dont_show_button) {
$traffic_light = TRAFFIC_LIGHT_STATUS_ORANGE;
$buy_now = '';
$button_product_reminder = '';
$traffic_light_button = '<a href="'.xtc_href_link(FILENAME_PRODUCT_INFO, xtc_product_link($array['products_id'], $array['products_name'])).'">'.xtc_image_button('button_reminder.gif',IMAGE_BUTTON_REMIND_ME).'</a>';
}
---------------------------------------------------------------------------------------------------
finde folgendes (ca. Zeile: 400):
'PRODUCTS_TAX_INFO' => $main->getTaxInfo($tax_rate),
'PRODUCTS_SHIPPING_LINK' => $main->getShippingLink(),
'PRODUCTS_BUTTON_BUY_NOW' => $buy_now,
und füge danach ein:
'PRODUCTS_TRAFFIC_LIGHT_TEXT' => $traffic_light,
'PRODUCTS_TRAFFIC_LIGHT_BUTTON' => $traffic_light_button,
---------------------------------------------------------------------------------------------------
finde folgendes:
'PRODUCTS_FSK18' => $array['products_fsk18']);
und ersetze es mit:
'PRODUCTS_FSK18' => $array['products_fsk18'],
'PRODUCTS_TRAFFIC_LIGHT' => $array['products_traffic_light']);
---------------------------------------------------------------------------------------------------
Datei: includes/database_tables.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('TABLE_COUPONS_DESCRIPTION', 'coupons_description');
define('TABLE_BLACKLIST', 'card_blacklist');
define('TABLE_CAMPAIGNS_IP','campaigns_ip');
und füge danach ein:
define('TABLE_PRODUCTS_SIGN_UP', 'products_sign_up');
---------------------------------------------------------------------------------------------------
Datei: includes/filenames.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('FILENAME_ERROR_HANDLER', 'error_handler.php');
define('FILENAME_CONTENT', 'shop_content.php');
define('FILENAME_BANNER', 'banners.php');
und füge danach ein:
define('FILENAME_ACCOUNT_REMINDER', 'account_reminder.php');
---------------------------------------------------------------------------------------------------
-includes/functions/sessions.php
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
function _sess_write($key, $val) {
global $SESS_LIFE;
und füge danach ein:
if(!is_object($db)){// Vermutlich wird das $db objekt gelöscht, bevor die Session geschrieben wird
global$db;
require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt.php');
db_connect_alt() or die('Unable to connect to database server!');
$db->Execute("SET NAMES '".$_SESSION['language_charset']."'");
$db->Execute("SET CHARACTER_SET_CLIENT=".$_SESSION['language_charset']);
$db->Execute("SET CHARACTER_SET_RESULTS=".$_SESSION['language_charset']);
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
Datei: includes/modules/default.php
---------------------------------------------------------------------------------------------------
finde folgendes (4 Mal):
p.products_discount_allowed,
p.products_tax_class_id
und ersetze es mit:
p.products_discount_allowed,
p.products_tax_class_id,
p.products_traffic_light
---------------------------------------------------------------------------------------------------
Datei: includes/modules/product_info.php
---------------------------------------------------------------------------------------------------
finde folgendes:
require_once (DIR_FS_INC.'xtc_get_products_mo_images.inc.php');
require_once (DIR_FS_INC.'xtc_get_vpe_name.inc.php');
require_once (DIR_FS_INC.'get_cross_sell_name.inc.php');
und füge danach ein:
require_once(DIR_WS_CLASSES.'class.products_sign_up.php');
---------------------------------------------------------------------------------------------------
finde folgendes:
$info_smarty = new Smarty;
$info_smarty->assign('tpl_path', 'templates/'.CURRENT_TEMPLATE.'/');
$group_check = '';
und füge danach ein:
$sign_up = new products_sign_up;
if (isset($_GET['sign_up_now']))
{
$sign_up->frontend_double_opt_accept ($_GET['sign_up_now'], $_GET['activation']);
$sign_up_now_stat = true;
}
if ($_GET['action'] == 'sign_up')
{
$sign_up_array['email'] = $_POST['sign_up_email_address'];
$sign_up_array['vvcode'] = $_POST['sign_up_vvcode'];
$sign_up_array['gender'] = $_POST['sign_up_gender'];
$sign_up_array['name'] = $_POST['sign_up_name'];
$sign_up_array['privacy'] = $_POST['sign_up_privacy'];
$sign_up_array['products_id'] = $sign_up->frontend_get_products_id (true);
$error = $sign_up->frontend_check_sign_up_inputs ($sign_up_array);
if ($error != NULL)
$messageStack->add('sign_up_products', $error);
if ($messageStack->size('sign_up_products') > 0)
$info_smarty->assign('error_sign_up', $messageStack->output('sign_up_products'));
if ($error == NULL)
{
$sign_up->frontend_sign_up_customer ();
$sign_up->frontend_send_double_opt_mail();
$sign_up_stat = true;
}
}
---------------------------------------------------------------------------------------------------
finde folgendes:
$info_smarty->assign('PRODUCTS_ID', $product->data['products_id']);
$info_smarty->assign('PRODUCTS_NAME', $product->data['products_name']);
und füge danach ein:
if ($sign_up_stat) {
$info_smarty->assign('PRODUCTS_SIGN_UP_STAT', 1);
$info_smarty->assign('PRODUCTS_SIGN_UP_MESSAGE', SIGN_UP_MESSAGE);
}
if ($sign_up_now_stat) {
$info_smarty->assign('PRODUCTS_SIGN_UP_NOW_STAT', 1);
$info_smarty->assign('PRODUCTS_SIGN_UP_NOW_MESSAGE', SIGN_UP_NOW_MESSAGE);
}
if ($product->data['products_traffic_light'] == 2 || $product->data['products_quantity'] < 1)
{
if (!is_object($sign_up))
$sign_up = new products_sign_up;
$sign_up_inputs = $sign_up->frontend_show_inputs_4_sign_up();
$info_smarty->assign('sign_up', $sign_up_inputs);
}
if (!empty($_SESSION['customer_id'])) {
$get_email_address = xtc_db_query("select customers_email_address from ".TABLE_CUSTOMERS." where customers_id = '".$_SESSION['customer_id']."'");
$get_email_address_array = xtc_db_fetch_array($get_email_address);
$customer_email_address = $get_email_address_array['customers_email_address'];
$get_signed_up = xtc_db_query("select * from ".TABLE_PRODUCTS_SIGN_UP." where email = '".$customer_email_address."' and email_delete != 1 and products_id = '".$product->data['products_id']."'");
if (xtc_db_num_rows($get_signed_up) > 0) {
$get_signed_up_array = xtc_db_fetch_array($get_signed_up);
if ($get_signed_up_array['email_activate'] == 1) {
$info_smarty->assign('PRODUCTS_ALREADY_SIGNED', 1);
$info_smarty->assign('PRODUCTS_ALREADY_SIGNED_TEXT', STATUS_ALREADY_CUSTOMER);
} else {
$info_smarty->assign('PRODUCTS_ALREADY_SIGNED', 2);
$info_smarty->assign('PRODUCTS_ALREADY_SIGNED_TEXT', STATUS_ALREADY_EMAIL_CUSTOMER);
}
}
}
---------------------------------------------------------------------------------------------------
finde folgendes:
$info_smarty->assign('PRODUCTS_TAX_INFO', $tax_info);
$info_smarty->assign('PRODUCTS_SHIPPING_LINK',$main->getShippingLink());
}
und füge danach ein:
if ($product->data['products_quantity'] < 1) {
$setting_query = xtc_db_query("select * from ".TABLE_CONFIGURATION." where configuration_key = 'STOCK_TRAFFIC_LIGHT'");
$settings = xtc_db_fetch_array($setting_query);
if ($settings['configuration_value'] == 'true') {
$dont_show_button = 0;
} else {
$dont_show_button = 1;
}
}
$info_smarty->assign('DONT_SHOW_BUTTON', $dont_show_button);
if ($product->data['products_traffic_light'] == 1 && $product->data['products_quantity'] < 1) {
$info_smarty->assign('PRODUCTS_EMPTY', 1);
}
---------------------------------------------------------------------------------------------------
finde folgendes:
$info_smarty->assign('PRODUCTS_QUANTITY', $product->data['products_quantity']);
und füge danach ein:
$info_smarty->assign('PRODUCTS_TRAFFIC_LIGHT', $product->data['products_traffic_light']);
$info_smarty->assign('PRODUCTS_TRAFFIC_LIGHT_RED', TRAFFIC_LIGHT_STATUS_RED);
$info_smarty->assign('PRODUCTS_TRAFFIC_LIGHT_ORANGE', TRAFFIC_LIGHT_STATUS_ORANGE);
---------------------------------------------------------------------------------------------------
Datei: lang/english/admin/buttons.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('BUTTON_NEW_TAX_RATE', 'New Tax Rate');
define('BUTTON_SEND', 'Send');
und füge danach ein:
// TRAFFIC LIGHT PRO
define('BUTTON_WARNSTATUS_GREEN','Warning status green');
define('BUTTON_WARNSTATUS_ORANGE','Warning status orange');
define('BUTTON_WARNSTATUS_RED','Warning status red');
---------------------------------------------------------------------------------------------------
Datei: lang/english/admin/categories.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('TEXT_MARKED_ELEMENTS','Marked Elements');
und füge danach ein:
define('TEXT_PRODUCT_STATUS','Warning Status');
---------------------------------------------------------------------------------------------------
finde folgendes:
define('HEADING_GROUP','Group');
und füge danach ein:
define('TABLE_HEADING_TRAFFIC_LIGHT','Warning Status');
define('LEGEND_HEAD','Key Warning Status');
define('LEGEND_GREEN','The product is available');
define('LEGEND_ORANGE','The product is <u>at the moment</u> not available (The user can enter his email address)');
define('LEGEND_RED','The product is not available');
define('TEXT_GREEN','green');
define('TEXT_ORANGE','orange');
define('TEXT_RED','red');
---------------------------------------------------------------------------------------------------
Datei: lang/english/admin/configuration.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('REVOCATION_ID_DESC','Content ID of Revocation content');
define('DISPLAY_REVOCATION_ON_CHECKOUT_TITLE','Display right of revocation?');
define('DISPLAY_REVOCATION_ON_CHECKOUT_DESC','Display right of revocation on checkout_confirmation?');
und füge danach ein:
// TRAFFIC LIGHT PRO
define('STOCK_TRAFFIC_LIGHT_TITLE','Show "Buy now"-Button if products quantity is 0');
define('STOCK_TRAFFIC_LIGHT_DESC','Should the "Buy now" and the "In cart"-Button be shown if the products quantity is zero and the warning status green?');
---------------------------------------------------------------------------------------------------
Datei: lang/english/admin/english.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('BOX_CATEGORIES', 'Categories / Products');
und füge danach ein:
define('BOX_TRAFFIC_LIGHT', 'Warning Status');
define('BOX_SIGN_UP_PRODUCTS', 'Product Reminder');
---------------------------------------------------------------------------------------------------
Datei: lang/english/english.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('IMAGE_BUTTON_LOGIN', 'Login');
und füge danach ein:
define('IMAGE_BUTTON_REMIND_ME','Be up-to-date and let us remind you if this product is available again!');
---------------------------------------------------------------------------------------------------
finde folgendes:
define('SHIPPING_EXCL','excl.');
define('SHIPPING_COSTS','Shipping costs');
und füge danach ein:
define('TRAFFIC_LIGHT_STATUS_RED','This product is not available');
define('TRAFFIC_LIGHT_STATUS_ORANGE','This product is currently out of stock. Let us remind you if it is available again!');
define('WRONG_VVCODE', 'Security key and input don\'t agree');
define('INVALID_EMAIL', 'Invalid e-mail address');
define('NON_EXISTING_PRODUCT', 'The product doesn\'t exist');
define('EMPTY_EMAIL', 'You haven\'t entered an e-mail address');
define('EMPTY_VVCODE', 'You haven\'t entered a security key');
define('EMPTY_GENDER', 'You haven\'t selected your title');
define('EMPTY_NAME', 'You haven\'t entered your name');
define('SIGN_UP_NOW_MESSAGE','Thank you. You will receive an e-mail immediately when this product is back in store!');
define('SIGN_UP_MESSAGE','You received an e-mail with a confirmation link.');
define('EMPTY_PRIVACY', 'You have to accept our privacy notice');
define('STATUS_ALREADY','You are already signed up for this product');
define('STATUS_ALREADY_EMAIL','You are already signed up for this product. We sent you an e-mail with a confirmation link.');
define('STATUS_ALREADY_CUSTOMER','You are signed up for this product');
define('STATUS_ALREADY_EMAIL_CUSTOMER','You are signed up for this product. We sent you an e-mail with a confirmation link.');
define('STATUS_UNCONFIRMED', 'unconfirmed');
define('NAVBAR_TITLE_ACCOUNT_REMINDER', 'Product reminder');
---------------------------------------------------------------------------------------------------
Datei: lang/english/lang_english.conf
---------------------------------------------------------------------------------------------------
finde folgendes:
#account overview
[account]
und füge danach ein:
title_reminder = 'Product reminder'
text_reminder = 'Manage product reminders'
---------------------------------------------------------------------------------------------------
ganz am Ende einfügen:
[sign_up_product]
text_sign_up_privacy = 'I accept your privacy notice'
text_sign_up_email = 'Email address:'
text_sign_up_capture = 'Character key from the picture:'
text_sign_up_choose_gender = 'Title:'
text_sign_up_name = 'Name:'
text_sign_up_gender_f = 'Madam'
text_sign_up_gender_m = 'Mister'
text_title_sign_up = 'Product Reminder:'
text_title_description_sign_up = 'This product is not available at the moment. Enter your contact data to receive an alert when it is back in store.'
#account product reminder
[account_reminder]
heading_product_reminder = 'Product reminder'
text_delete = 'remove'
title_products = 'Products'
text_no_available = 'No reminders are currently available'
---------------------------------------------------------------------------------------------------
Datei: lang/german/admin/buttons.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('BUTTON_NEW_TAX_RATE', 'Neuer Steuersatz');
define('BUTTON_SEND', 'Senden');
und füge danach ein:
// TRAFFIC LIGHT PRO
define('BUTTON_WARNSTATUS_GREEN','Warnungsstatus grün');
define('BUTTON_WARNSTATUS_ORANGE','Warnungsstatus orange');
define('BUTTON_WARNSTATUS_RED','Warnungsstatus rot');
---------------------------------------------------------------------------------------------------
Datei: lang/german/admin/categories.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('TEXT_MARKED_ELEMENTS','Markierte Elemente');
und füge danach ein:
define('TEXT_PRODUCT_STATUS','Warnungsstatus');
---------------------------------------------------------------------------------------------------
finde folgendes:
define('HEADING_CATEGORY','Kategorie');
und füge danach ein:
define('TABLE_HEADING_TRAFFIC_LIGHT','Warnungsstatus');
define('LEGEND_HEAD','Legende Warnungsstatus');
define('LEGEND_GREEN','Der Artikel ist verfügbar');
define('LEGEND_ORANGE','Der Artikel ist <u>im Moment</u> nicht verfügbar (Der User kann seine E-Mail Adresse hinterlassen)');
define('LEGEND_RED','Der Artikel ist nicht verfügbar');
define('TEXT_GREEN','grün');
define('TEXT_ORANGE','orange');
define('TEXT_RED','rot');
---------------------------------------------------------------------------------------------------
Datei: lang/german/admin/configuration.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('REVOCATION_ID_DESC','Content ID des Widerrufrechts');
define('DISPLAY_REVOCATION_ON_CHECKOUT_TITLE','Anzeige Widerrufrecht?');
define('DISPLAY_REVOCATION_ON_CHECKOUT_DESC','Widerrufrecht auf checkout_confirmation anzeigen?');
und füge danach ein:
// TRAFFIC LIGHT PRO
define('STOCK_TRAFFIC_LIGHT_TITLE','"Kaufen"-Buttons zeigen wenn Artikelmenge 0 ist');
define('STOCK_TRAFFIC_LIGHT_DESC','Sollen "Kaufen" und "In den Korb"-Button angezeigt werden, wenn der Warnstatus grün und die Artikelmenge 0 ist?');
---------------------------------------------------------------------------------------------------
Datei: lang/german/admin/german.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('BOX_CATEGORIES', 'Kategorien / Artikel');
und füge danach ein:
define('BOX_TRAFFIC_LIGHT', 'Warnungsstatus');
define('BOX_SIGN_UP_PRODUCTS', 'Produkterinnerung');
---------------------------------------------------------------------------------------------------
Datei: lang/german/german.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('IMAGE_BUTTON_LOGIN', 'Anmelden');
und füge danach ein:
define('IMAGE_BUTTON_REMIND_ME','Lassen Sie sich erinnern, wenn dieser Artikel wieder verfügbar ist');
---------------------------------------------------------------------------------------------------
finde folgendes:
define('SHIPPING_COSTS','Versandkosten');
und füge danach ein:
define('TRAFFIC_LIGHT_STATUS_RED','Dieser Artikel ist nicht verfügbar');
define('TRAFFIC_LIGHT_STATUS_ORANGE','Dieser Artikel ist in Kürze wieder verfügbar. Lassen Sie sich benachrichtigen, wenn der Artikel wieder erhältlich ist.');
define ('WRONG_VVCODE', 'Ihre Eingabe und der Sicherheitscode stimmen nicht überein');
define ('INVALID_EMAIL', 'Ungültige E-Mail Adresse');
define ('NON_EXISTING_PRODUCT', 'Der Artikel existiert nicht');
define ('EMPTY_EMAIL', 'Bitte geben Sie eine E-Mail Adresse ein!');
define ('EMPTY_VVCODE', 'Bitte geben Sie einen Sicherheitscode ein!');
define ('EMPTY_GENDER', 'Bitte wählen Sie eine Anrede aus!');
define ('EMPTY_NAME', 'Bitte geben Sie einen Namen ein!');
define('SIGN_UP_NOW_MESSAGE','Vielen Dank. Sobald der Artikel wieder verfügbar ist werden Sie benachrichtigt!');
define('SIGN_UP_MESSAGE','Sie haben eine E-Mail mit einem Bestätigungs-Link erhalten.');
define('EMPTY_PRIVACY', 'Sie müssen unserere Datenschutzerklärung akzeptieren');
define('STATUS_ALREADY','Sie haben diesen Artikel bereits abonniert.');
define('STATUS_ALREADY_EMAIL','Sie haben diesen Artikel bereits abonniert. Wir haben Ihnen eine E-Mail mit einem Bestätigungs-Link zugeschickt.');
define('STATUS_ALREADY_CUSTOMER','Sie haben diesen Artikel abonniert.');
define('STATUS_ALREADY_EMAIL_CUSTOMER','Sie haben diesen Artikel abonniert. Wir haben Ihnen eine E-Mail mit einem Bestätigungs-Link zugeschickt.');
define('STATUS_UNCONFIRMED', 'unbestätigt');
define('NAVBAR_TITLE_ACCOUNT_REMINDER', 'Produkterinnerungen');
---------------------------------------------------------------------------------------------------
Datei: lang/german/lang_german.conf
---------------------------------------------------------------------------------------------------
finde folgendes:
#account übersicht
[account]
und füge danach ein:
title_reminder = 'Produkterinnerungen'
text_reminder = 'Produkterinnerungen verwalten'
---------------------------------------------------------------------------------------------------
ganz am Ende einfügen:
[sign_up_product]
text_sign_up_email = 'E-Mail Adresse:'
text_sign_up_capture = 'Zeichencode aus dem Bild:'
text_sign_up_choose_gender = 'Anrede:'
text_sign_up_name = 'Vor- und Nachname:'
text_sign_up_gender_f = 'Frau'
text_sign_up_gender_m = 'Herr'
text_title_sign_up = 'Produkterinnerung:'
text_title_description_sign_up = 'Dieses Produkt ist zurzeit nicht verfügbar. Füllen Sie das folgende Formular aus, um benachrichtigt zu werden, wenn das Produkt wieder verfügbar ist.'
text_sign_up_privacy = 'Ich akzeptiere Ihre Datenschutzerklärung'
#account product reminder
[account_reminder]
heading_product_reminder = 'Produkterinnerungen'
text_delete = 'löschen'
title_products = 'Artikel'
text_no_available = 'Keine Produkterinnerungen verfügbar'
---------------------------------------------------------------------------------------------------
Datei: templates/xtc4/module/account.html
---------------------------------------------------------------------------------------------------
finde folgendes (ca. Zeile: 99):
</tr>
</table></td>
</tr>
und danach einfügen:
</table>
<span class="smallHeading">{#title_reminder#}</span>
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td valign="middle" class="main" style="border-top: 1px solid; border-color: #cccccc;">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="main"><img src="{$tpl_path}img/arrow_green.gif" alt="" /><a href="{$LINK_REMINDER}">{#text_reminder#}</a></td>
</tr>
</table></td>
</tr>
---------------------------------------------------------------------------------------------------
Datei: templates/xtc4/module/new_products.html
---------------------------------------------------------------------------------------------------
finde folgendes:
{$module_data.PRODUCTS_BUTTON_BUY_NOW}<br />
ersetzen mit:
{$module_data.PRODUCTS_BUTTON_BUY_NOW}{$module_data.PRODUCTS_TRAFFIC_LIGHT_BUTTON}<br /><strong><span class="errorText">{$module_data.PRODUCTS_TRAFFIC_LIGHT_TEXT}</span></strong><br />
---------------------------------------------------------------------------------------------------
Datei: templates/xtc4/module/new_products_default.html
---------------------------------------------------------------------------------------------------
finde folgendes:
{$module_data.PRODUCTS_BUTTON_BUY_NOW}<br />
ersetzen mit:
{$module_data.PRODUCTS_BUTTON_BUY_NOW}{$module_data.PRODUCTS_TRAFFIC_LIGHT_BUTTON}<br /><strong><span class="errorText">{$module_data.PRODUCTS_TRAFFIC_LIGHT_TEXT}</span></strong><br />
---------------------------------------------------------------------------------------------------
Datei: templates/xtc4/module/new_products_overview.html
---------------------------------------------------------------------------------------------------
finde folgendes:
{$module_data.PRODUCTS_BUTTON_BUY_NOW}</td>
ersetzen mit:
{$module_data.PRODUCTS_BUTTON_BUY_NOW}{$module_data.PRODUCTS_TRAFFIC_LIGHT_BUTTON}<br /><strong><span class="errorText">{$module_data.PRODUCTS_TRAFFIC_LIGHT_TEXT}</span></strong></td>
---------------------------------------------------------------------------------------------------
Datei: templates/xtc4/module/product_info/product_info_v1.html
---------------------------------------------------------------------------------------------------
finde folgendes:
{if $SHIPPING_NAME}
und ersetze es mit:
{if $SHIPPING_NAME AND $PRODUCTS_TRAFFIC_LIGHT == 1 AND $PRODUCTS_EMPTY != 1}
---------------------------------------------------------------------------------------------------
finde folgendes:
<table width="300" border="0">
<tr>
<td class="main" valign="middle"><table width="100" border="0">
<tr>
<td>{$ADD_QTY}</td>
<td>{$ADD_CART_BUTTON}</td>
</tr></table></td>
</tr>
</table>
davor einfügen:
{if $PRODUCTS_TRAFFIC_LIGHT == 1 AND $DONT_SHOW_BUTTON != 1}
---------------------------------------------------------------------------------------------------
finde folgendes:
<table width="300" border="0">
<tr>
<td class="main" valign="middle"><table width="100" border="0">
<tr>
<td>{$ADD_QTY}</td>
<td>{$ADD_CART_BUTTON}</td>
</tr></table></td>
</tr>
</table>
danach einfügen:
{elseif $PRODUCTS_TRAFFIC_LIGHT == 0}<strong><span class="errorText">{$PRODUCTS_TRAFFIC_LIGHT_RED}</span></strong>{elseif $PRODUCTS_TRAFFIC_LIGHT == 2}<strong><span class="errorText">{$PRODUCTS_TRAFFIC_LIGHT_ORANGE}</span></strong>{else}<strong><span class="errorText">{$PRODUCTS_TRAFFIC_LIGHT_ORANGE}</span></strong>{/if}</td>
---------------------------------------------------------------------------------------------------
am ende bitte einfügen:
{if $PRODUCTS_TRAFFIC_LIGHT == 2 OR $PRODUCTS_EMPTY == 1}
{if $PRODUCTS_SIGN_UP_NOW_STAT == 1} <br />
<table width="100%" class="formArea" cellspacing="2" cellpadding="0">
<tr>
<td class="main"><b>{$PRODUCTS_SIGN_UP_NOW_MESSAGE}</b></td>
</tr>
</table>
{elseif $PRODUCTS_SIGN_UP_STAT == 1} <br />
<table width="100%" class="formArea" cellspacing="2" cellpadding="0">
<tr>
<td class="main"><b>{$PRODUCTS_SIGN_UP_MESSAGE}</b></td>
</tr>
</table>
{else}
{if $PRODUCTS_ALREADY_SIGNED > 0}
<table width="100%" class="formArea" cellspacing="2" cellpadding="0">
<tr>
<td class="main"><b>{$PRODUCTS_ALREADY_SIGNED_TEXT}</b></td>
</tr>
</table>
{else}
{$error_sign_up}
{$sign_up}
{/if}
{/if}
{/if}
---------------------------------------------------------------------------------------------------
Datei: templates/xtc4/module/product_listing/_product_listing_v1.html
---------------------------------------------------------------------------------------------------
finde folgendes:
{$module_data.PRODUCTS_BUTTON_BUY_NOW}</td>
ersetzen mit:
{$module_data.PRODUCTS_BUTTON_BUY_NOW}{$module_data.PRODUCTS_TRAFFIC_LIGHT_BUTTON}<br /><strong><span class="errorText">{$module_data.PRODUCTS_TRAFFIC_LIGHT_TEXT}</span></strong></td>
---------------------------------------------------------------------------------------------------
Datei: templates/xtc4/module/product_listing/product_listing_v1.html
---------------------------------------------------------------------------------------------------
finde folgendes:
{/if}
{$module_data.PRODUCTS_BUTTON_BUY_NOW}</td>
</tr>
</table></td>
ersetzen mit:
{/if}
{$module_data.PRODUCTS_BUTTON_BUY_NOW}</td>
</tr>
</table>{$module_data.PRODUCTS_TRAFFIC_LIGHT_BUTTON}<br /><strong><span class="errorText">{$module_data.PRODUCTS_TRAFFIC_LIGHT_TEXT}</span></strong>
</td>
---------------------------------------------------------------------------------------------------
Datei: templates/xtc4/module/specials.html
---------------------------------------------------------------------------------------------------
finde folgendes:
{$module_data.PRODUCTS_BUTTON_BUY_NOW}</td>
ersetzen mit:
{$module_data.PRODUCTS_BUTTON_BUY_NOW}{$module_data.PRODUCTS_TRAFFIC_LIGHT_BUTTON}<br /><strong><span class="errorText">{$module_data.PRODUCTS_TRAFFIC_LIGHT_TEXT}</span></strong></td>
|