|
ECB SEO SHOP SOFTWARE - IMEDES SOFTWARE DOWNLOADS
*****************************************
* *
* INSTALLATION-GUIDE *
* *
*****************************************
* @package Bonusprogramm *
* @compatible SP2.1 *
*****************************************
--------------
NEW FILES:
--------------
admin/customers_points.php
admin/customers_points_credit.php
admin/customers_points_expire.php
admin/customers_points_pending.php
admin/customers_points_referral.php
admin/includes/javascript/makemini.pl
admin/includes/javascript/overlib.js
admin/includes/javascript/overlib_anchor.js
admin/includes/javascript/overlib_centerpopup.js
admin/includes/javascript/overlib_crossframe.js
admin/includes/javascript/overlib_cssstyle.js
admin/includes/javascript/overlib_debug.js
admin/includes/javascript/overlib_exclusive.js
admin/includes/javascript/overlib_followscroll.js
admin/includes/javascript/overlib_hideform.js
admin/includes/javascript/overlib_setonoff.js
admin/includes/javascript/overlib_shadow.js
includes/functions/database.php
includes/functions/redemptions.php
includes/modules/order_total/ot_redemptions.php
lang/english/admin/customers_points.php
lang/english/admin/customers_points_credit.php
lang/english/admin/customers_points_expire.php
lang/english/admin/customers_points_pending.php
lang/english/admin/customers_points_referral.php
lang/english/modules/order_total/ot_redemptions.php
lang/german/admin/customers_points.php
lang/german/admin/customers_points_credit.php
lang/german/admin/customers_points_expire.php
lang/german/admin/customers_points_pending.php
lang/german/admin/customers_points_referral.php
lang/german/modules/order_total/ot_redemptions.php
my_payments.php
my_points.php
my_points_help.php
templates/xtc4/img/indicator.gif
templates/xtc4/module/my_payments.html
templates/xtc4/module/my_points.html
templates/xtc4/module/my_points_help.html
--------------
NEW DIRS:
--------------
imedes_library
includes/classes/adodb_full
--------------
CHANGED FILES:
--------------
account.php
admin/customers_status.php
admin/includes/application_top.php
admin/includes/column_left.php
admin/includes/functions/general.php
admin/includes/functions/sessions.php
admin/orders.php
checkout_confirmation.php
checkout_payment.php
checkout_process.php
create_account.php
includes/application_top.php
includes/classes/product.php
includes/database_tables.php
includes/filenames.php
includes/functions/sessions.php
includes/modules/product_info.php
includes/write_customers_status.php
lang/english/admin/configuration.php
lang/english/admin/customers_status.php
lang/english/admin/english.php
lang/english/admin/orders.php
lang/english/english.php
lang/english/lang_english.conf
lang/german/admin/configuration.php
lang/german/admin/customers_status.php
lang/german/admin/german.php
lang/german/admin/orders.php
lang/german/german.php
lang/german/lang_german.conf
logoff.php
print_product_info.php
product_reviews.php
product_reviews_info.php
product_reviews_write.php
reviews.php
send_order.php
shopping_cart.php
templates/xtc4/javascript/general.js.php
templates/xtc4/mail/english/create_account_mail.html
templates/xtc4/mail/english/create_account_mail.txt
templates/xtc4/mail/english/order_mail.html
templates/xtc4/mail/english/order_mail.txt
templates/xtc4/mail/german/create_account_mail.html
templates/xtc4/mail/german/create_account_mail.txt
templates/xtc4/mail/german/order_mail.html
templates/xtc4/mail/german/order_mail.txt
templates/xtc4/module/account.html
templates/xtc4/module/checkout_payment.html
templates/xtc4/module/product_info/product_info_v1.html
templates/xtc4/module/product_reviews.html
templates/xtc4/module/product_reviews_info.html
templates/xtc4/module/product_reviews_write.html
templates/xtc4/module/reviews.html
templates/xtc4/module/shopping_cart.html
-------------
INSTALLATION:
-------------
1. Datenkbankerweiterungen durchführen
ALTER TABLE customers ADD customers_shopping_points decimal(15,2) NOT NULL default '0.00';
ALTER TABLE `customers` ADD `customers_points_expires` DATE NULL DEFAULT NULL AFTER `customers_shopping_points` ;
ALTER TABLE `admin_access` ADD `customers_points_referral` INT( 1 ) DEFAULT '1' NOT NULL ;
ALTER TABLE `admin_access` ADD `customers_points_expire` INT( 1 ) DEFAULT '1' NOT NULL ;
ALTER TABLE `admin_access` ADD `customers_points_credit` INT( 1 ) DEFAULT '1' NOT NULL ;
ALTER TABLE admin_access ADD customers_points_pending int(1) NOT NULL default '1';
ALTER TABLE admin_access ADD customers_points int(1) NOT NULL default '1';
INSERT INTO `configuration_group` VALUES (66, 'Bonuspunkte', 'Bonuspunkte-Konfiguration', 66, 1);
INSERT INTO `configuration` VALUES ('', 'USE_POINTS_SYSTEM', 'true', 66, 1, '2006-03-27 23:09:38', '2006-03-27 23:09:38', NULL, 'xtc_cfg_select_option(array(''true'', ''false''),');
INSERT INTO `configuration` VALUES ('', 'USE_REDEEM_SYSTEM', 'true', 66, 2, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, 'xtc_cfg_select_option(array(''true'', ''false''),');
INSERT INTO `configuration` VALUES ('', 'POINTS_PER_AMOUNT_PURCHASE', '1', 66, 3, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'REDEEM_POINT_VALUE', '0.1', 66, 4, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'POINTS_AUTO_ON', '1', 66, 6, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, '');
INSERT INTO `configuration` VALUES ('', 'POINTS_AUTO_EXPIRES', '1', 66, 7, '2006-09-28 09:47:26', '2006-09-28 09:47:26', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'USE_POINTS_FOR_SHIPPING', 'false', 66, 9, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, 'xtc_cfg_select_option(array(''true'', ''false''),');
INSERT INTO `configuration` VALUES ('', 'USE_POINTS_FOR_TAX', 'false', 66, 10, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, 'xtc_cfg_select_option(array(''true'', ''false''),');
INSERT INTO `configuration` VALUES ('', 'USE_POINTS_FOR_SPECIALS', 'true', 66, 11, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, 'xtc_cfg_select_option(array(''true'', ''false''),');
INSERT INTO `configuration` VALUES ('', 'USE_POINTS_FOR_REDEEMED', 'true', 66, 12, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, 'xtc_cfg_select_option(array(''true'', ''false''),');
INSERT INTO `configuration` VALUES ('', 'POINTS_EXPIRES_REMIND', '1', 66, 8, '2006-09-28 09:47:26', '2006-09-28 09:47:26', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'RESTRICTION_MODEL', '', 66, 11, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'RESTRICTION_PID', '', 66, 12, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'RESTRICTION_PATH', '', 66, 13, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'REDEMPTION_DISCOUNTED', 'false', 66, 18, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, 'xtc_cfg_select_option(array(''true'', ''false''),');
INSERT INTO `configuration` VALUES ('', 'POINTS_LIMIT_VALUE', '50', 66, 19, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'POINTS_MAX_VALUE', '1000', 66, 20, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'POINTS_DECIMAL_PLACES', '2', 66, 5, '2006-09-28 09:33:00', '2006-09-28 09:33:00', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'POINTS_MIN_AMOUNT', '50', 66, 21, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'NEW_SIGNUP_POINT_AMOUNT', '25', 66, 22, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'MAX_DISPLAY_POINTS_RECORD', '20', 66, 23, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'DISPLAY_POINTS_INFO', 'true', 66, 24, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, 'xtc_cfg_select_option(array(''true'', ''false''),');
INSERT INTO `configuration` VALUES ('', 'DISPLAY_POINTS_REDEEMED', 'true', 66, 25, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, 'xtc_cfg_select_option(array(''true'', ''false''),');
INSERT INTO `configuration` VALUES ('', 'USE_POINTS_AND_REDEEM_FROM_CUSTOMER_STATUS', 'true', 66, NULL, NULL, '0000-00-00 00:00:00', NULL, 'xtc_cfg_select_option(array(''true'', ''false''),');
INSERT INTO `configuration` VALUES ('', 'USE_POINTS_FOR_REVIEWS', '50', 66, 13, '2006-09-28 10:16:40', '2006-09-28 10:16:40', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'USE_REFERRAL_SYSTEM', '100', 66, 14, '2006-09-28 10:16:40', '2006-09-28 10:16:40', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'MIN_PAYMENT', '1000', 66, 25, NULL, '0000-00-00 00:00:00', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'MIN_INPUT_PAYMENT', '5', 66, 26, NULL, '0000-00-00 00:00:00', NULL, NULL);
INSERT INTO `configuration` VALUES ('', 'USE_PAYMENT_SYSTEM', 'true', 66, 2, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, 'xtc_cfg_select_option(array(''true'', ''false''),');
INSERT INTO `configuration` VALUES ('', 'PAYMENT_POINT_VALUE', '0.1', 66, 4, '0000-00-00 00:00:00', '2006-03-27 23:09:38', NULL, NULL);
CREATE TABLE `customers_points_pending` (
`unique_id` int(11) NOT NULL auto_increment,
`customer_id` int(11) NOT NULL default '0',
`orders_id` int(11) NOT NULL default '0',
`points_pending` decimal(15,2) NOT NULL default '0.00',
`points_comment` varchar(200) default NULL,
`date_added` datetime NOT NULL default '0000-00-00 00:00:00',
`points_status` int(1) default '1',
`points_type` char(2) NOT NULL default 'SP',
PRIMARY KEY (`unique_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
ALTER TABLE `customers_status`
ADD `customers_status_points_per_amount_purchase` DECIMAL(5,2) DEFAULT '1.0' NOT NULL ,
ADD `customers_status_payment` char(1) NOT NULL default '0',
ADD `customers_status_payment_point_value` decimal(5,2) NOT NULL default '0.01',
ADD `customers_status_redeem_point_value` DECIMAL(5,2) DEFAULT '0.01' NOT NULL ;
2. new_files kopieren.
3. changed_files kopieren, oder bei nicht standard-version folgende änderungen durchführen:
-account.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$smarty->assign('LINK_EDIT', xtc_href_link(FILENAME_ACCOUNT_EDIT, '', 'SSL'));
und füge davor ein:
############ BONUS MODUL ##################
if (USE_POINTS_SYSTEM == 'true') { // check that the points system is enabled
$shopping_points = xtc_get_shopping_points();
if ($shopping_points > 0) {
$smarty->assign('VALUED', $xtPrice->xtcFormat(xtc_calc_shopping_pvalue(number_format($shopping_points,POINTS_DECIMAL_PLACES)),true));
if (isset($_SESSION['customers_status']['customers_status_payment'])) {
if (USE_POINTS_SYSTEM == 'true' && $_SESSION['customers_status']['customers_status_payment'] == '1') {
$smarty->assign('PAYMENT_VALUED', $xtPrice->xtcFormat(xtc_calc_shopping_payment_pvalue(number_format($shopping_points,POINTS_DECIMAL_PLACES)),true));
}
}
$points = number_format($shopping_points,POINTS_DECIMAL_PLACES);
$points = str_replace(",", "", $points);
$points = str_replace(".", ",", $points);
$smarty->assign('POINTS', $points);
}
}
if (isset($_SESSION['customers_status']['customers_status_payment'])) {
if (USE_POINTS_SYSTEM == 'true' && $_SESSION['customers_status']['customers_status_payment'] == '1')
$smarty->assign('LINK_MY_PAYMENTS', xtc_href_link('my_payments.php', '', 'SSL'));
}
if (USE_POINTS_SYSTEM == 'true') {
$smarty->assign('LINK_MY_POINTS', xtc_href_link(FILENAME_MY_POINTS, '', 'SSL'));
$smarty->assign('LINK_MY_POINTS_HELP', xtc_href_link(FILENAME_MY_POINTS_HELP, '', 'SSL'));
}
############ BONUS MODUL END ##################
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-admin/customers.php
---------------------------------------------------------------------------------------------------
finde folgendes:
xtc_db_query("delete from ".TABLE_CUSTOMERS_STATUS_HISTORY." where customers_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("delete from ".TABLE_CUSTOMERS_IP." where customers_id = '".xtc_db_input($customers_id)."'");
xtc_db_query("DELETE FROM ".TABLE_ADMIN_ACCESS." WHERE customers_id = '".xtc_db_input($customers_id)."'");
und füge danach ein:
//Bonus start
xtc_db_query("delete from ".TABLE_CUSTOMERS_POINTS_PENDING . " where customer_id = '" . xtc_db_input($customers_id) . "'");
//Bonus ende
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-admin/customers_status.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$customers_status_shipping_unallowed = $_POST['customers_status_shipping_unallowed'];
und füge danach ein:
##### BONUS
$customers_status_payment = $_POST['customers_status_payment'];
$customers_status_redeem_point_value = $_POST['customers_status_redeem_point_value'];
$customers_status_payment_point_value = $_POST['customers_status_payment_point_value'];
$customers_status_points_per_amount_purchase = $_POST['customers_status_points_per_amount_purchase'];
##### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
'customers_status_shipping_unallowed' => xtc_db_prepare_input($customers_status_shipping_unallowed),
und füge danach ein:
##### BONUS
'customers_status_payment' => xtc_db_prepare_input($customers_status_payment),
'customers_status_redeem_point_value' => xtc_db_prepare_input($customers_status_redeem_point_value),
'customers_status_payment_point_value' => xtc_db_prepare_input($customers_status_payment_point_value),
'customers_status_points_per_amount_purchase' => xtc_db_prepare_input($customers_status_points_per_amount_purchase),
##### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
<td class="dataTableHeadingContent" width=""><?php echo TABLE_HEADING_CUSTOMERS_UNALLOW_SHIPPING; ?></td>
und füge danach ein:
<td class="dataTableHeadingContent" width=""><?php echo TABLE_HEADING_CUSTOMERS_USE_POINTS; ?></td>
<td class="dataTableHeadingContent" width=""><?php echo TABLE_HEADING_CUSTOMERS_USE_REDEEM; ?></td>
<td class="dataTableHeadingContent" width=""><?php echo TABLE_HEADING_CUSTOMERS_USE_PAYMENT; ?></td>
<td class="dataTableHeadingContent" width=""><?php echo TABLE_HEADING_PAYMENT; ?></td>
---------------------------------------------------------------------------------------------------
finde folgendes:
$customers_status_graduated_prices_array = array(array('id' => '0', 'text' => ENTRY_NO), array('id' => '1', 'text' => ENTRY_YES));
und füge danach ein:
##### BONUS
$customers_status_payment_array = array(array('id' => '0', 'text' => ENTRY_NO), array('id' => '1', 'text' => ENTRY_YES));
##### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
echo '<td nowrap class="dataTableContent" align="center">' . $customers_status['customers_status_shipping_unallowed'] . ' </td>';
und füge danach ein:
##### BONUS
echo '<td nowrap class="dataTableContent" align="center">' . $customers_status['customers_status_points_per_amount_purchase'] . ' </td>';
echo '<td nowrap class="dataTableContent" align="center">' . $customers_status['customers_status_redeem_point_value'] . ' </td>';
echo '<td nowrap class="dataTableContent" align="center">' . $customers_status['customers_status_payment_point_value'] . ' </td>';
echo '<td class="dataTableContent" align="center">';
if ($customers_status['customers_status_payment'] == 0) {
echo NO;
} else {
echo YES;
}
echo '</td>';
##### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
$contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_SHIPPING_UNALLOWED_INTRO . '<br />' . ENTRY_CUSTOMERS_STATUS_SHIPPING_UNALLOWED . ' ' . xtc_draw_input_field('customers_status_shipping_unallowed', $cInfo->customers_status_shipping_unallowed ));
und füge danach ein:
##### BONUS
$contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_CUSTOMERS_USE_POINTS . '<br />' . ENTRY_CUSTOMERS_STATUS_CUSTOMERS_USE_POINTS . ' ' . xtc_draw_input_field('customers_status_points_per_amount_purchase', $cInfo->customers_status_points_per_amount_purchase ));
$contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_CUSTOMERS_USE_REDEEM . '<br />' . ENTRY_CUSTOMERS_STATUS_CUSTOMERS_USE_REDEEM . ' ' . xtc_draw_input_field('customers_status_redeem_point_value', $cInfo->customers_status_redeem_point_value ));
$contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_CUSTOMERS_USE_PAYMENT . '<br />' . ENTRY_CUSTOMERS_STATUS_CUSTOMERS_USE_PAYMENT . ' ' . xtc_draw_input_field('customers_status_payment_point_value', $cInfo->customers_status_payment_point_value ));
$contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_PAYMENT_INTRO . '<br />' . ENTRY_PAYMENT . ' <br />' . xtc_draw_pull_down_menu('customers_status_payment', $customers_status_payment_array, $cInfo->customers_status_payment ));
##### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
$contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_SHIPPING_UNALLOWED_INTRO . '<br />' . ENTRY_CUSTOMERS_STATUS_SHIPPING_UNALLOWED . ' ' . xtc_draw_input_field('customers_status_shipping_unallowed', $cInfo->customers_status_shipping_unallowed ));
und füge danach ein:
##### BONUS
$contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_CUSTOMERS_USE_POINTS . '<br />' . ENTRY_CUSTOMERS_STATUS_CUSTOMERS_USE_POINTS . ' ' . xtc_draw_input_field('customers_status_points_per_amount_purchase', $cInfo->customers_status_points_per_amount_purchase ));
$contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_CUSTOMERS_USE_REDEEM . '<br />' . ENTRY_CUSTOMERS_STATUS_CUSTOMERS_USE_REDEEM . ' ' . xtc_draw_input_field('customers_status_redeem_point_value', $cInfo->customers_status_redeem_point_value ));
$contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_CUSTOMERS_USE_PAYMENT . '<br />' . ENTRY_CUSTOMERS_STATUS_CUSTOMERS_USE_PAYMENT . ' ' . xtc_draw_input_field('customers_status_payment_point_value', $cInfo->customers_status_payment_point_value ));
$contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_PAYMENT_INTRO . '<br />' . ENTRY_PAYMENT . ' <br />' . xtc_draw_pull_down_menu('customers_status_payment', $customers_status_payment_array, $cInfo->customers_status_payment));
##### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
$contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_SHIPPING_UNALLOWED_INTRO . '<br />' . ENTRY_CUSTOMERS_STATUS_SHIPPING_UNALLOWED . ':<b> ' . $cInfo->customers_status_shipping_unallowed.'</b>');
und füge danach ein:
##### BONUS
$contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_CUSTOMERS_USE_POINTS . '<br />' . ENTRY_CUSTOMERS_STATUS_CUSTOMERS_USE_POINTS . ' ' . $cInfo->customers_status_points_per_amount_purchase );
$contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_CUSTOMERS_USE_REDEEM . '<br />' . ENTRY_CUSTOMERS_STATUS_CUSTOMERS_USE_REDEEM . ' ' . $cInfo->customers_status_redeem_point_value );
$contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_CUSTOMERS_USE_PAYMENT . '<br />' . ENTRY_CUSTOMERS_STATUS_CUSTOMERS_USE_PAYMENT . ' ' . $cInfo->customers_status_payment_point_value );
$contents[] = array('text' => '<br />' . TEXT_INFO_CUSTOMERS_STATUS_PAYMENT_INTRO . '<br />' . ENTRY_PAYMENT . ' ' . $customers_status_payment_array[$cInfo->customers_status_payment]['text'] . ' (' . $cInfo->customers_status_payment . ')' );
##### BONUS END---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-admin/includes/application_top.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('FILENAME_XSELL_GROUPS','cross_sell_groups.php');
und füge danach ein:
##### BONUS
define('FILENAME_CUSTOMERS_POINTS', 'customers_points.php');
define('FILENAME_CUSTOMERS_POINTS_PENDING', 'customers_points_pending.php');
define('FILENAME_CATALOG_MY_POINTS', 'my_points.php');
define('FILENAME_CUSTOMERS_POINTS_REFERRAL', 'customers_points_referral.php');
define('FILENAME_CATALOG_MY_POINTS_HELP', 'my_points_help.php');
define('TABLE_CUSTOMERS_POINTS_PENDING', 'customers_points_pending');
##### BONUS END
---------------------------------------------------------------------------------------------------
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;
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-admin/includes/column_left.php
---------------------------------------------------------------------------------------------------
finde folgendes:
if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['orders'] == '1')) echo '<a href="' . xtc_href_link(FILENAME_ORDERS, '', 'NONSSL') . '" class="menuBoxContentLink"> -' . BOX_ORDERS . '</a><br>';
und füge danach ein:
##### BONUS
if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['customers_points'] == '1')) echo '<a href="' . xtc_href_link(FILENAME_CUSTOMERS_POINTS, '', 'NONSSL') . '" class="menuBoxContentLink"> -' . BOX_CUSTOMERS_POINTS . '</a><br>' ;// Bonusprogramm
if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['customers_points_pending'] == '1')) echo '<a href="' . xtc_href_link(FILENAME_CUSTOMERS_POINTS_PENDING, '', 'NONSSL') . '" class="menuBoxContentLink"> -' . BOX_CUSTOMERS_POINTS_PENDING . '</a><br>' ;// Bonusprogramm
if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['customers_points_referral'] == '1')) echo '<a href="' . xtc_href_link(FILENAME_CUSTOMERS_POINTS_REFERRAL, '', 'NONSSL') . '" class="menuBoxContentLink"> -' . BOX_CUSTOMERS_POINTS_REFERRAL . '</a><br>' ;// Bonusprogramm
##### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
echo ('<div class="dataTableHeadingContent"><b>'.BOX_HEADING_CONFIGURATION.'</b></div>');
und füge danach ein:
##### BONUS
if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['configuration'] == '1')) echo '<a href="' . xtc_href_link(FILENAME_CONFIGURATION, 'gID=66', 'NONSSL') . '" class="menuBoxContentLink"> -' . BOX_CONFIGURATION_66 . '</a><br>';
##### BONUS END
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-admin/includes/functions/general.php
---------------------------------------------------------------------------------------------------
finde folgendes:
xtc_db_query("delete from ".TABLE_ORDERS_TOTAL." where orders_id = '".xtc_db_input($order_id)."'");
und füge danach ein:
##### BONUS
xtc_db_query("delete from ".TABLE_CUSTOMERS_POINTS_PENDING . " where orders_id = '" . xtc_db_input($order_id) . "'");
##### BONUS END
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-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 'latin1'");
$db->Execute("SET CHARACTER_SET_CLIENT=latin1");
$db->Execute("SET CHARACTER_SET_RESULTS=latin1");
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-admin/orders.php
---------------------------------------------------------------------------------------------------
finde folgendes:
xtc_php_mail(EMAIL_BILLING_ADDRESS, EMAIL_BILLING_NAME, $check_status['customers_email_address'], $check_status['customers_name'], '', EMAIL_BILLING_REPLY_ADDRESS, EMAIL_BILLING_REPLY_ADDRESS_NAME, '', '', EMAIL_BILLING_SUBJECT, $html_mail, $txt_mail);
$customer_notified = '1';
}
und füge danach ein:
##### BONUS
if ((isset($_POST['confirm_points']) && ($_POST['confirm_points'] == 'on'))||(isset($_POST['delete_points']) && ($_POST['delete_points'] == 'on'))) {
$comments = ENTRY_CONFIRMED_POINTS . $comments;
$customer_query = xtc_db_query("SELECT customer_id, points_pending from " . TABLE_CUSTOMERS_POINTS_PENDING . " WHERE points_status = 1 AND points_type = 'SP' AND orders_id = '" . $oID . "'");
$customer_points = xtc_db_fetch_array($customer_query);
if (xtc_db_num_rows($customer_query)) {
if (xtc_not_null(POINTS_AUTO_EXPIRES)){
$expire = date('Y-m-d', strtotime('+ '. POINTS_AUTO_EXPIRES .' month'));
xtc_db_query("UPDATE " . TABLE_CUSTOMERS . " SET customers_shopping_points = customers_shopping_points + '". $customer_points['points_pending'] ."', customers_points_expires = '". $expire ."' WHERE customers_id = '". (int)$customer_points['customer_id'] ."'");
} else {
xtc_db_query("UPDATE " . TABLE_CUSTOMERS . " SET customers_shopping_points = customers_shopping_points + '". $customer_points['points_pending'] ."' WHERE customers_id = '". (int)$customer_points['customer_id'] ."'");
}
if (isset($_POST['delete_points']) && ($_POST['delete_points'] == 'on')) {
xtc_db_query("DELETE FROM " . TABLE_CUSTOMERS_POINTS_PENDING . " WHERE orders_id = '" . $oID . "' AND points_type = 'SP' LIMIT 1");
}
if (isset($_POST['confirm_points']) && ($_POST['confirm_points'] == 'on')) {
xtc_db_query("UPDATE " . TABLE_CUSTOMERS_POINTS_PENDING . " SET points_status = 2 WHERE orders_id = '" . $oID . "' AND points_type = 'SP' LIMIT 1");
}
}
}
##### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
<td class="main"><b><?php echo ENTRY_NOTIFY_COMMENTS; ?></b> <?php echo xtc_draw_checkbox_field('notify_comments', '', true); ?></td>
</tr>
</table></td>
und füge davor ein:
<!-- BONUS -->
<?php
$p_status_query = xtc_db_query("SELECT points_status FROM " . TABLE_CUSTOMERS_POINTS_PENDING . " WHERE points_status = 1 AND points_type = 'SP' AND orders_id = '" . $oID . "'");
if (xtc_db_num_rows($p_status_query)) {
echo '<tr><td class="main"><b>' . ENTRY_NOTIFY_POINTS . '</b> ' . ENTRY_QUE_POINTS . xtc_draw_checkbox_field('confirm_points', '', false) . ' ' . ENTRY_QUE_DEL_POINTS . xtc_draw_checkbox_field('delete_points', '', false) . ' </td></tr>';
}
?>
<!-- BONUS END -->
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-checkout_confirmation.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$order_total_modules->collect_posts();
$order_total_modules->pre_confirmation_check();
// GV Code End
und füge danach ein:
############ BONUS MODUL ##################
if (isset($_POST['customer_shopping_points_spending']) && USE_REDEEM_SYSTEM == 'true') {
if (!isset($_SESSION['customer_shopping_points_spending'])) {
$_SESSION['customer_shopping_points_spending'] = $_POST['customer_shopping_points_spending'];
}
if (isset($_POST['customer_shopping_points_spending']) && xtc_calc_shopping_pvalue($_SESSION['customer_shopping_points_spending']) < $order->info['total'] && !is_object($$_SESSION['payment'])) {
xtc_redirect(xtc_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(REDEEM_SYSTEM_ERROR_POINTS_NOT), 'SSL'));
}
} else {
if (isset($_SESSION['customer_shopping_points_spending'])) {
unset($_SESSION['customer_shopping_points_spending']);
}
}
if (isset($_POST['customer_referred']) && xtc_not_null($_POST['customer_referred'])) {
$valid_referral_query = xtc_db_query("SELECT customers_id FROM " . TABLE_CUSTOMERS . " WHERE customers_email_address = '" . $_POST['customer_referred'] . "'");
$valid_referral = xtc_db_fetch_array($valid_referral_query);
if (!xtc_db_num_rows($valid_referral_query)) {
xtc_redirect(xtc_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(REFERRAL_ERROR_NOT_FOUND), 'SSL'));
}
if ($_POST['customer_referred'] == $order->customer['email_address']) {
xtc_redirect(xtc_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(REFERRAL_ERROR_SELF), 'SSL'));
} else {
$customer_referral = $valid_referral['customers_id'];
if (!xtc_session_is_registered('customer_referral'))
$_SESSION['customer_referral'] = $customer_referral;
}
}
############ BONUS MODUL END ##################
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-checkout_payment.php
---------------------------------------------------------------------------------------------------
finde folgendes:
require_once (DIR_FS_INC . 'xtc_check_stock.inc.php');
und füge danach ein:
##### BONUS
require_once (DIR_FS_INC . 'xtc_count_customer_orders.inc.php');
##### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
} else {
$smarty->assign('GV_COVER', 'true');
}
und füge danach ein:
//Bonus start
$orders_total = xtc_count_customer_orders();
if ((USE_POINTS_SYSTEM == 'true') && (USE_REDEEM_SYSTEM == 'true')) {
if (($customer_shopping_points = xtc_get_shopping_points()) && $customer_shopping_points > 0){
if ((get_redemption_rules($order) == true) && (get_points_rules_discounted($order) == true)){
if ($customer_shopping_points >= POINTS_LIMIT_VALUE){
if ((POINTS_MIN_AMOUNT == '') || ($_SESSION['cart']->show_total() >= POINTS_MIN_AMOUNT) ){
if (isset($_SESSION['customer_shopping_points_spending']))
unset($_SESSION['customer_shopping_points_spending']);
if (USE_POINTS_AND_REDEEM_FROM_CUSTOMER_STATUS == 'false')
$max_points = $order->info['total']/REDEEM_POINT_VALUE > POINTS_MAX_VALUE ? POINTS_MAX_VALUE : $order->info['total']/REDEEM_POINT_VALUE;
else
$max_points = $order->info['total']/$_SESSION['customers_status']['customers_status_redeem_point_value'] > POINTS_MAX_VALUE ? POINTS_MAX_VALUE : $order->info['total']/$_SESSION['customers_status']['customers_status_redeem_point_value'];
$max_points = $customer_shopping_points > $max_points ? $max_points : $customer_shopping_points;
if ($order->info['total'] > xtc_calc_shopping_pvalue($max_points)) {
$note = '<br /><small>' . TEXT_REDEEM_SYSTEM_NOTE .'</small>';
}
$_SESSION['customer_shopping_points_spending'] = $max_points;
$smarty->assign('VALUED', $xtPrice->xtcFormat(xtc_calc_shopping_pvalue($customer_shopping_points),'true'));
$smarty->assign('ORDER_TOTAL', $xtPrice->xtcFormat($order->info['total'],'true'));
$smarty->assign('NOTE', $note);
$smarty->assign('MAX_POINTS',number_format($max_points,POINTS_DECIMAL_PLACES));
$smarty->assign('VALUED_MAX_POINTS', $xtPrice->xtcFormat(xtc_calc_shopping_pvalue($max_points),'true'));
$smarty->assign('LIMIT_EXACT_TRUE_MAX_POINTS', xtc_draw_checkbox_field('customer_shopping_points_spending', $customer_shopping_points_spending,'','onclick="submitFunction()"'));
}
}
//$smarty->assign('NOTE_NOT_ENOUGH_POINTS', 'true');
}
}
if (xtc_not_null(USE_REFERRAL_SYSTEM) && $orders_total < 1) {
$smarty->assign('REFERRAL_INPUT', xtc_draw_input_field('customer_referred', $_SESSION['$customer_referred']));
$smarty->assign('TABLE_HEADING_REFERRAL', TABLE_HEADING_REFERRAL);
$smarty->assign('TEXT_REFERRAL_REFERRED', TEXT_REFERRAL_REFERRED);
}
}
//Bonus ende
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-checkout_process.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$sql_data_array = array ('orders_id' => $insert_id, 'title' => $order_totals[$i]['title'], 'text' => $order_totals[$i]['text'], 'value' => $order_totals[$i]['value'], 'class' => $order_totals[$i]['code'], 'sort_order' => $order_totals[$i]['sort_order']);
xtc_db_perform(TABLE_ORDERS_TOTAL, $sql_data_array);
}
und füge danach ein:
############ BONUS MODUL ##################
if (MODULE_ORDER_TOTAL_INSTALLED) {
$cod_value = 0;
for ($i = 0, $n = sizeof($order_totals); $i < $n; $i++) {
if ($order_totals[$i][code]=='ot_cod_fee')
$cod_value = $order_totals[$i][value];
}
}
if ((USE_POINTS_SYSTEM == 'true') && (USE_REDEEM_SYSTEM == 'true')) {
// customer pending points added
if (($order->info['total'] > 0) && (get_award_discounted($order) == true)) {
$points_toadd = get_points_toadd($order,$cod_value);
$points_comment = 'TEXT_DEFAULT_COMMENT';
$points_type = 'SP';
if ((get_redemption_awards($_SESSION['customer_shopping_points_spending']) == true) && ($points_toadd >0)) {
xtc_add_pending_points($_SESSION['customer_id'], $insert_id, $points_toadd, $points_comment, $points_type);
}
}
// customer referral points added
if (isset($_SESSION['customer_referral']) && (xtc_not_null(USE_REFERRAL_SYSTEM))) {
$points_toadd = USE_REFERRAL_SYSTEM;
$points_comment = 'TEXT_DEFAULT_REFERRAL';
$points_type = 'RF';
xtc_add_pending_points($_SESSION['customer_referral'], $insert_id, $points_toadd, $points_comment, $points_type);
}
// customer shoppping points account balanced
if ($_SESSION['customer_shopping_points_spending']) {
xtc_redeemed_points($_SESSION['customer_id'], $insert_id, $_SESSION['customer_shopping_points_spending']);
}
}
############ BONUS MODUL END ##################
---------------------------------------------------------------------------------------------------
finde folgendes:
unset ($_SESSION['shipping']);
unset ($_SESSION['payment']);
unset ($_SESSION['comments']);
und füge danach ein:
############ BONUS MODUL ##################
unset ($_SESSION['customer_shopping_points']);
unset ($_SESSION['customer_shopping_points_spending']);
unset ($_SESSION['customer_referral']);
unset ($_SESSION['points_on']);
############ BONUS MODUL END ##################
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-create_account.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$smarty->caching = 0;
$txt_mail = $smarty->fetch(CURRENT_TEMPLATE.'/mail/'.$_SESSION['language'].'/create_account_mail.txt');
und füge danach ein:
############ BONUS MODUL ##################
if (NEW_SIGNUP_POINT_AMOUNT > 0) {
xtc_add_welcome_points($_SESSION['customer_id']);
$points_account .= '<a href="' . xtc_href_link(FILENAME_MY_POINTS) . '"><b><u>' . EMAIL_POINTS_ACCOUNT . '</u></b></a>.';
$points_faq .= '<a href="' . xtc_href_link(FILENAME_MY_POINTS_HELP) . '"><b><u>' . EMAIL_POINTS_FAQ . '</u></b></a>.';
require (DIR_WS_INCLUDES.'write_customers_status.php');
$text_points = sprintf(EMAIL_WELCOME_POINTS , $points_account,number_format(NEW_SIGNUP_POINT_AMOUNT,POINTS_DECIMAL_PLACES),$xtPrice->xtcFormat(xtc_calc_shopping_pvalue(NEW_SIGNUP_POINT_AMOUNT),'true'),$points_faq) ."\n\n";
$html_mail .= $text_points;
$txt_mail .= $text_points;
}
############ BONUS MODUL END ##################
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-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 'latin1'");
$db->Execute("SET CHARACTER_SET_CLIENT=latin1");
$db->Execute("SET CHARACTER_SET_RESULTS=latin1");
---------------------------------------------------------------------------------------------------
finde folgendes:
require (DIR_WS_CLASSES.'boxes.php');
und füge danach ein:
##### BONUS
require('imedes_library/redemptions.php');
##### BONUS END
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/classes/product.php
---------------------------------------------------------------------------------------------------
finde folgendes:
return array ('PRODUCTS_NAME' => $array['products_name'],
und ersetze es mit:
$p_array = array ('PRODUCTS_NAME' => $array['products_name'],
---------------------------------------------------------------------------------------------------
finde folgendes:
'PRODUCTS_FSK18' => $array['products_fsk18']);
und füge danach ein:
//Bonus start
if ((USE_POINTS_SYSTEM == 'true') && (DISPLAY_POINTS_INFO == 'true')) { // check that the points system is enabled
$products_price_points = xtc_display_points($products_price[plain], xtc_get_tax_rate($array['products_tax_class_id']));
$products_points = xtc_calc_products_price_points($products_price_points);
$products_points_value = xtc_calc_price_pvalue($products_points);
if (USE_POINTS_FOR_SPECIALS == 'true'){
$p_array['PRODUCTS_POINTS'] = $products_points;
$p_array['PRODUCTS_POINTS_VALUE'] = $xtPrice->xtcFormat($products_points_value,'true');
} else {
$p_array['PRODUCTS_POINTS'] = TEXT_PRODUCT_NO_POINTS;
}
} else {
$p_array['PRODUCTS_POINTS'] = TEXT_PRODUCT_NO_POINTS;
}
//Bonus ende
return $p_array;
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/database_tables.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('TABLE_CAMPAIGNS_IP','campaigns_ip');
und füge danach ein:
//Bonus start
define('TABLE_CUSTOMERS_POINTS_PENDING', 'customers_points_pending');
//Bonus ende
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/filenames.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('FILENAME_BANNER', 'banners.php');
und füge danach ein:
//Bonus start
define('FILENAME_MY_POINTS', 'my_points.php');
define('FILENAME_MY_POINTS_HELP', 'my_points_help.php');
//Bonus ende
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-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 'latin1'");
$db->Execute("SET CHARACTER_SET_CLIENT=latin1");
$db->Execute("SET CHARACTER_SET_RESULTS=latin1");
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/modules/product_info.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$info_smarty->assign('PRODUCTS_TAX_INFO', $tax_info);
$info_smarty->assign('PRODUCTS_SHIPPING_LINK',$main->getShippingLink());
}
und füge danach ein:
##### BONUS
if ((USE_POINTS_SYSTEM == 'true') && (DISPLAY_POINTS_INFO == 'true')) { // check that the points system is enabled
$products_price_points = xtc_display_points($products_price[plain], xtc_get_tax_rate($product->data['products_tax_class_id']));
$products_points = xtc_calc_products_price_points($products_price_points);
$products_points_value = xtc_calc_price_pvalue($products_points);
if (USE_POINTS_FOR_SPECIALS == 'true' || !$xtPrice->xtcCheckSpecial($product->data['products_id'])){
$info_smarty->assign('PRODUCTS_POINTS', $products_points);
$info_smarty->assign('PRODUCTS_POINTS_VALUE', $xtPrice->xtcFormat($products_points_value,'true'));
} else {
$info_smarty->assign('PRODUCTS_POINTS', TEXT_PRODUCT_NO_POINTS);
}// else do not show points_value
}
##### BONUS END
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/write_customers_status.php
---------------------------------------------------------------------------------------------------
finde folgendes:
'customers_status_shipping_unallowed' => $customers_status_value['customers_status_shipping_unallowed'],
und füge danach ein:
##### BONUS
'customers_status_redeem_point_value' => $customers_status_value['customers_status_redeem_point_value'],
'customers_status_payment' => $customers_status_value['customers_status_payment'],
'customers_status_payment_point_value' => $customers_status_value['customers_status_payment_point_value'],
'customers_status_points_per_amount_purchase' => $customers_status_value['customers_status_points_per_amount_purchase'],
##### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
'customers_status_shipping_unallowed' => $customers_status_value['customers_status_shipping_unallowed'],
und füge danach ein:
##### BONUS
'customers_status_redeem_point_value' => $customers_status_value['customers_status_redeem_point_value'],
'customers_status_payment_point_value' => $customers_status_value['customers_status_payment_point_value'],
'customers_status_points_per_amount_purchase' => $customers_status_value['customers_status_points_per_amount_purchase'],
'customers_status_payment' => $customers_status_value['customers_status_payment'],
##### BONUS END
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/english/admin/configuration.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('DISPLAY_REVOCATION_ON_CHECKOUT_DESC','Display right of revocation on checkout_confirmation?');
und füge danach ein:
//Bonus start
define('USE_POINTS_SYSTEM_TITLE','Aktivierung des Bonusprogramms');
define('USE_REDEEM_SYSTEM_TITLE','Aktivierung des Einlöseprogramms');
define('POINTS_PER_AMOUNT_PURCHASE_TITLE','Punkte für je eine Währungseinheit');
define('REDEEM_POINT_VALUE_TITLE','Wert eines Punktes beim Einlösen');
define('POINTS_AUTO_ON_TITLE','Automatsiches Bestätigen der Punkte');
define('USE_POINTS_FOR_SHIPPING_TITLE','Punkte für Versandkosten');
define('USE_POINTS_FOR_TAX_TITLE','Punkte für Steuern');
define('USE_POINTS_FOR_SPECIALS_TITLE','Punkte für Sonderangebote');
define('USE_POINTS_FOR_REDEEMED_TITLE','Punkte sammeln bei eingelöste Bestellungen');
define('RESTRICTION_MODEL_TITLE','Wenn Beschränkung aktiviert, welche model ist erlaubt?.');
define('RESTRICTION_PID_TITLE','oder welche Produkt ID ist erlaubt.');
define('RESTRICTION_PATH_TITLE','oder welche Kategorie ID ist erlaubt.');
define('REDEMPTION_DISCOUNTED_TITLE','Aktivierung von Preisbeschränkungen');
define('POINTS_LIMIT_VALUE_TITLE','benötigte Mindespunkte zur Einlösung');
define('POINTS_MAX_VALUE_TITLE','Maximalpunkte einer Bestellung');
define('POINTS_MIN_AMOUNT_TITLE','Mindestbestellwert für Einlösung der Punkte');
define('NEW_SIGNUP_POINT_AMOUNT_TITLE','Punkte für Neuregistrierung');
define('MAX_DISPLAY_POINTS_RECORD_TITLE','Maximalanzahl der Einträge in der Übsersicht');
define('DISPLAY_POINTS_INFO_TITLE','Punkteinformationen in der Product_info anzeigen');
define('DISPLAY_POINTS_REDEEMED_TITLE','Speicherung aller eingelösten Punkte?');
define('MODULE_ORDER_TOTAL_REDEMPTIONS_SORT_ORDER_TITLE','Sort Order');
define('USE_POINTS_AND_REDEEM_FROM_CUSTOMER_STATUS_TITLE','Kundengruppen berücksichtigen');
define('POINTS_DECIMAL_PLACES_TITLE','Dezimalstellen der Punkte');
define('POINTS_AUTO_EXPIRES_TITLE','Automatischer Verfall der Punkte');
define('POINTS_EXPIRES_REMIND_TITLE','Automatische Erinnerung vor dem Verfalldatum');
define('USE_POINTS_FOR_REVIEWS_TITLE','Sammeln von Punkten für Reviews');
define('USE_REFERRAL_SYSTEM_TITLE','Punkte für die Weiterempfehlung');
define('MIN_PAYMENT_TITLE','Mindestpunkte für die Auszahlung');
define('MIN_INPUT_PAYMENT_TITLE','Mindesteingabe des Kunden für die Auszahlung');
define('USE_PAYMENT_SYSTEM_TITLE','Punkteauszahlungssystem aktivieren?');
define('PAYMENT_POINT_VALUE_TITLE','Wert eines Punktes beim Auszahlen');
define('PAYMENT_POINT_VALUE_DESC','Der Wert eines Punktes beim Auszahlen.<br>(Die Währung entspricht, die im admin als Standardwährung angegebene Währung)');
define('USE_PAYMENT_SYSTEM_DESC','Aktivieren, damit die Auszahlung von Punkten möglich ist.');
define('MIN_INPUT_PAYMENT_DESC','Bitte geben Sie hier die Punkte an, die ein Kunde mindestens angeben muß, um eine Auszahlung in Gang zu setzen.');
define('MIN_PAYMENT_DESC','Bitte geben Sie hier die Punkte an, die man mindestens benötigt, um eine Auszahlung in Gang zu setzen.');
define('POINTS_AUTO_EXPIRES_DESC','Bitte geben Sie hier die Dauer in Monaten ein, bevor die Punkte verfallen.<br>Zum Deaktivieren einfach leer lassen.');
define('POINTS_EXPIRES_REMIND_DESC','Bitte geben Sie hier die Tage an, wann die automatische Erinnerung vor dem Verfall der Punkte gesendet werden soll.<br>Zum Deaktivieren einfach leer lassen.');
define('USE_POINTS_FOR_REVIEWS_DESC','Falls Sie für das Schreiben von Reviews Punkte vergeben wollen, dann müssen Sie hier den Punktewert eingeben.<br>Zum Deaktivieren einfach leer lassen.');
define('USE_REFERRAL_SYSTEM_DESC','Falls Sie für eine Weiterempfehlung Punkte vergeben wollen, dann müssen Sie hier den Punktewert eingeben.<br>Zum Deaktivieren einfach leer lassen.');
define('POINTS_DECIMAL_PLACES_DESC','Bitte geben Sie hier die Anzahl der Dezimalstellen für die Punkte an.');
define('USE_POINTS_AND_REDEEM_FROM_CUSTOMER_STATUS_DESC','Aktivieren, wenn die Werte fürs Sammeln oder Einlösen der Punkte Kundengruppenabhängig sein soll.');
define('USE_POINTS_SYSTEM_DESC','Aktivieren, damit der Kunde Punkte sammeln darf');
define('USE_REDEEM_SYSTEM_DESC','Aktivieren, damit der Kunde am Ende der Bestellung die Punkte einlösen kann.');
define('POINTS_PER_AMOUNT_PURCHASE_DESC','Wieviel Punkte entsprechen einem Euro?<br>(Die Währung entspricht, die im admin als Standardwährung angegebene Währung)');
define('REDEEM_POINT_VALUE_DESC','Der Wert eines Punktes beim Einlösen.<br>(Die Währung entspricht, die im admin als Standardwährung angegebene Währung)');
define('POINTS_AUTO_ON_DESC','Schwebende Punkte werden automatisch bestätigt, abhängig von der Anzahl der Tage, die nach Sammeln der Punkte vergangen sind<br>Wenn die Bestätigung am gleichen Tag erfolgen soll muß eine 0 eingefügt werden.<br>Zum Deaktivieren einfach leer lassen.');
define('USE_POINTS_FOR_SHIPPING_DESC','Kann man mit den Versandksten auch Punkte sammeln?');
define('USE_POINTS_FOR_TAX_DESC','Kann man mit den Steuern auch Punkte sammeln?');
define('USE_POINTS_FOR_SPECIALS_DESC','Wenn deaktiviert werden nur Artikel für das Sammeln der Bonuspunkte berücksichtigt, die keinen Sonderpreis haben');
define('USE_POINTS_FOR_REDEEMED_DESC','Wenn deaktiviert könnnen Kunden keine Punkte sammeln, wenn Ein Teil der zu bezahlenden Summe einer Bestellung mit Punkten vollbracht wurde.');
define('RESTRICTION_MODEL_DESC','Welche Artikelnummern sind erlaubt? (Wenn Produktbeschränkungen aktiviert ist)');
define('RESTRICTION_PID_DESC','Welche Artikelid\'s, kommagetrennt, sind erlaubt? (Wenn Produktbeschränkungen aktiviert ist)<br>Leer lassen wenn Artikelnummern befreit werden sollen.');
define('RESTRICTION_PATH_DESC','Welche Kategorieid\'s, kommagetrennt, sind erlaubt? (Wenn Produktbeschränkungen aktiviert ist)<br>Leer lassen wenn Artikelnummern befreit werden sollen.');
define('REDEMPTION_DISCOUNTED_DESC','Wenn deaktiviert könnnen Kunden keine Punkte für Podukte einlösen, die Preisreduziert sind.');
define('POINTS_LIMIT_VALUE_DESC','Minimale Punktezahl. die zum Einlösen nötig sind. Eine 0 deaktiviert diese Option');
define('POINTS_MAX_VALUE_DESC','Maximale Punktezahl, die man bei einer Bestellung einlösen darf.');
define('POINTS_MIN_AMOUNT_DESC','Wie hoch ist der Mindestbestellwert, das zum Einlösen von Punkten berechtigt?<br>Wennn es leer gelassen wird gibt es keine Beschränkung.');
define('NEW_SIGNUP_POINT_AMOUNT_DESC','Wieiviele Punkte bekommen neuregistrierte Kunden? Bei 0 wird es deaktiviert.');
define('MAX_DISPLAY_POINTS_RECORD_DESC','Zahl der Einträge auf der my_points Seite');
define('DISPLAY_POINTS_INFO_DESC','Soll in der Produktdetailansicht Informationen zum Sammeln von Punkten aufgeführt werden?');
define('DISPLAY_POINTS_REDEEMED_DESC','Sollen alle Einlösungen gespeichert werden?');
define('MODULE_ORDER_TOTAL_REDEMPTIONS_SORT_ORDER_DESC','Sort order of display.');
//Bonus ende
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/english/admin/customers_status.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('ENTRY_CUSTOMERS_STATUS_BASE', 'wird als Grundlage für die Preise der neuen Kundengruppe gewählt. Wenn Auswahl = Admin werden keine Preise für die neue Kundengruppe angelegt.');
und füge danach ein:
##### BONUS
define('TABLE_HEADING_PAYMENT','Disbursement');
define('TABLE_HEADING_CUSTOMERS_USE_PAYMENT','Worth<br>of<br>a point<br>for<br>disbursement');
define('TEXT_INFO_CUSTOMERS_STATUS_PAYMENT_INTRO','<b>Disbursement of the points</b>');
define('ENTRY_PAYMENT','Disbursement of the points:<br>');
define('TABLE_HEADING_CUSTOMERS_USE_POINTS','Points <br>per <br>currency <br>purchase');
define('TABLE_HEADING_CUSTOMERS_USE_REDEEM','Value of 1 point when Redeemed');
define('TEXT_INFO_CUSTOMERS_STATUS_CUSTOMERS_USE_POINTS','<b>Points per currency purchase</b>');
define('TEXT_INFO_CUSTOMERS_STATUS_CUSTOMERS_USE_REDEEM','<b>Value of 1 point when Redeemed</b>');
define('TEXT_INFO_CUSTOMERS_STATUS_CUSTOMERS_USE_PAYMENT','<b>Value of 1 point for the disbursement</b>');
define('ENTRY_CUSTOMERS_STATUS_CUSTOMERS_USE_POINTS','');
define('ENTRY_CUSTOMERS_STATUS_CUSTOMERS_USE_REDEEM','');
define('ENTRY_CUSTOMERS_STATUS_CUSTOMERS_USE_PAYMENT','');
##### BONUS END
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/english/admin/english.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('TEXT_REFERER','Referer: ');
und füge danach ein:
##### BONUS
define('BOX_CUSTOMERS_POINTS', 'Customers Points');
define('BOX_CUSTOMERS_POINTS_PENDING', 'Pending Points');
define('BOX_CONFIGURATION_66', 'Points Configuaration');
define('BOX_CUSTOMERS_POINTS_REFERRAL', 'RF/RV/PM Points');
##### BONUS END
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/english/admin/orders.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('TEXT_VALIDATING','Not validated');
und füge danach ein:
##### BONUS
define('ENTRY_NOTIFY_POINTS', 'Confirm Pending Points:');
define('ENTRY_QUE_POINTS', 'and Que');
define('ENTRY_QUE_DEL_POINTS', 'and Delete:');
define('ENTRY_CONFIRMED_POINTS', 'Points Confirmed. ');
##### BONUS END
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/english/english.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('MORE_INFO','[More]');
und füge danach ein:
//Bonus start
define('TEXT_NO_POINTS','You don\'t have Qualified Points yet.');
define('REDEEM_SYSTEM_ERROR_POINTS', 'REDEEM POINTS ERROR ! You do not have that many Shopping points to spend.');
define('REDEEM_SYSTEM_ERROR_POINTS_EMPTY', 'REDEEM POINTS ERROR ! You did not enter points to spend.');
define('REDEEM_SYSTEM_ERROR_POINTS_MAX', 'REDEEM POINTS ERROR ! We are sorry but you Cannot spend more then ' . number_format(POINTS_MAX_VALUE,2) . ' points per order.');
define('REDEEM_SYSTEM_ERROR_POINTS_NOT', 'Points value are not enough to cover the cost of your purchase. Please select another payment method');
define('REDEEM_SYSTEM_ERROR_POINTS_OVER', 'REDEEM POINTS ERROR ! Points value can not be over the total value. Please Re enter points');
define('TEXT_POINTS_BALANCE', 'Your Points Info.');
define('TEXT_POINTS', 'Points:');
define('TEXT_VALUE', 'Value:');
define('NAVBAR_TITLE', 'Points Information');
define('HEADING_TITLE', 'Points Information');
define('HEADING_ORDERS_STATUS', 'Order Status');
define('TEXT_DEFAULT_COMMENT', 'Shopping Points');
define('TEXT_DEFAULT_REDEEMED', 'Redeemed Points');
define('TEXT_ORDER_ADMINISTATION', '---');
define('TEXT_STATUS_ADMINISTATION', '-----------');
define('TEXT_POINTS_PENDING', 'Pending');
define('TEXT_POINTS_PROCESSING', 'Processing');
define('TEXT_POINTS_CONFIRMED', 'Confirmed');
define('TEXT_POINTS_CANCELLED', 'Cancelled');
define('TEXT_POINTS_REDEEMED', 'Redeemed');
define('MY_POINTS_CURRENT_BALANCE', 'The Current Balance of your shopping points is : <b>%s</b> points. ');
define('MY_POINTS_CURRENT_VALUE', 'Valued at :<b>%s</b> .');
define('TEXT_NO_PURCHASES', 'You have not yet made any purchases, and you don\'t have points yet');
define('TEXT_NOT_ENOUGH_POINTS', 'You have not yet made any purchases, and you don\'t have points yet<br> The minimum points are: ');
define('TEXT_DISPLAY_NUMBER_OF_RECORDS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> records)');
define('POINTS_FAQ_1', 'What is the Reward Point Program?');
define('POINTS_FAQ_2', 'How does the Program work?');
define('POINTS_FAQ_3', 'Points and Values');
define('POINTS_FAQ_4', 'Redeeming Shopping Points');
define('POINTS_FAQ_5', 'Disbursement Shopping Points');
define('POINTS_FAQ_6', 'Minimum Points Required');
define('POINTS_FAQ_7', 'Minimum Purchase Amount Required');
define('POINTS_FAQ_8', 'Maximum Points Redeemptions allowed per order');
define('POINTS_FAQ_9', 'Will I earn points for shipping fees?');
define('POINTS_FAQ_10', 'Will I earn points for tax fees?');
define('POINTS_FAQ_11', 'Will I earn points for discounted products?');
define('POINTS_FAQ_12', 'Will I earn points when purchases paid with points?');
define('POINTS_FAQ_13', 'Products Restrictions');
define('POINTS_FAQ_14', 'Products on sale Restrictions');
define('POINTS_FAQ_15', 'Conditions of Use');
define('POINTS_FAQ_16', 'When Problems Occur');
define('TEXT_INFORMATION', '<a name="Top"></a>
<ol>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=1','NONSSL').'">' . POINTS_FAQ_1 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=2','NONSSL').'">' . POINTS_FAQ_2 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=3','NONSSL').'">' . POINTS_FAQ_3 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=4','NONSSL').'">' . POINTS_FAQ_4 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=5','NONSSL').'">' . POINTS_FAQ_5 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=6','NONSSL').'">' . POINTS_FAQ_6 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=7','NONSSL').'">' . POINTS_FAQ_7 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=8','NONSSL').'">' . POINTS_FAQ_8 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=9','NONSSL').'">' . POINTS_FAQ_9 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=10','NONSSL').'">' . POINTS_FAQ_10 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=11','NONSSL').'">' . POINTS_FAQ_11 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=12','NONSSL').'">' . POINTS_FAQ_12 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=13','NONSSL').'">' . POINTS_FAQ_13 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=14','NONSSL').'">' . POINTS_FAQ_14 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=15','NONSSL').'">' . POINTS_FAQ_15 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=16','NONSSL').'">' . POINTS_FAQ_16 . '</a></li>
</ol>');
define('SUB_HEADING_TITLE_1','' . POINTS_FAQ_1 . '');
define('SUB_HEADING_TEXT_1','
To thank you all for your support and to offer future incentives to you we would like to give something back, this is why we have launched this great Reward Point Program.
<br><br>
Our Reward Point Program is as simple as it sounds. While shopping at ' . STORE_NAME . ' you will earn Shopping Points for the money you spend.
<br>
Once earned, you\'ll be able to use those points to pay for future purchases at ' . STORE_NAME . '.
<br><br>
The Reward Point Program began on %s . All purchases made after that date will earn points.');
define('SUB_HEADING_TITLE_2','' . POINTS_FAQ_2 . '');
define('POINTS_EXPIRES_TEXT','');
define('POINTS_EXPIRES_TEXT_1','');
define('SUB_HEADING_TEXT_2','
When an order is placed, the total amount<span class="smalltext"><font color="FF6633">*</font></span> of the order will be used to calculate the amount of points earned.
These points are added to your Shopping Points account as pending points.
<br>
All pending points are listed in your <a href="%s"> <u>Shopping Points account </u></a> and will stay there until approved/confirmed by %s.
<br><br>
Once any pending points have been approved, they will be released and your account will be credited with the value of those points. Ready for you to spend on whatever you want.
<br>
Reward points do not expire and can be accumulated until you decide to use them.
<br>You must login to your account in order to view the status of your points.
<br><br>
During the checkout procces you\'ll be able to pay for your order with your points balance.
<br>
<br>
<span class="smalltext"><font color="FF6633">*</font> in most cases shipping fees and taxes excluded .see refered FAQ for more details.');
define('SUB_HEADING_TITLE_3','' . POINTS_FAQ_3 . '<br></font></b>');
define('SUB_HEADING_TEXT_3','
Currently, for every %s spent at %s you\'ll earn %s %s. Each point is worth %s off a future purchase.
<br>For example:<br>
<b>Product Cost:</b> %s<br>
<b>Value of Points Earned:</b> %s<br><br>
Please note, we reserve the right to make changes to the above rate at any time without prior notice. The rate shown here will always be current.');
define('SUB_HEADING_TITLE_4','' . POINTS_FAQ_4 . '');
define('SUB_HEADING_TEXT_4','
If you have a balance in your Shopping Points Account, you can use those points to pay for purchases made at %s.
<br>
During the checkout proccess, on the same page that you select a payment method, there will be a box to enter the amount of points you wish to redeem. Enter the amout of points you would like to spend or tick the box to use all available points.
Please note, you will still have to select another payment method if there
is not enough in your Shopping Points Account to cover the cost of your purchase.
<br>
Continue the checkout procedure and at the confirmation page you\'ll notice that the value of the points redeemed will have been credited towards your order. Once you confirm your order, your Shopping Points account will be updated and the points used deducted from your balance.
<br>
Note that any purchase made by redeeming points will only be rewarded with additional points for the amount spent other then points.');
define('SUB_HEADING_TITLE_5','' . POINTS_FAQ_5 . '');
if (isset($_SESSION['customers_status']['customers_status_payment'])) {
if (USE_POINTS_SYSTEM == 'true' && $_SESSION['customers_status']['customers_status_payment'] == '1')
define('SUB_HEADING_TEXT_5','
Have you enough of points you can make adisbursement at %s.
');
else {
define('SUB_HEADING_TEXT_5','
You can´t make a disbursement.');
}
} else {
define('SUB_HEADING_TEXT_5','
You can´t make a disbursement.');
}
define('SUB_HEADING_TITLE_6','' . POINTS_FAQ_6 . '<br></font></b>');
define('SUB_HEADING_TEXT_6_1','
Currently, a minimum balance of <b>%s</b> points <b>(%s)' . '</b> is required before you can redeem them.
<br>
We strongly advise you to check this page often as we may make changes to this policy.');
define('SUB_HEADING_TEXT_6_2','
Currently, no minimum balance is required to redeem your points. Please note, you\'ll still have to select another payment method if there isn\'t enough in your Shopping Points account to cover the cost of your purchase.<br>
<br>
We strongly advise you to check this page often as we may make changes to this policy.');
define('SUB_HEADING_TITLE_7','' . POINTS_FAQ_7 . '<br></font></b>');
define('SUB_HEADING_TEXT_7_1','
Currently, a minimum of <b>%s</b> in total (per purchase) is required before any Points Redemptions can take place.
<br>
<br>
We strongly advise you to check this page often as we may make changes to this policy.');
define('SUB_HEADING_TEXT_7_2','
Currently, no Minimum Purchase Amount required to redeem your points.
<br>
<br>
We strongly advise you to check this page often as we may make changes to this policy.');
define('SUB_HEADING_TITLE_8','' . POINTS_FAQ_8 . '<br></font></b>');
define('SUB_HEADING_TEXT_8','
A maximum of <b>%s</b> points <b>(%s)' . '</b> is allowed to redeem per order.
<br>
We strongly advise you to check this page often as we may make changes to this policy.');
define('SUB_HEADING_TITLE_9','' . POINTS_FAQ_9 . '<br></font></b>');
define('SUB_HEADING_TEXT_9_1','
No.
<br>
When calculating the amount of points earned. shipping fees are excluded. ');
define('SUB_HEADING_TEXT_9_2','
Yes.
<br>
When calculating the amount of points earned. shipping fees are included.
<br>
We strongly advise you to check this page often as we may make changes to this policy.');
define('SUB_HEADING_TITLE_10','' . POINTS_FAQ_10 . '<br></font></b>');
define('SUB_HEADING_TEXT_10_1','
No.
<br>
When calculating the amount of points earned. taxes are excluded. ');
define('SUB_HEADING_TEXT_10_2','
Yes.
<br>
When calculating the amount of points earned. taxes are included.
<br>
We strongly advise you to check this page often as we may make changes to this policy.');
define('SUB_HEADING_TITLE_11','' . POINTS_FAQ_11 . '<br></font></b>');
define('SUB_HEADING_TEXT_11_1','
No.
<br>
When calculating the amount of points earned. All items which their price have been discounted are excluded. ');
define('SUB_HEADING_TEXT_11_2','
Yes.
<br>
When calculating the amount of points earned. All items which their price have been discounted are included.
<br>
We strongly advise you to check this page often as we may make changes to this policy.');
define('SUB_HEADING_TITLE_12','' . POINTS_FAQ_12 . '<br></font></b>');
define('SUB_HEADING_TEXT_12_1','
No.
<br>
When calculating the amount of points earned. Any purchase made by redeeming points are excluded. ');
define('SUB_HEADING_TEXT_12_2','
Yes.
<br>
Please note, any purchase made by redeeming points will only be rewarded with additional points for the amount spent other then points.
<br>
We strongly advise you to check this page often as we may make changes to this policy.');
define('SUB_HEADING_TEXT_13_1','<br>
Currently, only items which have the model <b>[%s]</b> can be purchased using your points balance.
<br>We strongly advise you to check this page often as we may make changes to this policy.');
define('SUB_HEADING_TEXT_13_2','<br>
Currently, only the following items can be purchased using your points balance.<ul>%s</ul>
We strongly advise you to check this page often as we may make changes to this policy.');
define('SUB_HEADING_TEXT_13_3','<br>
Currently, only items in the following categories can be purchased using your points balance.<ul>%s</ul>
We strongly advise you to check this page often as we may make changes to this policy.');
define('SUB_HEADING_TEXT_13_4','<br>
Currently, no restrictions apply to what items may be purchased using your points balance.
<br>We advise you to check this page often as we may make changes to this policy.');
define('SUB_HEADING_TITLE_13','' . POINTS_FAQ_13);
define('SUB_HEADING_TITLE_14','' . POINTS_FAQ_14 . '<br></font></b>');
define('SUB_HEADING_TEXT_14_1','
Currently, No items which their price have been discounted can be purchased using your points balance.
<br>We strongly advise you to check this page often as we may make changes to this policy.');
define('SUB_HEADING_TEXT_14_2','
Currently, no restrictions apply to what items may be purchased using your points balance.
<br>We advise you to check this page often as we may make changes to this policy.');
define('SUB_HEADING_TITLE_15','' . POINTS_FAQ_15 . '');
define('SUB_HEADING_TEXT_15','
<ul>
<li>Shopping Points are only available to registered %s member\'s.</li>
<li>Shopping Points Reward can only be collected and used with online purchases. and are only validated at %s.</li>
<li>Points are non-refundable and can\'t be transferred between member\'s.</li>
<li>Shopping Points are non-transferable or exchangeable for cash under any circumstances.</li>
<li>Shopping Points will not be refunded for any cancelled order.</li>
<li>When buying with Points,you will still have to select another payment method if there is not enough in your Shopping Points Account to cover the cost of your purchase.</li>
<li>When calculating the amount of points earned. shipping fees and taxes are excluded(unless other.see refered FAQ for more details).</li>
</ul>
Please note, we reserve the right to make changes to this policy at any time without prior notice or liability.');
define('SUB_HEADING_TITLE_16','' . POINTS_FAQ_16 . '');
define('SUB_HEADING_TEXT_16','
For any queries regarding our Reward Point Program, please <a href="%s"> <u>contact us </u></a>. Make sure you provide as much information as possible in the e-mail.');
define('SUB_HEADING_TITLE_17','');
define('SUB_HEADING_TEXT_17','<font color="FF0000"><b>Please choose from one of the topics above.</b></font>');
define('EMAIL_WELCOME_POINTS', '<li><b>Reward Point Program</b> - As part of our Welcome to new customers, we have credited your %s with a total of %s Shopping Points worth %s .' . "\n" . 'Please refer to the %s as conditions may apply.');
define('EMAIL_POINTS_ACCOUNT', 'Shopping Points Account');
define('EMAIL_POINTS_FAQ', 'Reward Point Program FAQ');
define('REVIEW_HELP_LINK', 'Write a Review and earn <b>%s</b> worth of points.<br />Please check the <a href="' . xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=13', 'NONSSL') . '" title="Reward Point Program FAQ"><u>Reward</u></a> Point Program FAQ for more information.');
define('REDEEM_SYSTEM_ERROR_POINTS_NOT', 'Points value are not enough to cover the cost of your purchase. Please select another payment method');
define('REDEEM_SYSTEM_ERROR_POINTS_OVER', 'REDEEM POINTS ERROR ! Points value can not be over the total value. Please Re enter points');
define('REFERRAL_ERROR_SELF', 'Sorry you can not refer yourself.');
define('REFERRAL_ERROR_NOT_FOUND', 'The referral email address you entered was not found.');
define('TEXT_REFERRAL_REFERRED', 'If you were referred to us by a friend please enter their email address here.');
define('TABLE_HEADING_REFERRAL', 'Referral System');
define('TEXT_DEFAULT_REFERRAL', 'Referralpoints');
define('TEXT_DEFAULT_REVIEWS', 'Reviewpoints');
define('TEXT_DEFAULT_PAYMENT', 'Disbursement requested');
define('TEXT_DEFAULT_PAYMENT_REJECT', 'Disbursement rejected');
define('TEXT_DEFAULT_PAYMENT_CONFIRMED', 'Disbursement confirmed');
define('TEXT_REDEEM_SYSTEM_NOTE', '<font color="ff0000">Total Purchase is greater than the maximum points allowed, you will also need to choose a payment method</font>');
define('PAYMENT_BIGGER_THAN_POINTS', 'Sie haben eine zur Auszahlung veranlasste Punktezahl eingegeben, die leider die Anzahl der tatsächlichen Punkteanzahl übersteigt!');
define('PAYMENT_MUST_GREATER_THAN_MIN', 'Sie haben eine zur Auszahlung veranlasste Punktezahl eingegeben, die die Mindestpunkteanzahl unterschreitet. Diese Mindestpunkteanzahl beträgt zur Zeit ');
define('PAYMENT_SUCCESS', 'Wir haben Ihren Wunsch zur Auszahlung Ihrer Punkte erhalten und werden diesen Auftrag schnellstmöglich bearbeiten.');
define('MAIL_PAYMENT_SUBJECT', 'Disbursement requested');
define('EMAIL_TEXT_INTRO_PAYMENT', 'This is to inform you that we got the request for the disbursement.');
define('EMAIL_TEXT_BALANCE_PAYMENT', 'This points you want to get as a disbursement.');
define('EMAIL_POINTS_PAYMENT', 'Points for disbursement: ');
define('EMAIL_POINTS_VALUE_PAYMENT', 'Value at: ');
define('EMAIL_KONTO_PAYMENT', 'Your bankaccount: ');
define('EMAIL_CUSTOMER_ID_PAYMENT', 'Your Customer id: ');
define('EMAIL_SEPARATOR', '------------------------------------------------------');
define('EMAIL_GREET_MR', 'Dear Mr. %s,');
define('EMAIL_GREET_MS', 'Dear Ms. %s,');
define('EMAIL_GREET_NONE', 'Dear %s');
define('EMAIL_TEXT_POINTS_URL_HELP', 'Our store Reward Point Program FAQ page located here: %s');
define('EMAIL_TEXT_MY_POINTS', 'My points');
define('EMAIL_CONTACT', 'If you have any questions or for help with any of our online services, please email us at: ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n" . 'This is an automated response, please do not reply!');
define('EMAIL_TEXT_POINTS_URL_HELP', 'Our store Reward Point Program FAQ page located here . %s');
define('EMAIL_TEXT_MY_FAQ', 'FAQ');
define('EMAIL_TEXT_POINTS_URL', 'For your convenience here is the link to your Shopping Points Account. %s');
define('IMAGE_BUTTON_PAYMENT', 'Disbursement request');
define('TEXT_PRODUCT_NO_POINTS', '<font color="#FF0000"> No points awarded for discounted products.</font>');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/english/lang_english.conf
---------------------------------------------------------------------------------------------------
finde folgendes:
[checkout_payment]
und füge danach ein:
##### BONUS
INFO_NOT_ENOUGH_POINTS = 'Ihr derzeitiges Punktekonto reicht leider nicht aus, um Teile Ihrer Bestellung damit zu bezahlen.'
TABLE_HEADING_REDEEM_SYSTEM = 'Shopping Points Redemptions'
TEXT_REDEEM_SYSTEM_START = 'You have a credit balance of '
TEXT_REDEEM_SYSTEM_START_1 = ', would you like to use it to pay for this order?<br />The estimated total of your purchase is: '
TEXT_REDEEM_SYSTEM_START_2 = ' Euro'
TEXT_REDEEM_SYSTEM_SPENDING = 'Tick here to use Maximum Points allowed for this order.'
TEXT_REDEEM_SYSTEM_SPENDING_1 = ' points, currently valued at '
TEXT_REDEEM_SYSTEM_SPENDING_2 = ' '
Points_Credit = 'You have '
Currently_Valued = ' points, currently valued at '
estimated = 'The estimated total of your purchase is: '
##### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
[account]
und füge danach ein:
##### BONUS
MY_POINTS_CURRENT_BALANCE = 'Aktueller Kontostand: '
MY_POINTS_CURRENT_BALANCE_REST = ' Punkte. '
MY_POINTS_CURRENT_BALANCE_REST_1 = ' Valued if you make a redemption at: ': '
MY_POINTS_CURRENT_BALANCE_REST_2 = ' Valued if you make a disbursement at: '
title_bonus = 'My Points and Redemptions's'
text_points = 'View my Points Balance and Points received.'
text_payments = 'disburse points'
##### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
[shopping_cart]
und füge danach ein:
##### BONUS
Points_Credit = 'Points Credit: '
Currently_Valued = 'Currently valued at: '
##### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
[index]
und füge danach ein:
##### BONUS
Points_Credit = 'Points Credit: '
Currently_Valued = 'Currently valued at: '
##### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
[product_info]
und füge danach ein:
###### BONUS
Points_Credit = 'Points Credit: '
Currently_Valued = 'Currently valued at: '
###### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
[print_product_info]
und füge danach ein:
##### BONUS
Points_Credit = 'Points Credit: '
Currently_Valued = 'Currently valued at: '
##### BONUS END
---------------------------------------------------------------------------------------------------
ganz am Ende einfügen:
[my_points]
HEADING_TITLE = 'My Points Information'
MY_POINTS_CURRENT_BALANCE = 'Points Balance: '
MY_POINTS_CURRENT_BALANCE_REST = ', valued at: '
HEADING_ORDER_DATE = 'Date'
HEADING_ORDERS_NUMBER = 'Order No. & Status'
HEADING_POINTS_COMMENT = 'Comments'
HEADING_POINTS_STATUS = 'Points Status'
HEADING_POINTS_TOTAL = Points
MY_POINTS_HELP_LINK = ' Please check the '
MY_POINTS_HELP_LINK_1 = '<u> Reward Point Program FAQ </u>'
MY_POINTS_HELP_LINK_2 = ', for more informations.'
[my_points_help]
heading_my_points_help = 'FAQ'
[my_payment]
heading_payment = 'Disbursement of the points'
MY_POINTS_HELP_LINK = ' Please check the '
MY_POINTS_HELP_LINK_1 = '<u> Reward Point Program FAQ </u>'
MY_POINTS_HELP_LINK_2 = ', for more informations.'
MY_POINTS_CURRENT_BALANCE = 'Points Balance: '
MY_POINTS_CURRENT_BALANCE_REST = ', valued at: '
INPUT_PAYMENT = 'Points you want to use for the disbursement: '
INPUT_KONTO = 'The Bank account Informations: '
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-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:
##### BONUS
define('USE_POINTS_SYSTEM_TITLE','Aktivierung des Bonusprogramms');
define('USE_REDEEM_SYSTEM_TITLE','Aktivierung des Einlöseprogramms');
define('POINTS_PER_AMOUNT_PURCHASE_TITLE','Punkte für je eine Währungseinheit');
define('REDEEM_POINT_VALUE_TITLE','Wert eines Punktes beim Einlösen');
define('POINTS_AUTO_ON_TITLE','Automatsiches Bestätigen der Punkte');
define('USE_POINTS_FOR_SHIPPING_TITLE','Punkte für Versandkosten');
define('USE_POINTS_FOR_TAX_TITLE','Punkte für Steuern');
define('USE_POINTS_FOR_SPECIALS_TITLE','Punkte für Sonderangebote');
define('USE_POINTS_FOR_REDEEMED_TITLE','Punkte sammeln bei eingelöste Bestellungen');
define('REDEMPTION_RESTRICTION_TITLE','Aktivierung von Produktbeschränkungen');
define('RESTRICTION_MODEL_TITLE','Wenn Beschränkung aktiviert, welche model ist erlaubt?.');
define('RESTRICTION_PID_TITLE','oder welche Produkt ID ist erlaubt.');
define('RESTRICTION_PATH_TITLE','oder welche Kategorie ID ist erlaubt.');
define('REDEMPTION_DISCOUNTED_TITLE','Aktivierung von Preisbeschränkungen');
define('POINTS_LIMIT_VALUE_TITLE','benötigte Mindespunkte zur Einlösung');
define('POINTS_MAX_VALUE_TITLE','Maximalpunkte einer Bestellung');
define('POINTS_LIMIT_EXACT_TITLE','Aktivierung der "Fixe Anzahl der einzulösenden Punkte".');
define('POINTS_EXACT_VALUE_TITLE','Wenn "Fixe Anzahl der einzulösenden Punkte" aktiviert, genaue Punktezahl dafür');
define('POINTS_MIN_AMOUNT_TITLE','Mindestbestellwert für Einlösung der Punkte');
define('NEW_SIGNUP_POINT_AMOUNT_TITLE','Punkte für Neuregistrierung');
define('MAX_DISPLAY_POINTS_RECORD_TITLE','Maximalanzahl der Einträge in der Übsersicht');
define('DISPLAY_POINTS_INFO_TITLE','Punkteinformationen in der Product_info anzeigen');
define('DISPLAY_POINTS_REDEEMED_TITLE','Speicherung aller eingelösten Punkte?');
define('MODULE_ORDER_TOTAL_REDEMPTIONS_SORT_ORDER_TITLE','Sort Order');
define('USE_POINTS_AND_REDEEM_FROM_CUSTOMER_STATUS_TITLE','Kundengruppen berücksichtigen');
define('POINTS_DECIMAL_PLACES_TITLE','Dezimalstellen der Punkte');
define('POINTS_AUTO_EXPIRES_TITLE','Automatischer Verfall der Punkte');
define('POINTS_EXPIRES_REMIND_TITLE','Automatische Erinnerung vor dem Verfalldatum');
define('USE_POINTS_FOR_REVIEWS_TITLE','Sammeln von Punkten für Reviews');
define('USE_REFERRAL_SYSTEM_TITLE','Punkte für die Weiterempfehlung');
define('MIN_PAYMENT_TITLE','Mindestpunkte für die Auszahlung');
define('MIN_INPUT_PAYMENT_TITLE','Mindesteingabe des Kunden für die Auszahlung');
define('USE_PAYMENT_SYSTEM_TITLE','Punkteauszahlungssystem aktivieren?');
define('PAYMENT_POINT_VALUE_TITLE','Wert eines Punktes beim Auszahlen');
define('PAYMENT_POINT_VALUE_DESC','Der Wert eines Punktes beim Auszahlen.<br>(Die Währung entspricht, die im admin als Standardwährung angegebene Währung)');
define('USE_PAYMENT_SYSTEM_DESC','Aktivieren, damit die Auszahlung von Punkten möglich ist.');
define('MIN_INPUT_PAYMENT_DESC','Bitte geben Sie hier die Punkte an, die ein Kunde mindestens angeben muß, um eine Auszahlung in Gang zu setzen.');
define('MIN_PAYMENT_DESC','Bitte geben Sie hier die Punkte an, die man mindestens benötigt, um eine Auszahlung in Gang zu setzen.');
define('POINTS_AUTO_EXPIRES_DESC','Bitte geben Sie hier die Dauer in Monaten ein, bevor die Punkte verfallen.<br>Zum Deaktivieren einfach leer lassen.');
define('POINTS_EXPIRES_REMIND_DESC','Bitte geben Sie hier die Tage an, wann die automatische Erinnerung vor dem Verfall der Punkte gesendet werden soll.<br>Zum Deaktivieren einfach leer lassen.');
define('USE_POINTS_FOR_REVIEWS_DESC','Falls Sie für das Schreiben von Reviews Punkte vergeben wollen, dann müssen Sie hier den Punktewert eingeben.<br>Zum Deaktivieren einfach leer lassen.');
define('USE_REFERRAL_SYSTEM_DESC','Falls Sie für eine Weiterempfehlung Punkte vergeben wollen, dann müssen Sie hier den Punktewert eingeben.<br>Zum Deaktivieren einfach leer lassen.');
define('POINTS_DECIMAL_PLACES_DESC','Bitte geben Sie hier die Anzahl der Dezimalstellen für die Punkte an.');
define('USE_POINTS_AND_REDEEM_FROM_CUSTOMER_STATUS_DESC','Aktivieren, wenn die Werte fürs Sammeln oder Einlösen der Punkte Kundengruppenabhängig sein soll.');
define('USE_POINTS_SYSTEM_DESC','Aktivieren, damit der Kunde Punkte sammeln darf');
define('USE_REDEEM_SYSTEM_DESC','Aktivieren, damit der Kunde am Ende der Bestellung die Punkte einlösen kann.');
define('POINTS_PER_AMOUNT_PURCHASE_DESC','Wieviel Punkte entsprechen einem Euro?<br>(Die Währung entspricht, die im admin als Standardwährung angegebene Währung)');
define('REDEEM_POINT_VALUE_DESC','Der Wert eines Punktes beim Einlösen.<br>(Die Währung entspricht, die im admin als Standardwährung angegebene Währung)');
define('POINTS_AUTO_ON_DESC','Schwebende Punkte werden automatisch bestätigt, abhängig von der Anzahl der Tage, die nach Sammeln der Punkte vergangen sind<br>Wenn die Bestätigung am gleichen Tag erfolgen soll muß eine 0 eingefügt werden.<br>Zum Deaktivieren einfach leer lassen.');
define('USE_POINTS_FOR_SHIPPING_DESC','Kann man mit den Versandksten auch Punkte sammeln?');
define('USE_POINTS_FOR_TAX_DESC','Kann man mit den Steuern auch Punkte sammeln?');
define('USE_POINTS_FOR_SPECIALS_DESC','Wenn deaktiviert werden nur Artikel für das Sammeln der Bonuspunkte berücksichtigt, die keinen Sonderpreis haben');
define('USE_POINTS_FOR_REDEEMED_DESC','Wenn deaktiviert könnnen Kunden keine Punkte sammeln, wenn Ein Teil der zu bezahlenden Summe einer Bestellung mit Punkten vollbracht wurde.');
define('REDEMPTION_RESTRICTION_DESC','Aktivierung von Produktbeschränkungen');
define('RESTRICTION_MODEL_DESC','Welche Artikelnummern sind erlaubt? (Wenn Produktbeschränkungen aktiviert ist)');
define('RESTRICTION_PID_DESC','Welche Artikelid\'s, kommagetrennt, sind erlaubt? (Wenn Produktbeschränkungen aktiviert ist)<br>Leer lassen wenn Artikelnummern befreit werden sollen.');
define('RESTRICTION_PATH_DESC','Welche Kategorieid\'s, kommagetrennt, sind erlaubt? (Wenn Produktbeschränkungen aktiviert ist)<br>Leer lassen wenn Artikelnummern befreit werden sollen.');
define('REDEMPTION_DISCOUNTED_DESC','Wenn deaktiviert könnnen Kunden keine Punkte für Podukte einlösen, die Preisreduziert sind.');
define('POINTS_LIMIT_VALUE_DESC','Minimale Punktezahl. die zum Einlösen nötig sind. Eine 0 deaktiviert diese Option');
define('POINTS_MAX_VALUE_DESC','Maximale Punktezahl, die man bei einer Bestellung einlösen darf.');
define('POINTS_LIMIT_EXACT_DESC','Ist nur eine bestimmte Anzahl von Punkten möglich bei der Einlösung? (wenn aktiviert haben die Kunden keine Möglichkeit mehr die Anzahl der einzulösenden Punkte anzugeben)');
define('POINTS_EXACT_VALUE_DESC','Wenn "bestimmte Anzahl von Punkten möglich" aktiviert, bitte hier die entsprechenden Punkte eingeben.');
define('POINTS_MIN_AMOUNT_DESC','Wie hoch ist der Mindestbestellwert, das zum Einlösen von Punkten berechtigt?<br>Wennn es leer gelassen wird gibt es keine Beschränkung.');
define('NEW_SIGNUP_POINT_AMOUNT_DESC','Wieiviele Punkte bekommen neuregistrierte Kunden? Bei 0 wird es deaktiviert.');
define('MAX_DISPLAY_POINTS_RECORD_DESC','Zahl der Einträge auf der my_points Seite');
define('DISPLAY_POINTS_INFO_DESC','Soll in der Produktdetailansicht Informationen zum Sammeln von Punkten aufgeführt werden?');
define('DISPLAY_POINTS_REDEEMED_DESC','Sollen alle Einlösungen gespeichert werden?');
define('MODULE_ORDER_TOTAL_REDEMPTIONS_SORT_ORDER_DESC','Sort order of display.');
##### BONUS END
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/german/admin/customers_status.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('ENTRY_CUSTOMERS_STATUS_BASE', 'wird als Grundlage für die Preise der neuen Kundengruppe gewählt. Wenn Auswahl = Admin werden keine Preise für die neue Kundengruppe angelegt.');
und füge danach ein:
##### BONUS
define('TABLE_HEADING_PAYMENT','Aus-<br>zahlung<br>der<br>Punkte');
define('TABLE_HEADING_CUSTOMERS_USE_PAYMENT','Wert<br>eines<br>Punktes<br>beim<br>Auszahlen');
define('TEXT_INFO_CUSTOMERS_STATUS_PAYMENT_INTRO','<b>Auszahlung der Punkte</b>');
define('ENTRY_PAYMENT','Auszahlung der Punkte:<br>');
define('TABLE_HEADING_CUSTOMERS_USE_POINTS','Punkte<br>für<br>je<br>eine<br>Wäh-<br>rungs-<br>einheit');
define('TABLE_HEADING_CUSTOMERS_USE_REDEEM','Wert eines Punktes beim Einlösen');
define('TEXT_INFO_CUSTOMERS_STATUS_CUSTOMERS_USE_POINTS','<b>Punkte für je eine Währungseinheit</b>');
define('TEXT_INFO_CUSTOMERS_STATUS_CUSTOMERS_USE_REDEEM','<b>Wert eines Punktes beim Einlösen</b>');
define('TEXT_INFO_CUSTOMERS_STATUS_CUSTOMERS_USE_PAYMENT','<b>Wert eines Punktes beim Aus-<br>zahlen</b>');
define('ENTRY_CUSTOMERS_STATUS_CUSTOMERS_USE_POINTS','Geben Sie hier die Punkte für je eine<br> Währungseinheit an:<br>');
define('ENTRY_CUSTOMERS_STATUS_CUSTOMERS_USE_REDEEM','Geben Sie hier den Wert eines Punktes<br> beim Einlösen an:<br>');
define('ENTRY_CUSTOMERS_STATUS_CUSTOMERS_USE_PAYMENT','Geben Sie hier den Wert eines Punktes beim Auszahlen an:<br>');
##### BONUS END
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/german/admin/german.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('TEXT_REFERER','Referer: ');
und füge danach ein:
##### BONUS
define('BOX_CUSTOMERS_POINTS', 'Kundenbonuspunkte');
define('BOX_CUSTOMERS_POINTS_PENDING', 'Schwebende Bonuspunkte');
define('BOX_CONFIGURATION_66', 'Bonuspunktekonfiguration');
define('BOX_CUSTOMERS_POINTS_REFERRAL', 'RF/RV/PM Points');
##### BONUS END
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/german/admin/orders.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('TEXT_VALIDATING','Nicht bestätigt');
und füge danach ein:
##### BONUS
define('ENTRY_NOTIFY_POINTS', 'Bestätigung der schwebenden Punkte:');
define('ENTRY_QUE_POINTS', 'Punkte bestätigen');
define('ENTRY_QUE_DEL_POINTS', 'Punkte löschen');
define('ENTRY_CONFIRMED_POINTS', 'Punkte bestätigt. ');
##### BONUS END
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/german/german.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('MORE_INFO','[Mehr]');
und füge danach ein:
##### BONUS
define('TEXT_NO_POINTS','Sie haben bisher keine qualifizierten Punkte erhalten');
define('REDEEM_SYSTEM_ERROR_POINTS', 'Fehler beim Einlösen! Sie haben nicht die entsprende Menge an Punkten.');
define('REDEEM_SYSTEM_ERROR_POINTS_EMPTY', 'Fehler beim Einlösen! Sie haben keine Punkteanzahl angegeben.');
define('REDEEM_SYSTEM_ERROR_POINTS_MAX', 'Fehler beim Einlösen! Sie dürfen leider nicht mehr als ' . number_format(POINTS_MAX_VALUE,2) . ' Punkte je Bestellung einlösen.');
define('REDEEM_SYSTEM_ERROR_POINTS_NOT', 'Die Punkte reichen leider nicht um die gesamte Bestellung zu bezahlen. Bitte geben Sie an welche andere Zahlungsmöglichkeit Sie für den Rest in Betracht ziehen');
define('REDEEM_SYSTEM_ERROR_POINTS_OVER', 'Fehler beim Einlösen! Punktewert liegt über dem gesamten Bestellwert. Bitte nochmals eingeben');
define('TEXT_POINTS_BALANCE', 'Bonuspunkte Information.');
define('TEXT_POINTS', 'Punkte :');
define('TEXT_VALUE', 'Wert:');
define('NAVBAR_TITLE', 'Bonuspunkte Information');
define('HEADING_TITLE', 'Bonuspunkte Information');
define('HEADING_ORDERS_STATUS', 'Status der Bestellung');
define('TEXT_DEFAULT_COMMENT', 'erworbene Punkte');
define('TEXT_DEFAULT_REDEEMED', 'eingelöste Punkte');
define('TEXT_ORDER_ADMINISTATION', '---');
define('TEXT_STATUS_ADMINISTATION', '-----------');
define('TEXT_POINTS_PENDING', 'schwebend');
define('TEXT_POINTS_PROCESSING', 'in Bearbeitung');
define('TEXT_POINTS_CONFIRMED', 'bestätigt');
define('TEXT_POINTS_CANCELLED', 'zurückgewiesen');
define('TEXT_POINTS_REDEEMED', 'eingelöst');
define('MY_POINTS_CURRENT_BALANCE', 'The Current Balance of your shopping points is : <b>%s</b> points. ');
define('MY_POINTS_CURRENT_VALUE', 'Valued at :<b>%s</b> .');
define('TEXT_NO_PURCHASES', 'Sie haben bisher noch keine Bonuspunkte gesammelt');
define('TEXT_NOT_ENOUGH_POINTS', 'Sie haben leider noch nicht genug Punkte angesammelt, um eine Auszahlung anstrengen zu können.<br> Die Mindestpunktzahl zur Auszahlung liegt im Moment bei ');
define('TEXT_NO_POINTS', 'Sie haben bisher keine Punkte zum Einlösen.');
define('TEXT_DISPLAY_NUMBER_OF_RECORDS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> records)');
define('POINTS_FAQ_1', 'Was ist das Bonus-Punkte System?');
define('POINTS_FAQ_2', 'Wie funktioniert das Bonus-Punkte System?');
define('POINTS_FAQ_3', 'Punkte und dessen Wert');
define('POINTS_FAQ_4', 'Einlösen der Bonus Punkte');
define('POINTS_FAQ_5', 'Auszahlen der Bonus Punkte');
define('POINTS_FAQ_6', 'Gibt es ein Mindespunktestand für das Einlösen Der Bonus Punkte?');
define('POINTS_FAQ_7', 'Gibt es ein Mindesbestellwert für das Einlösen Der Bonus Punkte?');
define('POINTS_FAQ_8', 'Gibt es ein Maximalpunktestand für das Einlösen Der Bonus Punkte?');
define('POINTS_FAQ_9', 'Werden die Versandkosten beim Sammeln der Bonuspunkte miteinbezogen?');
define('POINTS_FAQ_10', 'Werden die Steuern beim Sammeln der Bonuspunkte miteinbezogen?');
define('POINTS_FAQ_11', 'Werden herabgesetzte Artikel beim Sammeln der Bonuspunkte mit einbezogen?');
define('POINTS_FAQ_12', 'Kann ich Bonuspunkte sammeln, wenn ich bei einer Bestellung meine gesammelten Punkte einlöse?');
define('POINTS_FAQ_13', 'Produktbeschränkungen');
define('POINTS_FAQ_14', 'Produktbeschränkungen für das Einlösen der Bonuspunkten');
define('POINTS_FAQ_15', 'Kleingedrucktes');
define('POINTS_FAQ_16', 'Und wenn Probeme auftreten?');
define('TEXT_INFORMATION', '<a name="Top"></a>
<ol>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=1','NONSSL').'">' . POINTS_FAQ_1 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=2','NONSSL').'">' . POINTS_FAQ_2 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=3','NONSSL').'">' . POINTS_FAQ_3 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=4','NONSSL').'">' . POINTS_FAQ_4 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=5','NONSSL').'">' . POINTS_FAQ_5 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=6','NONSSL').'">' . POINTS_FAQ_6 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=7','NONSSL').'">' . POINTS_FAQ_7 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=8','NONSSL').'">' . POINTS_FAQ_8 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=9','NONSSL').'">' . POINTS_FAQ_9 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=10','NONSSL').'">' . POINTS_FAQ_10 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=11','NONSSL').'">' . POINTS_FAQ_11 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=12','NONSSL').'">' . POINTS_FAQ_12 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=13','NONSSL').'">' . POINTS_FAQ_13 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=14','NONSSL').'">' . POINTS_FAQ_14 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=15','NONSSL').'">' . POINTS_FAQ_15 . '</a></li>
<li><a href="'.xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=16','NONSSL').'">' . POINTS_FAQ_16 . '</a></li>
</ol>');
define('SUB_HEADING_TITLE_1','' . POINTS_FAQ_1 . '');
define('SUB_HEADING_TEXT_1','
Um uns für Ihre Treue zu bedanken, und als Ansporn für weitere Bestellungen, haben wir uns etwas besonderes überlegt und haben dieses Bonuspunktesystem eingerichtet.
<br><br>
Das Bonuspunktesystem ist einfacher, als es vielleicht aussieht. Wenn Sie bei ' . STORE_NAME . ' einkaufen gehen, sammeln Sie automatisch Bonuspunkte.
<br>
Einmal gesammelt haben Sie die Möglichkeit bei ' . STORE_NAME . ' die gesammelten Punkte wieder einzulösen.
<br><br>
Das Bonuspunkteprogramm läuft bereits seit %s . Alle später getätigten Einkäufe wurden berücksichtigt.');
define('SUB_HEADING_TITLE_2','' . POINTS_FAQ_2 . '');
define('POINTS_EXPIRES_TEXT','<br>**Gesammelte Punkte verfallen nach %s Monat(en) nach Eintragsdatum. ');
define('POINTS_EXPIRES_TEXT_1','<br>**Gesammelte Punkte verfallen nie. ');
define('SUB_HEADING_TEXT_2','
Wenn eine Bestellung getätigt wurde, dann wird der Gesamtbetrag<span class="smalltext"><font color="FF6633">*</font></span> als Grundlage für die Berechnung der Bonuspunkte einbezogen.
Diese Punkte werden zu den bisherigen gesammelten Punkte hinzugerechnet und als schwebend markiert.
<br>
Alle schwebenden Punkte können im <a href="%s"> <u>Bonuspunktebereich </u></a> eingesehen werden bis sie dann vom %s bestätigt, bzw. anerkannt werden.
<br><br>
Sind einmal alle schwebenden Punkte** anerkannt worden erhalten Sie einen entsprechenden Wert als Gutschrift. Diese Gutschrift können Sie beim Einkaufen wieder einlösen.
<br>
Sie müssen eingeloggt sein, um den Status Ihrer Punkte einzusehen.
<br><br>
Im Checkout Prozess haben Sie dann die Möglichkeit Ihre gesammelten und von uns bestätigten Punkte einzulösen.
<br>
<br>
<span class="smalltext"><font color="FF6633">*</font> in den meisten Fällen werden Steuern und Versandkosten nicht berücksichtigt. Lesen Sie dazu bitte die enstprechenden Punkte in der FAQ.');
define('SUB_HEADING_TITLE_3','' . POINTS_FAQ_3 . '<br></font></b>');
define('SUB_HEADING_TEXT_3','
Im Augenblick erhalten Sie für jeden %s bei %s genau %s %s. Jeder Punkt hat einen Gegenwert von %s.
<br>Ein Beispiel:<br>
<b>Produktpreis:</b> %s<br>
<b>Wert der gesammelten Bonuspunkte:</b> %s<br><br>
Es kann vorkommen, das wir die Rate ändern, deshalb ist es wichtig immer mal wieder in die FAQ zu schauen.');
define('SUB_HEADING_TITLE_4','' . POINTS_FAQ_4 . '');
define('SUB_HEADING_TEXT_4','
Haben Sie ein gewisses Guthaben an Punkten durch Einkäufe auf %s können Sie diese beim nächsten Einkauf einlösen.
<br>
Im checkout proccess, genau auf der Seite, wo Sie die Zahlungsart auswählen, haben Sie die Möglichkeit die einzulösenden Punkte einzugeben.
Beachten Sie bitte, dass wenn Ihre Punkte nicht reichen sollten, Sie noch eine Zahlungsmöglichkeit auswählen müssen.
<br>
Jetzt können Sie ganz normal weitermachen, denn Ihre eingelösten Punkte werden entsprechend in der Bestellung weiter verarbeitet. Ist die Bestellung ausgeführt, wird Ihr Punktekonto dementsprechend aktualisiert.
');
define('SUB_HEADING_TITLE_5','' . POINTS_FAQ_5 . '');
if (isset($_SESSION['customers_status']['customers_status_payment'])) {
if (USE_POINTS_SYSTEM == 'true' && $_SESSION['customers_status']['customers_status_payment'] == '1')
define('SUB_HEADING_TEXT_5','
Haben Sie ein gewisses Guthaben an Punkten durch Einkäufe auf %s können Sie sich diese auszahlen lassen.
');
else {
define('SUB_HEADING_TEXT_5','
Sie haben leider nicht die Möglichkeit sich die Punkte auszahlen zu lassen.');
}
} else {
define('SUB_HEADING_TEXT_5','
Sie haben leider nicht die Möglichkeit sich die Punkte auszahlen zu lassen.');
}
define('SUB_HEADING_TITLE_6','' . POINTS_FAQ_6 . '<br></font></b>');
define('SUB_HEADING_TEXT_6_1','
Zur Zeit werden mindestens <b>%s</b> Punkte <b>(%s)' . '</b> benötigt, bevor man diese einlösen kann.
<br>
Wir bitten Sie öfters hier vorbei zu schauen, da es vorkommen kann, dass wir diese Regeln ändern.');
define('SUB_HEADING_TEXT_6_2','
Im Moment gibt es keine Minimumanforderung um die Punkte einzulösen. Bitte beachten Sie, dass Sie eine andere Zahlungsart wählen müssen, wenn die Punkte nicht ausreichen, um den Betrag Ihrer Bestellung zu decken.<br>
<br>
Wir bitten Sie öfters hier vorbei zu schauen, da es vorkommen kann, dass wir diese Regeln ändern.');
define('SUB_HEADING_TITLE_7','' . POINTS_FAQ_7 . '<br></font></b><span class="smalltext">Letzte Aktualisierung: %s</span>');
define('SUB_HEADING_TEXT_7_1','
Aktuell beträgt der Mindestbestellwert <b>%s</b>. Dieser Wert wird benötigt, um Punkte sammeln zu können.
<br>
<br>
Wir bitten Sie öfters hier vorbei zu schauen, da es vorkommen kann, dass wir diese Regeln ändern.');
define('SUB_HEADING_TEXT_7_2','
Z.Z. ist kein Mindestbestellwert nötig um Punkte sammeln zu können.<br>
<br>
Wir bitten Sie öfters hier vorbei zu schauen, da es vorkommen kann, dass wir diese Regeln ändern.');
define('SUB_HEADING_TITLE_8','' . POINTS_FAQ_8 . '<br></font></b>');
define('SUB_HEADING_TEXT_8','
Es dürfen maximal <b>%s</b> Punkte <b> mit einem Wert von (%s)' . '</b> pro Bestellung eingelöst werden.
<br><br>
Wir bitten Sie öfters hier vorbei zu schauen, da es vorkommen kann, dass wir diese Regeln ändern.');
define('SUB_HEADING_TITLE_9','' . POINTS_FAQ_9 . '<br></font></b>');
define('SUB_HEADING_TEXT_9_1','
Nein!
<br><br>
Wir bitten Sie öfters hier vorbei zu schauen, da es vorkommen kann, dass wir diese Regeln ändern.');
define('SUB_HEADING_TEXT_9_2','
Ja!
<br><br>
Wir bitten Sie öfters hier vorbei zu schauen, da es vorkommen kann, dass wir diese Regeln ändern.');
define('SUB_HEADING_TITLE_10','' . POINTS_FAQ_10 . '<br></font></b>');
define('SUB_HEADING_TEXT_10_1','
Nein!
<br><br>
Wir bitten Sie öfters hier reinzuschauen, da es vorkommen kann, dass wir diese Regeln ändern.');
define('SUB_HEADING_TEXT_10_2','
Ja!
<br><br>
Wir bitten Sie öfters hier vorbei zu schauen, da es vorkommen kann, dass wir diese Regeln ändern.');
define('SUB_HEADING_TITLE_11','' . POINTS_FAQ_11 . '<br></font></b>');
define('SUB_HEADING_TEXT_11_1','
Nein!<br><br>
Wir bitten Sie öfters hier reinzuschauen, da es vorkommen kann, dass wir diese Regeln ändern.');
define('SUB_HEADING_TEXT_11_2','
Ja!<br><br>
Wir bitten Sie öfters hier vorbei zu schauen, da es vorkommen kann, dass wir diese Regeln ändern.');
define('SUB_HEADING_TITLE_12','' . POINTS_FAQ_12 . '<br></font></b>');
define('SUB_HEADING_TEXT_12_1','
Nein!<br><br>
Wir bitten Sie öfters hier vorbei zu schauen, da es vorkommen kann, dass wir diese Regeln ändern.');
define('SUB_HEADING_TEXT_12_2','
Ja!<br><br>
Wir bitten Sie öfters hier vorbei zu schauen, da es vorkommen kann, dass wir diese Regeln ändern.');
define('SUB_HEADING_TEXT_13_1','<br>
Aktuell können nur Artikel mit der Artikelnummer <b>[%s]</b> mit den Bonuspunkten bezahlt werden.<br>
<br><br>Wir bitten Euch öfters hier vorbei zu schauen, da es vorkommen kann, dass wir diese Regeln ändern.');
define('SUB_HEADING_TEXT_13_2','<br>
Aktuell können nur folgende Artikel mit den Bonuspunkten bazahlt werden:<ul>%s</ul>
<br>Wir bitten Sie öfters hier vorbei zu schauen, da es vorkommen kann, dass wir diese Regeln ändern.');
define('SUB_HEADING_TEXT_13_3','<br>
Aktuell können nur Artikel aus folgenden Katregorien mit den Bonuspunkten bazahlt werden:<ul>%s</ul>
<br>Wir bitten Sie öfters hier vorbei zu schauen, da es vorkommen kann, dass wir diese Regeln ändern.');
define('SUB_HEADING_TEXT_13_4','<br>
Es gibt keine Beschränkungen bezüglich der Artikel, die mit Punkten bezahlt werden.
<br><br>Wir bitten Sie öfters hier reinzuschauen, da es vorkommen kann, dass wir diese Regeln ändern.');
define('SUB_HEADING_TITLE_13','' . POINTS_FAQ_13);
define('SUB_HEADING_TITLE_14','' . POINTS_FAQ_14 . '<br></font></b>');
define('SUB_HEADING_TEXT_14_1','
Aktuell können Artikel mit herabgesetzten Preisen nicht mit den Bonuspunkten bezahlt werden.
<br><br>Wir bitten Sie öfters hier vorbei zu schauen, da es vorkommen kann, dass wir diese Regeln ändern.');
define('SUB_HEADING_TEXT_14_2','
Es gibt keine Beschränkungen bezüglich der Artikel, die mit Punkten bezahlt werden.
<br><br>Wir bitten Sie öfters hier reinzuschauen, da es vorkommen kann, dass wir diese Regeln ändern.');
define('SUB_HEADING_TITLE_15','' . POINTS_FAQ_15 . '');
define('SUB_HEADING_TEXT_15','
<ul>
<li>Bonuspunkte gibt es nur für registrierte %s-Kunden.</li>
<li>Bonuspunkte können nur durch Online Bestellungen bei %s gesammelt und eingelöst werden</li>
<li>Punkte können nicht unter verschiedenen Kunden ausgetauscht werden.</li>
<li>Shop Punkte können nur für ausgewählte Kundengruppen in Geld umgewandelt werden.</li>
<li>Shop Punkte werden bei stornierten Bestellungen nicht erstattet.</li>
<li>Wenn der Bestellwert die Summe der Punkte übersteigt, muss eine andere Zahlungsart gewählt werden, um die Restsumme zu begleichen.</li>
<li>Bei der Berechnung der Punkte werden weder Steuern noch Portokosten berücksichtigt.(Ausser es wird anders in der FAQ dargelegt).</li>
</ul>
Bitte beachten Sie, dass die genannten Regelungen ohne Gewähr und ohne Verbindlichkeit sind und jederzeit geändert werden können..');
define('SUB_HEADING_TITLE_16','' . POINTS_FAQ_16 . '');
define('SUB_HEADING_TEXT_16','
Bei Fragen jeglicher Art einfach <a href="%s"> <u>uns kontaktieren </u></a>. Bitte so viele und genaue Angaben wie möglich machen.');
define('SUB_HEADING_TITLE_17','');
define('SUB_HEADING_TEXT_17','<font color="FF0000"><b>Bitte ein obiges Thema wählen.</b></font>');
define('EMAIL_WELCOME_POINTS', '<li><b>Bonusprogramm</b> - Als kleines Willkommensgeschenk haben wir auf Deinem %s genau %s Bonuspunkte mit einem Wert von %s' . " gutgeschrieben.\n" . 'Bitte gehe zur %s um alle Infos zu erhalten.');
define('EMAIL_POINTS_ACCOUNT', 'Bonusprogramm Account');
define('EMAIL_POINTS_FAQ', 'Bonusprogramm FAQ');
define('REVIEW_HELP_LINK', 'Schreiben Sie ein Review und erhalten <b>%s</b> an Wert als Punkte gut geschrieben.<br />Schauen Sie sich die <a href="' . xtc_href_link(FILENAME_MY_POINTS_HELP,'faq_item=13', 'NONSSL') . '" title="Bonusprogramm FAQ"><u>FAQ</u></a> des Bonusprogramms an, um weitere Informationen zu erhalten.');
define('REDEEM_SYSTEM_ERROR_POINTS_NOT', 'Points value are not enough to cover the cost of your purchase. Please select another payment method');
define('REDEEM_SYSTEM_ERROR_POINTS_OVER', 'REDEEM POINTS ERROR ! Points value can not be over the total value. Please Re enter points');
define('REFERRAL_ERROR_SELF', 'Entschuldigung, Sie können sich leider nicht selbst als Neukunde empfehlen!');
define('REFERRAL_ERROR_NOT_FOUND', 'Die eingebene Email-Adresse ist uns leider nicht bekannt.');
define('TEXT_REFERRAL_REFERRED', 'Wurden Sie von einem anderen Kunden empfohlen?<br>Dann geben Sie bitte hier dessen Email-Adresse hier an. ');
define('TABLE_HEADING_REFERRAL', 'Empfehlungssystem');
define('TEXT_DEFAULT_REFERRAL', 'Empfehlungspunkte');
define('TEXT_DEFAULT_REVIEWS', 'Reviewpunkte');
define('TEXT_DEFAULT_PAYMENT', 'Auszahlung beantragt');
define('TEXT_DEFAULT_PAYMENT_REJECT', 'Auszahlung abgewiesen');
define('TEXT_DEFAULT_PAYMENT_CONFIRMED', 'Auszahlung bestätigt');
define('TEXT_REDEEM_SYSTEM_NOTE', '<font color="red">Die Bestellsumme ist größer als Ihr Bonuskontoguthaben, deshalb benötigen Sie noch eine weitere Zahlungsmöglichkeit.</font>');
define('PAYMENT_BIGGER_THAN_POINTS', 'Sie haben eine zur Auszahlung veranlasste Punktezahl eingegeben, die leider die Anzahl der tatsächlichen Punkteanzahl übersteigt!');
define('PAYMENT_MUST_GREATER_THAN_MIN', 'Sie haben eine zur Auszahlung veranlasste Punktezahl eingegeben, die die Mindestpunkteanzahl unterschreitet. Diese Mindestpunkteanzahl beträgt zur Zeit ');
define('PAYMENT_SUCCESS', 'Wir haben Ihren Wunsch zur Auszahlung Ihrer Punkte erhalten und werden diesen Auftrag schnellstmöglich bearbeiten.');
define('MAIL_PAYMENT_SUBJECT', 'Punkteauszahlung beantragt');
define('EMAIL_TEXT_INTRO_PAYMENT', 'Diese Email dient dazu Sie darüber zu informieren, dass wir Ihre Bitte zur Auszahlung der Punkte erhalten haben.');
define('EMAIL_TEXT_BALANCE_PAYMENT', 'Folgende Punkte möchten Sie ausgezahlt bekommen.');
define('EMAIL_POINTS_PAYMENT', 'Punkte zur Auszahlung vorgemerkt: ');
define('EMAIL_POINTS_VALUE_PAYMENT', 'Wert der Punkte: ');
define('EMAIL_KONTO_PAYMENT', 'Ihr Konto: ');
define('EMAIL_CUSTOMER_ID_PAYMENT', 'Ihre Kundennummer: ');
define('EMAIL_SEPARATOR', '------------------------------------------------------');
define('EMAIL_GREET_MR', 'Sehr geehrter Herr %s,');
define('EMAIL_GREET_MS', 'Sehr geehrte Frau %s,');
define('EMAIL_GREET_NONE', 'Hallo %s');
define('EMAIL_TEXT_POINTS_URL_HELP', 'Die FAQ zum Bonusprogrammmodul gibt es hier: %s');
define('EMAIL_TEXT_MY_POINTS', 'Meine Punkte');
define('EMAIL_CONTACT', 'Falls Sie Fragen zum Bonussystem haben, dann schicken Sie einfach eine Mail mit Ihren Fragen an: ' . STORE_OWNER_EMAIL_ADDRESS . '.');
define('EMAIL_TEXT_POINTS_URL_HELP', 'Die FAQ zum Bonusprogrammmodul gibt es hier: %s');
define('EMAIL_TEXT_MY_POINTS', 'Meine Punkte');
define('EMAIL_TEXT_MY_FAQ', 'FAQ');
define('EMAIL_TEXT_POINTS_URL', 'Um mehr Informationen zu Ihrem Bonusprogrammkonto zu erhalten bitte nachfolgenden Link nutzen: %s');
define('IMAGE_BUTTON_PAYMENT', 'Zahlung anfordern');
define('TEXT_PRODUCT_NO_POINTS', '<font color="#FF0000"> Keine Bonuspunkte bei herabgesetzten Artikeln möglich.</font>');
##### BONUS END
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/german/lang_german.conf
---------------------------------------------------------------------------------------------------
finde folgendes:
[checkout_payment]
und füge danach ein:
##### BONUS
INFO_NOT_ENOUGH_POINTS = 'Ihr derzeitiges Punktekonto reicht leider nicht aus, um Teile Ihrer Bestellung damit zu bezahlen.'
TABLE_HEADING_REDEEM_SYSTEM = 'Abzahlung durch Bonuspunkte'
TEXT_REDEEM_SYSTEM_START = 'Das Bonuskonto weist ein Guthaben von '
TEXT_REDEEM_SYSTEM_START_1 = ' auf. Möchten Sie dieses Guthaben nutzen, um die Bestellung zu bezahlen? Der momentane Wert der Bestellung beträgt: '
TEXT_REDEEM_SYSTEM_START_2 = ' Euro'
TEXT_REDEEM_SYSTEM_SPENDING = 'Klicken Sie bitte hier, um die maximal erlaubte Punktezahl für den Einkauf zu nutzen.'
TEXT_REDEEM_SYSTEM_SPENDING_1 = ' Punkte entsprechen genau '
TEXT_REDEEM_SYSTEM_SPENDING_2 = ' '
Points_Credit = 'Sie haben '
Currently_Valued = ' Bonuspunkte mit einem Wert von '
estimated = 'Der momentane Wert Ihrer Bestellung ist: '
maximum = 'Anklicken um alle Bonuspunkte einzulösen. (momentan '
maximum_1 = ' Punkte).'
enter_maximum = 'Geben Sie die Punkte an, die eingelöst werden sollen: '
tick = 'Anklicken um alle Bonuspunkte einzulösen. (momentan '
tick_1 = ' Punkte) ->'
title_redemptions = 'Einlösen der Bonuspunkte '
##### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
[account]
und füge danach ein:
##### BONUS
MY_POINTS_CURRENT_BALANCE = 'Aktueller Kontostand: '
MY_POINTS_CURRENT_BALANCE_REST = ' Punkte. '
MY_POINTS_CURRENT_BALANCE_REST_1 = ' Wert bei Einlösung der Punkte: '
MY_POINTS_CURRENT_BALANCE_REST_2 = ' Wert bei Auszahlung der Punkte: '
title_bonus = 'Bonusprogramm'
text_points = 'Punkteguthaben einsehen'
text_payments = 'Punkte auszahlen lassen'
##### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
[shopping_cart]
und füge danach ein:
##### BONUS
Points_Credit = 'mögliche Bonuspunkte: '
Currently_Valued = 'Wert: '
##### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
[index]
und füge danach ein:
##### BONUS
Points_Credit = 'mögliche Bonuspunkte: '
Currently_Valued = 'Wert: '
##### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
[product_info]
und füge danach ein:
###### BONUS
Points_Credit = 'mögliche Bonuspunkte: '
Currently_Valued = 'Wert: '
###### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
[boxes]
und füge danach ein:
###### BONUS
TEXT_POINTS_BALANCE = 'aktuelle Bonuspunkte'
TEXT_POINTS = 'Punkte :'
TEXT_VALUE = 'Wert:'
###### BONUS END
---------------------------------------------------------------------------------------------------
finde folgendes:
[print_product_info]
und füge danach ein:
##### BONUS
Points_Credit = 'mögliche Bonuspunkte: '
Currently_Valued = 'Wert: '
##### BONUS END
---------------------------------------------------------------------------------------------------
ganz am Ende einfügen:
###### BONUS
[my_points]
HEADING_TITLE = 'Informationen zu den Bonuspunkten'
MY_POINTS_CURRENT_BALANCE = 'Aktueller Kontostand: '
MY_POINTS_CURRENT_BALANCE_REST = ', dies entspricht einem Geldwert von '
HEADING_ORDER_DATE = 'Aktionsdatum'
HEADING_ORDERS_NUMBER = 'Bestellnr. / -status'
HEADING_POINTS_COMMENT = 'Kommentare'
HEADING_POINTS_STATUS = 'Punktestatus'
HEADING_POINTS_TOTAL = 'Punkte'
MY_POINTS_HELP_LINK = ' Gehe zum '
MY_POINTS_HELP_LINK_1 = '<u> FAQ des Bonusprogramms </u>'
MY_POINTS_HELP_LINK_2 = ', um mehr Informationen zu erhalten.'
###### BONUS END
[my_points_help]
heading_my_points_help = 'FAQ'
[my_payment]
heading_payment = Auszahlung der Bonuspunkte
MY_POINTS_HELP_LINK = ' Gehe zum '
MY_POINTS_HELP_LINK_1 = '<u> FAQ des Bonusprogramms </u>'
MY_POINTS_HELP_LINK_2 = ', um mehr Informationen zu erhalten.'
MY_POINTS_CURRENT_BALANCE = 'Aktueller Kontostand: '
MY_POINTS_CURRENT_BALANCE_REST = ', dies entspricht einem Geldwert von '
INPUT_PAYMENT = 'Bitte geben Sie hier die Punkte an, die Sie zur Auszahlung veranlassen möchten: '
INPUT_KONTO = 'Bitte geben Sie hier Ihre Kontodaten für die Überweisung an: '
###### BONUS END
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-logoff.php
---------------------------------------------------------------------------------------------------
finde folgendes:
unset ($_SESSION['comments']);
und danach einfügen:
############ BONUS MODUL ##################
unset ($_SESSION['customer_shopping_points']);
unset ($_SESSION['customer_shopping_points_spending']);
unset ($_SESSION['customer_referral']);
unset ($_SESSION['points_on']);
############ BONUS MODUL END ##################
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-print_product_info.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$smarty->assign('PRODUCTS_TAX_INFO', sprintf(TAX_INFO_EXCL, $tax_rate.' %'));
}
}
und danach einfügen:
############ BONUS MODUL ##################
if ((USE_POINTS_SYSTEM == 'true') && (DISPLAY_POINTS_INFO == 'true')) { // check that the points system is enabled
$products_price_points = xtc_display_points($products_price[plain], xtc_get_tax_rate($product->data['products_tax_class_id']));
$products_points = xtc_calc_products_price_points($products_price_points);
$products_points_value = xtc_calc_price_pvalue($products_points);
if (USE_POINTS_FOR_SPECIALS == 'true' || !$xtPrice->xtcCheckSpecial($product->data['products_id'])){
$smarty->assign('PRODUCTS_POINTS', $products_points);
$smarty->assign('PRODUCTS_POINTS_VALUE', $xtPrice->xtcFormat($products_points_value,'true'));
} else {
$smarty->assign('PRODUCTS_POINTS', TEXT_PRODUCT_NO_POINTS);
}// else do not show points_value
}
############ BONUS MODUL END ##################
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-product_reviews.php
---------------------------------------------------------------------------------------------------
finde folgendes:
require (DIR_WS_INCLUDES.'header.php');
und füge danach ein:
############ BONUS MODUL ##################
if ((USE_POINTS_SYSTEM == 'true') && (xtc_not_null(USE_POINTS_FOR_REVIEWS))) {
if (USE_POINTS_AND_REDEEM_FROM_CUSTOMER_STATUS == 'false')
$redeem_point_value = REDEEM_POINT_VALUE;
else
$redeem_point_value = $_SESSION['customers_status']['customers_status_redeem_point_value'];
$smarty->assign('REVIEW_HELP_LINK', sprintf(REVIEW_HELP_LINK, $xtPrice->xtcFormat(USE_POINTS_FOR_REVIEWS * $redeem_point_value, true)));
}
############ BONUS MODUL END ##################
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-product_reviews_info.php
---------------------------------------------------------------------------------------------------
finde folgendes:
require (DIR_WS_INCLUDES.'header.php');
und füge danach ein:
############ BONUS MODUL ##################
if ((USE_POINTS_SYSTEM == 'true') && (xtc_not_null(USE_POINTS_FOR_REVIEWS))) {
if (USE_POINTS_AND_REDEEM_FROM_CUSTOMER_STATUS == 'false')
$redeem_point_value = REDEEM_POINT_VALUE;
else
$redeem_point_value = $_SESSION['customers_status']['customers_status_redeem_point_value'];
$smarty->assign('REVIEW_HELP_LINK', sprintf(REVIEW_HELP_LINK, $xtPrice->xtcFormat(USE_POINTS_FOR_REVIEWS * $redeem_point_value, true)));
}
############ BONUS MODUL END ##################
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-product_reviews_write.php
---------------------------------------------------------------------------------------------------
finde folgendes:
xtc_db_query("insert into ".TABLE_REVIEWS_DESCRIPTION." (reviews_id, languages_id, reviews_text) values ('".$insert_id."', '".(int) $_SESSION['languages_id']."', '".addslashes($_POST['review'])."')");
und füge danach ein:
############ BONUS MODUL ##################
if ((USE_POINTS_SYSTEM == 'true') && (xtc_not_null(USE_POINTS_FOR_REVIEWS))) {
$points_toadd = USE_POINTS_FOR_REVIEWS;
$comment = 'TEXT_DEFAULT_REVIEWS';
$points_type = 'RV';
xtc_add_pending_points((int) $_SESSION['customer_id'], $product->data['products_id'], $points_toadd, $comment, $points_type);
}
############ BONUS MODUL END ##################
---------------------------------------------------------------------------------------------------
finde folgendes:
$smarty->assign('FORM_END', '</form>');
und füge danach ein:
############ BONUS MODUL ##################
if ((USE_POINTS_SYSTEM == 'true') && (xtc_not_null(USE_POINTS_FOR_REVIEWS))) {
if (USE_POINTS_AND_REDEEM_FROM_CUSTOMER_STATUS == 'false')
$redeem_point_value = REDEEM_POINT_VALUE;
else
$redeem_point_value = $_SESSION['customers_status']['customers_status_redeem_point_value'];
$smarty->assign('REVIEW_HELP_LINK', sprintf(REVIEW_HELP_LINK, $xtPrice->xtcFormat(USE_POINTS_FOR_REVIEWS * $redeem_point_value, true)));
}
############ BONUS MODUL END ##################
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-reviews.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$smarty->assign('module_content', $module_data);
und füge danach ein:
if ((USE_POINTS_SYSTEM == 'true') && (xtc_not_null(USE_POINTS_FOR_REVIEWS))) {
if (USE_POINTS_AND_REDEEM_FROM_CUSTOMER_STATUS == 'false')
$redeem_point_value = REDEEM_POINT_VALUE;
else
$redeem_point_value = $_SESSION['customers_status']['customers_status_redeem_point_value'];
$smarty->assign('REVIEW_HELP_LINK', sprintf(REVIEW_HELP_LINK, $xtPrice->xtcFormat(USE_POINTS_FOR_REVIEWS * $redeem_point_value, true)));
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-send_order.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$smarty->assign('csID', $order->customer['csID']);
und füge danach ein:
############ BONUS MODUL ##################
$tax_value = 0;
$shipping_value = 0;
$cod_value = 0;
############ BONUS MODUL END ##################
---------------------------------------------------------------------------------------------------
finde folgendes:
$smarty->assign('order_total', $order_total['data']);
und füge danach ein:
############ BONUS MODUL ##################
for ($i=0, $n=sizeof($order_total['data']); $i<$n; $i++) {
if ($order_total['data'][$i]['CLASS'] == 'ot_tax')
$tax_value = $order_total['data'][$i]['VALUE'];
if ($order_total['data'][$i]['CLASS'] == 'ot_shipping')
$shipping_value = $order_total['data'][$i]['VALUE'];
if ($order_total['data'][$i]['CLASS'] == 'ot_cod_fee')
$cod_value = $order_total['data'][$i]['VALUE'];
}
############ BONUS MODUL END ##################
---------------------------------------------------------------------------------------------------
finde folgendes:
$smarty->assign('PAYMENT_INFO_TXT', str_replace("<br />", "\n", MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION));
}
und füge danach ein:
############ BONUS MODUL ##################
$order_total_value_query = xtc_db_query("select value '0' from " . TABLE_ORDERS_TOTAL . " where orders_id = '" . $insert_id . "' and class = 'ot_total'");
list($order_total_value) = xtc_db_fetch_array($order_total_value_query);
if ((USE_POINTS_SYSTEM == 'true') && (DISPLAY_POINTS_INFO == 'true')) { // check that the points system is enabled
$products_price_points = xtc_display_points_checkout_process($order_total_value-$cod_value, 0);
$products_tax_points = xtc_display_points($tax_value, 0);
$products_shipping_points = xtc_display_points($shipping_value, 0);
if (USE_POINTS_FOR_TAX == 'false') {
$products_price_points -=$products_tax_points;
}
if (USE_POINTS_FOR_SHIPPING == 'false') {
$products_price_points -=$products_shipping_points;
}
$products_points = xtc_calc_products_price_points($products_price_points);
$products_points_value = xtc_calc_price_pvalue($products_points);
$smarty->assign('PRODUCTS_POINTS', $products_points);
$smarty->assign('PRODUCTS_POINTS_VALUE', $xtPrice->xtcFormat($products_points_value,'true'));
}
############ BONUS MODUL END ##################
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-shopping_cart.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$products = $_SESSION['cart']->get_products();
und füge danach ein:
############BONUS MODUL ##################
$products_price_points = 0;
############ BONUS MODUL END ##################
---------------------------------------------------------------------------------------------------
finde folgendes:
$products[$i][$option]['products_attributes_model'] = $attributes_values['products_attributes_model'];
}
}
und füge danach ein:
############ BONUS MODUL ##################
if(!$xtPrice->xtcCheckSpecial($products[$i]['id']))
$products_price_points += (xtc_display_points($products[$i]['final_price'], xtc_get_tax_rate($products[$i]['tax_class_id']),$products[$i]['quantity']));
elseif (USE_POINTS_FOR_SPECIALS == 'true')
$products_price_points += (xtc_display_points($products[$i]['final_price'], xtc_get_tax_rate($products[$i]['tax_class_id']),$products[$i]['quantity']));
############ BONUS MODUL END ##################
}
############ BONUS MODUL ##################
if ((USE_POINTS_SYSTEM == 'true') && (DISPLAY_POINTS_INFO == 'true')) { // check that the points system is enabled
$products_points = xtc_calc_products_price_points($products_price_points);
$products_points_value = xtc_calc_price_pvalue($products_points);
$smarty->assign('PRODUCTS_POINTS', $products_points);
$smarty->assign('PRODUCTS_POINTS_VALUE', $xtPrice->xtcFormat($products_points_value,'true'));
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/javascript/general.js.php
---------------------------------------------------------------------------------------------------
finde folgendes:
<script type="text/javascript"><!--
und füge danach ein:
//##### BONUS START
var submitter = null;
function submitFunction() {
submitter = 1;
}
//##### BONUS END
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/mail/english/create_account_mail.html
---------------------------------------------------------------------------------------------------
finde folgendes:
To use the coupon enter the redeem code which is {$COUPON_CODE} during checkout while making a purchase {/if} </font></p></td>
</tr>
</table>
und füge danach ein:
{if $TEXT_POINTS}{$TEXT_POINTS}
{/if}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/mail/english/create_account_mail.txt
---------------------------------------------------------------------------------------------------
finde folgendes:
To use the coupon enter the redeem code which is {$COUPON_CODE} during checkout while making a purchase
{/if}
und füge danach ein:
{if $TEXT_POINTS}{$TEXT_POINTS}
{/if}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/mail/english/order_mail.html
---------------------------------------------------------------------------------------------------
finde folgendes:
<div align="right"><font size="1" face="Arial, Helvetica, sans-serif">{$order_total_values.TITLE}{$order_total_values.TEXT}</font></div>
<br>
{/foreach}
und füge danach ein:
<table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="f1f1f1">
<tr>
<td align="center">{if $PRODUCTS_POINTS !=''}<b>collected points: </b> {$PRODUCTS_POINTS}{if $PRODUCTS_POINTS_VALUE}, valued at: {$PRODUCTS_POINTS_VALUE}{/if}<br>{/if}</td>
</tr>
</table>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/mail/english/order_mail.txt
---------------------------------------------------------------------------------------------------
finde folgendes:
{$PAYMENT_INFO_TXT}
und füge danach ein:
{if $PRODUCTS_POINTS !=''}collected points: {$PRODUCTS_POINTS}{if $PRODUCTS_POINTS_VALUE}, valued at: {$PRODUCTS_POINTS_VALUE}{/if}{/if}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/mail/german/create_account_mail.html
---------------------------------------------------------------------------------------------------
finde folgendes:
</font></td>
</tr>
</table>
und füge danach ein:
{if $TEXT_POINTS}{$TEXT_POINTS}
{/if}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/mail/german/create_account_mail.txt
---------------------------------------------------------------------------------------------------
finde folgendes:
Geben Sie einfach Ihren persönlichen Code {$COUPON_CODE} während des Bezahlvorganges ein
{/if}
und füge danach ein:
{if $TEXT_POINTS}{$TEXT_POINTS}
{/if}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/mail/german/order_mail.html
---------------------------------------------------------------------------------------------------
finde folgendes:
<div align="right"><font size="1" face="Arial, Helvetica, sans-serif">{$order_total_values.TITLE}{$order_total_values.TEXT}</font></div>
<br>
{/foreach}
und füge danach ein:
<table width="100%" border="0" cellpadding="3" cellspacing="0" bgcolor="f1f1f1">
<tr>
<td align="center">{if $PRODUCTS_POINTS !=''}<b>Neue gesammelte Bonus Punkte: </b> {$PRODUCTS_POINTS}{if $PRODUCTS_POINTS_VALUE}, aktueller Wert: {$PRODUCTS_POINTS_VALUE}{/if}<br>{/if}</td>
</tr>
</table>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/mail/german/order_mail.txt
---------------------------------------------------------------------------------------------------
finde folgendes:
{$PAYMENT_INFO_TXT}
und füge danach ein:
{if $PRODUCTS_POINTS !=''}Neue gesammelte Bonus Punkte: {$PRODUCTS_POINTS}{if $PRODUCTS_POINTS_VALUE}, aktueller Wert: {$PRODUCTS_POINTS_VALUE}{/if}{/if}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/account.html
---------------------------------------------------------------------------------------------------
finde folgendes:
</tr>
</table></td>
</tr>
und füge danach ein:
</table>
<span class="smallHeading">{#title_bonus#}</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">
{if $VALUED}
<tr>
<td class="main"><img src="{$tpl_path}img/indicator.gif" alt="" /> {#MY_POINTS_CURRENT_BALANCE#} {$POINTS}{#MY_POINTS_CURRENT_BALANCE_REST#}</td>
</tr>
<tr>
<td class="main"><img src="{$tpl_path}img/indicator.gif" alt="" /> {#MY_POINTS_CURRENT_BALANCE_REST_1#} {$VALUED}</td>
</tr>
{/if}
{if $PAYMENT_VALUED}
<tr>
<td class="main"><img src="{$tpl_path}img/indicator.gif" alt="" /> {#MY_POINTS_CURRENT_BALANCE_REST_2#}{$PAYMENT_VALUED}</td>
</tr>
{/if}
<tr>
<td class="main"><img src="{$tpl_path}img/arrow_green.gif" alt="" /><a href="{$LINK_MY_POINTS}">{#text_points#}</a>
</tr>
{if $LINK_MY_PAYMENTS}
<tr>
<td class="main"><img src="{$tpl_path}img/arrow_green.gif" alt="" /><a href="{$LINK_MY_PAYMENTS}">{#text_payments#}</a>
</tr>
{/if}
<tr>
<td class="main"><img src="{$tpl_path}img/arrow_green.gif" alt="" /><a href="{$LINK_MY_POINTS_HELP}">FAQ</a>
</tr>
---------------------------------------------------------------------------------------------------
finde folgendes:
</table></td>
</tr>
</table>
und füge danach ein:
</td>
</tr>
</table>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/checkout_payment.html
---------------------------------------------------------------------------------------------------
finde folgendes:
</table>
{/if}</td>
</tr>
und füge danach ein:
{if $VALUED}
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main"><b>{#TABLE_HEADING_REDEEM_SYSTEM#}</b></td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
<tr class="infoBoxContents">
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main">{#TEXT_REDEEM_SYSTEM_START#}{$VALUED}{#TEXT_REDEEM_SYSTEM_START_1#}{$ORDER_TOTAL}{$NOTE}</td>
</tr>
<tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)">
<td class="main">{#TEXT_REDEEM_SYSTEM_SPENDING#} {$MAX_POINTS}{#TEXT_REDEEM_SYSTEM_SPENDING_1#} {$VALUED_MAX_POINTS}{#TEXT_REDEEM_SYSTEM_SPENDING_2#}</td>
<td class="main" align="right">{$LIMIT_EXACT_TRUE_MAX_POINTS}</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
{/if}
{if $NOTE_NOT_ENOUGH_POINTS}
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main"><b>{#INFO_NOT_ENOUGH_POINTS#}</b></td>
</tr>
</table></td>
</tr>
{/if}
{if $REFERRAL_INPUT}
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td class="main"><b>{$TABLE_HEADING_REFERRAL}</b></td>
</tr>
</table></td>
</tr>
<tr>
<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
<tr class="infoBoxContents">
<td><table border="0" width="100%" cellspacing="5" cellpadding="2">
<tr>
<td class="main">{$TEXT_REFERRAL_REFERRED}</td>
<td class="main">{$REFERRAL_INPUT}</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
{/if}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/print_product_info.html
---------------------------------------------------------------------------------------------------
finde folgendes:
<strong>{#price#} <font color="#FF0000">{$PRODUCTS_PRICE}</font><br>{$PRODUCTS_TAX_INFO}{$PRODUCTS_SHIPPING_LINK}</strong>
und füge danach ein:
{if $PRODUCTS_POINTS !=''}<p style="font-size:9px;"><b>{#Points_Credit#}</b> {$PRODUCTS_POINTS}{if $PRODUCTS_POINTS_VALUE} ,{#Currently_Valued#} {$PRODUCTS_POINTS_VALUE}{/if}<br></p>{/if}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/product_info/product_info_v1.html
---------------------------------------------------------------------------------------------------
finde folgendes:
<td align="right"><strong>{$PRODUCTS_PRICE}</strong><br />{$PRODUCTS_TAX_INFO}{if $PRODUCTS_SHIPPING_LINK}{$PRODUCTS_SHIPPING_LINK}{/if}</td>
und ersetze es mit:
<td align="right"><strong>{$PRODUCTS_PRICE}</strong><br />{$PRODUCTS_TAX_INFO}{if $PRODUCTS_SHIPPING_LINK}{$PRODUCTS_SHIPPING_LINK}{/if}{if $PRODUCTS_POINTS !=''}<br /><b>{#Points_Credit#}</b> {$PRODUCTS_POINTS}{if $PRODUCTS_POINTS_VALUE}, {#Currently_Valued#} {$PRODUCTS_POINTS_VALUE}{/if}{/if}</td>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/product_reviews.html
---------------------------------------------------------------------------------------------------
finde folgendes:
<td class="main"><div align="left">{$module_data.RATING}</div></td>
<td class="main"><div align="right">{$module_data.DATE}</div></td>
</tr>
und füge danach ein:
<tr>
<td><div align="center">{$REVIEW_HELP_LINK}</div> </td>
</tr>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/product_reviews_info.html
---------------------------------------------------------------------------------------------------
finde folgendes:
<td>{$BUTTON_BACK} </td>
und füge danach ein:
<td><div align="center">{$REVIEW_HELP_LINK}</div> </td>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/product_reviews_write.html
---------------------------------------------------------------------------------------------------
finde folgendes:
<td>{$BUTTON_BACK}</td>
und füge danach ein:
<td><div align="center">{$REVIEW_HELP_LINK}</div> </td>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/reviews.html
---------------------------------------------------------------------------------------------------
finde folgendes:
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
und füge danach ein:
<td><div align="center">{$REVIEW_HELP_LINK}</div> </td>
</tr>
<tr>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/shopping_cart.html
---------------------------------------------------------------------------------------------------
finde folgendes:
{/if}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
und füge danach ein:
<td align="center">{if $PRODUCTS_POINTS !=''}<br /><b>{#Points_Credit#}</b> {$PRODUCTS_POINTS}{if $PRODUCTS_POINTS_VALUE} ,{#Currently_Valued#} {$PRODUCTS_POINTS_VALUE}{/if}{/if}</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
|