|
ECB SEO SHOP SOFTWARE - IMEDES SOFTWARE DOWNLOADS
*****************************************
* *
* INSTALLATION-GUIDE *
* *
*****************************************
* @package Merkzettel *
* @compatible SP2.1 *
*****************************************
--------------
NEW FILES:
--------------
admin/wishlist.php
inc/xtc_products_default_attributes.inc.php
includes/classes/split_page_results2.php
includes/functions/database.php
lang/english/admin/wishlist.php
lang/german/admin/wishlist.php
templates/xtc4/buttons/english/wishlist_button_bg.gif
templates/xtc4/buttons/english/wishlist_button_del_bg.gif
templates/xtc4/buttons/german/wishlist_button_bg.gif
templates/xtc4/buttons/german/wishlist_button_del_bg.gif
templates/xtc4/module/wishlist.html
templates/xtc4/module/wishlist_radio.html
wishlist.php
--------------
NEW DIRS:
--------------
imedes_library
includes/classes/adodb_full
--------------
CHANGED FILES:
--------------
account.php
admin/includes/application_top.php
admin/includes/column_left.php
admin/includes/functions/sessions.php
admin/includes/stylesheet.css
includes/application_top.php
includes/cart_actions.php
includes/classes/product.php
includes/database_tables.php
includes/filenames.php
includes/functions/sessions.php
includes/header.php
includes/modules/order_details_cart.php
includes/modules/product_info.php
lang/english/admin/configuration.php
lang/english/admin/english.php
lang/english/english.php
lang/english/lang_english.conf
lang/german/admin/configuration.php
lang/german/admin/german.php
lang/german/german.php
lang/german/lang_german.conf
product_reviews_info.php
products_new.php
templates/xtc4/index.html
templates/xtc4/module/account.html
templates/xtc4/module/new_products.html
templates/xtc4/module/new_products_default.html
templates/xtc4/module/new_products_overview.html
templates/xtc4/module/order_details.html
templates/xtc4/module/product_info/product_info_v1.html
templates/xtc4/module/product_listing/product_listing_v1.html
templates/xtc4/module/product_reviews_info.html
templates/xtc4/module/specials.html
templates/xtc4/stylesheet.css
-------------
INSTALLATION:
-------------
1. Datenkbankerweiterungen durchführen
CREATE TABLE `wishlist_attributes` (
`attributes_id` int(11) NOT NULL auto_increment,
`customers_id` int(11) NOT NULL default '0',
`wishlist_products_id` int(11) NOT NULL default '0',
`products_options_id` int(11) NOT NULL default '0',
`products_options_value_id` int(11) NOT NULL default '0',
PRIMARY KEY (`attributes_id`)
) TYPE=MyISAM;
CREATE TABLE `wishlist_customers` (
`id` int(11) NOT NULL auto_increment,
`customers_id` int(11) NOT NULL default '0',
`create_date` datetime NOT NULL default '0000-00-00 00:00:00',
`memo` text NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;
CREATE TABLE `wishlist_products` (
`id` int(11) NOT NULL auto_increment,
`wishlist_customers_id` int(11) NOT NULL default '0',
`products_id` int(11) NOT NULL default '0',
`quantity` int(11) NOT NULL default '0',
`memo` text NOT NULL,
`wishstatus` int(1) NOT NULL default '0',
`ordered` int(3) NOT NULL default '0',
`create_date` datetime NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) TYPE=MyISAM;
ALTER TABLE `admin_access` ADD `wishlist` INT( 1 ) DEFAULT '1' NOT NULL ;
INSERT INTO `configuration` ( `configuration_id` , `configuration_key` , `configuration_value` , `configuration_group_id` , `sort_order` , `last_modified` , `date_added` , `use_function` , `set_function` )
VALUES (
'', 'WISHLIST_AUTO', 'true', '17', '99', NULL , '0000-00-00 00:00:00', NULL , 'xtc_cfg_select_option(array(''true'', ''false''),'
);
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 danach ein:
$smarty->assign('LINK_WISHLIST', xtc_href_link(FILENAME_WISHLIST)); // wishlist
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-admin/includes/application_top.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('FILENAME_XSELL_GROUPS','cross_sell_groups.php');
und füge danach ein:
define('FILENAME_WISHLIST','wishlist.php'); // wishlist2.2
define('TABLE_WISHLIST_CUSTOMERS','wishlist_customers'); // wishlist2.2
define('TABLE_WISHLIST_PRODUCTS','wishlist_products');
define('TABLE_WISHLIST_ATTRIBUTES','wishlist_attributes');
---------------------------------------------------------------------------------------------------
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 needed functions
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');
require_once(DIR_FS_INC . 'xtc_db_prepare_input.inc.php');
require_once(DIR_FS_INC . 'xtc_get_ip_address.inc.php');
require_once(DIR_FS_INC . 'xtc_setcookie.inc.php');
require_once(DIR_FS_INC . 'xtc_validate_email.inc.php');
require_once(DIR_FS_INC . 'xtc_not_null.inc.php');
require_once(DIR_FS_INC . 'xtc_add_tax.inc.php');
require_once(DIR_FS_INC . 'xtc_get_tax_rate.inc.php');
require_once(DIR_FS_INC . 'xtc_get_qty.inc.php');
require_once(DIR_FS_INC . 'xtc_product_link.inc.php');
require_once(DIR_FS_INC . 'xtc_cleanName.inc.php');
und ersetze es mit:
// include needed functions
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');
require_once(DIR_FS_INC . 'xtc_db_prepare_input.inc.php');
require_once(DIR_FS_INC . 'xtc_get_ip_address.inc.php');
require_once(DIR_FS_INC . 'xtc_setcookie.inc.php');
require_once(DIR_FS_INC . 'xtc_validate_email.inc.php');
require_once(DIR_FS_INC . 'xtc_not_null.inc.php');
require_once(DIR_FS_INC . 'xtc_add_tax.inc.php');
require_once(DIR_FS_INC . 'xtc_get_tax_rate.inc.php');
require_once(DIR_FS_INC . 'xtc_get_qty.inc.php');
require_once(DIR_FS_INC . 'xtc_product_link.inc.php');
require_once(DIR_FS_INC . 'xtc_cleanName.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:
// make a connection to the database... now
xtc_db_connect() or die('Unable to connect to database server!');
und ersetze es mit:
// make a connection to the database... now
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['module_export'] == '1')) echo '<a href="' . xtc_href_link(FILENAME_MODULE_EXPORT) . '" class="menuBoxContentLink"> -' . BOX_MODULE_EXPORT . '</a><br>';
und füge danach ein:
if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['module_export'] == '1')) echo '<a href="' . xtc_href_link(FILENAME_WISHLIST) . '" class="menuBoxContentLink"> -' . BOX_WISHLIST . '</a><br>'; // wishlist2.2
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-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 ersetze es mit:
function _sess_write($key, $val) {
global $SESS_LIFE;
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/includes/stylesheet.css
---------------------------------------------------------------------------------------------------
finde folgendes:
.dataTableRowSelected {
und füge davor ein:
.dataTableRow2 { /* wishlist2.2 */
background-color: #FFF9E9;
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/application_top.php
---------------------------------------------------------------------------------------------------
finde folgendes:
require_once (DIR_FS_INC.'xtc_db_prepare_input.inc.php');
require_once (DIR_FS_INC.'xtc_get_top_level_domain.inc.php');
Füge danach ein:
require_once (DIR_FS_INC.'xtc_products_default_attributes.inc.php'); // wishlist
---------------------------------------------------------------------------------------------------
finde folgendes:
// verify the browser user agent if the feature is enabled
if (SESSION_CHECK_USER_AGENT == 'True') {
Füge davor ein:
require_once(DIR_FS_CATALOG.'imedes_library/classes/class.wishlist.php'); // wishlist
$wish = new Wishlist;
---------------------------------------------------------------------------------------------------
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:
// Database
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');
require_once (DIR_FS_INC.'xtc_db_prepare_input.inc.php');
require_once (DIR_FS_INC.'xtc_get_top_level_domain.inc.php');
und ersetze es mit:
// Database
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');
require_once (DIR_FS_INC.'xtc_db_prepare_input.inc.php');
require_once (DIR_FS_INC.'xtc_get_top_level_domain.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:
// make a connection to the database... now
xtc_db_connect() or die('Unable to connect to database server!');
und ersetze es mit:
// make a connection to the database... now
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 ersetze es mit:
// include the language translations
require (DIR_WS_LANGUAGES.$_SESSION['language'].'/'.$_SESSION['language'].'.php');
$db->Execute("SET NAMES 'latin1'");
$db->Execute("SET CHARACTER_SET_CLIENT=latin1");
$db->Execute("SET CHARACTER_SET_RESULTS=latin1");
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/cart_actions.php
---------------------------------------------------------------------------------------------------
finde folgendes:
case 'add_product' :
und füge danach ein:
// ---- wishlist beginn ------------
if( $_GET['wishbutton_list2wish'] ) {
if( (int)$_SESSION['customer_id']>0 ){
$wish->AddToWishlist((int)$_SESSION['customer_id'],(int)$_GET['products_id'], $wish->get_optarr($_GET['products_id']) );
xtc_redirect(xtc_href_link(FILENAME_WISHLIST));
}else{
xtc_redirect(xtc_href_link(FILENAME_LOGIN));
}
} else if( $_GET['wishbutton_listfromwish'] ) {
if( (int)$_SESSION['customer_id']>0 ){
$wish->DelWishProduct((int)$_SESSION['customer_id'],(int)$_GET['products_id'] );
$goto = basename($PHP_SELF);
}else{
xtc_redirect(xtc_href_link(FILENAME_LOGIN));
}
} else if( $_GET['wishbutton_cart2wish'] ) {
$wish->AddToWishlist((int)$_SESSION['customer_id'],(int)$_GET['products_id'], $wish->get_optarr($_GET['products_id']) );
// xtc_redirect(xtc_href_link(FILENAME_WISHLIST));
} else
// ---- wishlist end ------------
---------------------------------------------------------------------------------------------------
finde folgendes:
$old_quantity = $_SESSION['cart']->get_quantity(xtc_get_uprid($_POST['products_id'], $_POST['id']));
$econda->_addProduct($_POST['products_id'], $_POST['products_qty'], $old_quantity);
}
und füge danach ein:
// ---- wishlist beginn ------------
foreach( $_POST as $i => $v ) { // workaround for ie
if( strpos($i, 'wishbutton') !== false ) {
$ok_w=true;
break;
}
if( strpos($i, 'wishbut_del') !== false ) {
$ok_w_del=true;
break;
}
}
if($_POST['wishbutton']||($ok_w==true)){
if(!$_SESSION['customer_id']){
xtc_redirect(xtc_href_link(FILENAME_LOGIN));
}else{
$wish->AddToWishlist((int)$_SESSION['customer_id'],(int)$_POST['products_id'],$_POST['id']);
xtc_redirect(xtc_href_link(FILENAME_WISHLIST));
}
}else if($_POST['wishb_del']||($ok_w_del==true)){
if(!$_SESSION['customer_id']){
xtc_redirect(xtc_href_link(FILENAME_LOGIN));
}else{
$wish->DelWishProduct((int)$_SESSION['customer_id'],(int)$_POST['products_id']);
$goto = basename($PHP_SELF);
}
}else{
---------------------------------------------------------------------------------------------------
finde folgendes:
$_SESSION['cart']->add_cart((int) $_POST['products_id'], $_SESSION['cart']->get_quantity(xtc_get_uprid($_POST['products_id'], $_POST['id'])) + xtc_remove_non_numeric($_POST['products_qty']), $_POST['id']);
}
und füge danach ein:
}
---------------------------------------------------------------------------------------------------
finde folgendes:
// performed by the 'buy now' button in product listings and review page
case 'buy_now' :
und füge davor ein:
// -- wishlist beginn ------------------
case 'wishlist':
if(isset($_GET['products_id'])) {
$permission_query = xtc_db_query("SELECT group_permission_".$_SESSION['customers_status']['customers_status_id']." as customer_group, products_fsk18 from ".TABLE_PRODUCTS." where products_id='".(int)$_GET['products_id']."'");
$permission = xtc_db_fetch_array($permission_query);
// check for FSK18
if ($permission['products_fsk18'] == '1' && $_SESSION['customers_status']['customers_fsk18'] == '1') {
xtc_redirect(xtc_href_link(FILENAME_PRODUCT_INFO, 'products_id='.(int)$_GET['products_id'], 'NONSSL'));
}
if ($_SESSION['customers_status']['customers_fsk18_display'] == '0' && $permission['products_fsk18'] == '1') {
xtc_redirect(xtc_href_link(FILENAME_PRODUCT_INFO, 'products_id='.(int)$_GET['products_id'], 'NONSSL'));
}
if (GROUP_CHECK == 'true') {
if ($permission['customer_group'] != '1') {
xtc_redirect(xtc_href_link(FILENAME_PRODUCT_INFO, 'products_id='.(int)$_GET['products_id']));
}
}
if (xtc_has_product_attributes($_GET['products_id'])) {
if(!$_SESSION['customer_id']){
xtc_redirect(xtc_href_link(FILENAME_LOGIN));
}
xtc_redirect(xtc_href_link(FILENAME_PRODUCT_INFO, 'products_id='.(int)$_GET['products_id']));
} else {
if(isset($_SESSION['customer_id'])){
$wish->AddToWishlist((int)$_SESSION['customer_id'],(int)$_GET['products_id']);
xtc_redirect(xtc_href_link(FILENAME_WISHLIST));
} else {
xtc_redirect(xtc_href_link(FILENAME_LOGIN));
}
}
xtc_redirect(xtc_href_link($goto, xtc_get_all_get_params(array ('action', 'products_id'))));
}elseif(isset($_GET['DELproducts_id']) && isset($_SESSION['customer_id'])){
$wish->DelWishProduct((int)$_SESSION['customer_id'],$_GET['DELproducts_id']);
xtc_redirect(xtc_href_link(FILENAME_WISHLIST));
}
break;
// -- wishlist end --------------------
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/classes/product.php
---------------------------------------------------------------------------------------------------
finde folgendes:
function buildDataArray(&$array,$image='thumbnail') {
und füge davor ein:
// wishlist
function getWishlistButton($products_id, $name) {
global $PHP_SELF, $wish;
$wishl_id = $wish->CheckProducts($products_id, $_SESSION['customer_id']);
if( $wishl_id>0 ) {
$parameter=xtc_get_all_get_params(array('products_id'));
$wid = 'action=add_product&wishbutton_listfromwish=1&products_id='.$products_id;
$wid.= '&'.$parameter;
$goto = basename($PHP_SELF);
$button_wishlist = '<a href="'.xtc_href_link($goto, $wid).'">'.xtc_image_button('wishlist_button_del_bg.gif', IMAGE_BUTTON_FROM_WISHLIST).'</a>';
} else {
$attributes=xtc_products_default_attributes($products_id);
$wid = xtc_get_uprid($products_id, $attributes ); // wishlist
$wid = 'action=add_product&wishbutton_list2wish=1&products_id='.$wid;
$button_wishlist = '<a href="'.xtc_href_link(FILENAME_WISHLIST, $wid).'">'.xtc_image_button('wishlist_button_bg.gif', IMAGE_BUTTON_IN_WISHLIST).'</a>';
}
return $button_wishlist;
// return '<a href="'.xtc_href_link(basename($PHP_SELF),'action=wishlist&products_id='.$id.'&'.xtc_get_all_get_params(array ('action')),'NONSSL').'">'.xtc_image_button('wishlist_button_bg.gif', TEXT_BUY.$name.TEXT_WISHLIST).'</a>';
}
---------------------------------------------------------------------------------------------------
finde folgendes:
if ($_SESSION['customers_status']['customers_fsk18'] == '1') {
if ($array['products_fsk18'] == '0')
$buy_now = $this->getBuyNowButton($array['products_id'], $array['products_name']);
} else {
$buy_now = $this->getBuyNowButton($array['products_id'], $array['products_name']);
}
}
und ersetze es mit:
if ($_SESSION['customers_status']['customers_fsk18'] == '1') {
if ($array['products_fsk18'] == '0') {
$buy_now = $this->getBuyNowButton($array['products_id'], $array['products_name']);
$wishlist = $this->getWishlistButton($array['products_id'], $array['products_name']); // wishlist
}
} else {
$buy_now = $this->getBuyNowButton($array['products_id'], $array['products_name']);
$wishlist = $this->getWishlistButton($array['products_id'], $array['products_name']); // wishlist
}
}
---------------------------------------------------------------------------------------------------
finde folgendes:
'PRODUCTS_BUTTON_BUY_NOW' => $buy_now,
und füge danach ein:
'WISHLIST_BUTTON' => $wishlist, // wishlist
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/database_tables.php
---------------------------------------------------------------------------------------------------
finde folgendes:
Released under the GNU General Public License
---------------------------------------------------------------------------------------*/
und füge danach ein:
// wishlist
define('TABLE_WISHLIST_CUSTOMERS','wishlist_customers');
define('TABLE_WISHLIST_PRODUCTS','wishlist_products');
define('TABLE_WISHLIST_ATTRIBUTES','wishlist_attributes');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/filenames.php
---------------------------------------------------------------------------------------------------
finde folgendes:
Released under the GNU General Public License
---------------------------------------------------------------------------------------*/
und füge danach ein:
define('FILENAME_WISHLIST', 'wishlist.php'); // wishlist
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-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 ersetze es mit:
function _sess_write($key, $val) {
global $SESS_LIFE;
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/header.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$smarty->assign('store_name',TITLE);
und füge danach ein:
$smarty->assign('wishlist_lnk',xtc_href_link(FILENAME_WISHLIST, '', 'SSL')); // wishlist
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/modules/order_details_cart.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$module_content[$i] = array ('PRODUCTS_NAME' => $products[$i]['name'].$mark_stock, 'PRODUCTS_QTY' => xtc_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="2"').xtc_draw_hidden_field('products_id[]', $products[$i]['id']).xtc_draw_hidden_field('old_qty[]', $products[$i]['quantity']), 'PRODUCTS_MODEL' => $products[$i]['model'],'PRODUCTS_SHIPPING_TIME'=>$products[$i]['shipping_time'], 'PRODUCTS_TAX' => number_format($products[$i]['tax'], TAX_DECIMAL_PLACES), 'PRODUCTS_IMAGE' => $image, 'IMAGE_ALT' => $products[$i]['name'], 'BOX_DELETE' => xtc_draw_checkbox_field('cart_delete[]', $products[$i]['id']), 'PRODUCTS_LINK' => xtc_href_link(FILENAME_PRODUCT_INFO, xtc_product_link($products[$i]['id'], $products[$i]['name'])), 'PRODUCTS_PRICE' => $xtPrice->xtcFormat($products[$i]['price'] * $products[$i]['quantity'], true), 'PRODUCTS_SINGLE_PRICE' =>$xtPrice->xtcFormat($products[$i]['price'], true), 'PRODUCTS_SHORT_DESCRIPTION' => xtc_get_short_description($products[$i]['id']), 'ATTRIBUTES' => '');
und ersetze es mit:
$wishl_id = $wish->CheckProducts($products[$i]['id'], $_SESSION['customer_id']);
if( $wishl_id>0 ) {
$parameter=xtc_get_all_get_params(array('products_id'));
$wid = 'action=add_product&wishbutton_listfromwish=1&products_id='.$products[$i]['id'];
$wid.= '&'.$parameter;
$goto = basename($PHP_SELF);
$button_wishlist = '<a href="'.xtc_href_link($goto, $wid).'">'.xtc_image_button('wishlist_button_del_bg.gif', IMAGE_BUTTON_FROM_WISHLIST).'</a>';
} else {
$wid = xtc_get_uprid($products[$i]['id'], $products[$i]['attributes'] ); // wishlist
$wid = 'action=add_product&wishbutton_cart2wish=1&products_id='.$wid;
$button_wishlist = '<a href="'.xtc_href_link(FILENAME_WISHLIST, $wid).'">'.xtc_image_button('wishlist_button_bg.gif', IMAGE_BUTTON_WISHLIST).'</a>';
}
$module_content[$i] = array ( 'PRODUCTS_NAME' => $products[$i]['name'].$mark_stock,
'PRODUCTS_QTY' => xtc_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="2"').
xtc_draw_hidden_field('products_id[]', $products[$i]['id']).
xtc_draw_hidden_field('old_qty[]', $products[$i]['quantity']),
'PRODUCTS_MODEL' => $products[$i]['model'],
'PRODUCTS_SHIPPING_TIME'=>$products[$i]['shipping_time'],
'PRODUCTS_TAX' => number_format($products[$i]['tax'], TAX_DECIMAL_PLACES),
'PRODUCTS_IMAGE' => $image, 'IMAGE_ALT' => $products[$i]['name'],
'BOX_DELETE' => xtc_draw_checkbox_field('cart_delete[]', $products[$i]['id']),
'PRODUCTS_LINK' => xtc_href_link(FILENAME_PRODUCT_INFO, xtc_product_link($products[$i]['id'], $products[$i]['name'])),
'PRODUCTS_PRICE' => $xtPrice->xtcFormat($products[$i]['price'] * $products[$i]['quantity'], true),
'PRODUCTS_SINGLE_PRICE' =>$xtPrice->xtcFormat($products[$i]['price'], true),
'PRODUCTS_SHORT_DESCRIPTION' => xtc_get_short_description($products[$i]['id']),
'BUTTON_WISHLIST' => $button_wishlist, // wishlist
'ATTRIBUTES' => '');
---------------------------------------------------------------------------------------------------
finde folgendes:
$module_content[$i]['ATTRIBUTES'][] = array ('ID' => $products[$i][$option]['products_attributes_id'], 'MODEL' => xtc_get_attributes_model(xtc_get_prid($products[$i]['id']), $products[$i][$option]['products_options_values_name'],$products[$i][$option]['products_options_name']), 'NAME' => $products[$i][$option]['products_options_name'], 'VALUE_NAME' => $products[$i][$option]['products_options_values_name'].$attribute_stock_check);
und ersetze es mit:
$module_content[$i]['ATTRIBUTES'][] = array ('ID' => $products[$i][$option]['products_attributes_id'],
'MODEL' => xtc_get_attributes_model(xtc_get_prid($products[$i]['id']), $products[$i][$option]['products_options_values_name'],$products[$i][$option]['products_options_name']),
'NAME' => $products[$i][$option]['products_options_name'],
'VALUE_NAME' => $products[$i][$option]['products_options_values_name'].$attribute_stock_check);
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/modules/product_info.php
---------------------------------------------------------------------------------------------------
finde folgendes:
if ($_SESSION['customers_status']['customers_status_show_price'] != '0') {
// fsk18
if ($_SESSION['customers_status']['customers_fsk18'] == '1') {
if ($product->data['products_fsk18'] == '0') {
$info_smarty->assign('ADD_QTY', xtc_draw_input_field('products_qty', '1', 'size="3"').' '.xtc_draw_hidden_field('products_id', $product->data['products_id']));
$info_smarty->assign('ADD_CART_BUTTON', xtc_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART));
}
} else {
$info_smarty->assign('ADD_QTY', xtc_draw_input_field('products_qty', '1', 'size="3"').' '.xtc_draw_hidden_field('products_id', $product->data['products_id']));
$info_smarty->assign('ADD_CART_BUTTON', xtc_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART));
}
}
und ersetze es mit:
if ($_SESSION['customers_status']['customers_status_show_price'] != '0') {
$wishl_button = xtc_image_submit('wishlist_button_bg.gif', IMAGE_BUTTON_IN_WISHLIST, 'name="wishbutton" value="1"');
$wishl_id = $wish->CheckProducts($product->data['products_id'], $_SESSION['customer_id']);
if( $wishl_id>0 ) {
$wishl_button = xtc_image_submit('wishlist_button_del_bg.gif', IMAGE_BUTTON_FROM_WISHLIST, 'name="wishbut_del" value="1"');
}
// fsk18
if ($_SESSION['customers_status']['customers_fsk18'] == '1') {
if ($product->data['products_fsk18'] == '0') {
$info_smarty->assign('ADD_QTY', xtc_draw_input_field('products_qty', '1', 'size="3"').' '.xtc_draw_hidden_field('products_id', $product->data['products_id']));
$info_smarty->assign('ADD_CART_BUTTON', xtc_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART));
// $info_smarty->assign('ADD_WISHLIST_BUTTON', xtc_image_submit('wishlist_button_bg.gif', IMAGE_BUTTON_IN_WISHLIST, 'name="wishbutton" value="1"')); // wishlist
$info_smarty->assign('ADD_WISHLIST_BUTTON', $wishl_button ); // wishlist
}
} else {
$info_smarty->assign('ADD_QTY', xtc_draw_input_field('products_qty', '1', 'size="3"').' '.xtc_draw_hidden_field('products_id', $product->data['products_id']));
$info_smarty->assign('ADD_CART_BUTTON', xtc_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART));
$info_smarty->assign('ADD_WISHLIST_BUTTON', $wishl_button ); // wishlist
}
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/english/admin/configuration.php
---------------------------------------------------------------------------------------------------
finde folgendes:
?>
und füge davor ein:
// wishlist
define('WISHLIST_AUTO_TITLE','[Wishlist] Autoentrys');
define('WISHLIST_AUTO_DESC','Automatic display products in wishlist?');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/english/admin/english.php
---------------------------------------------------------------------------------------------------
finde folgendes:
?>
und füge davor ein:
define('TEXT_DISPLAY_NUMBER_OF_WISHLISTS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> Wishlists)'); // wishlist2.2
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/english/english.php
---------------------------------------------------------------------------------------------------
finde folgendes:
?>
und füge davor ein:
define('IMAGE_BUTTON_WISHLIST', 'Wishlist'); // wishlist
define('IMAGE_BUTTON_CART_INCREASE', 'increase'); // icart
define('IMAGE_BUTTON_CART_DECREASE', 'decrease'); // icart
define('IMAGE_BUTTON_DELETE_PRODUCT', 'Delete this Product from cart'); // icart
define('IMAGE_BUTTON_DELETE_ALL', 'Clear cart'); // icart
// wishlist
define('TEXT_WISHLIST_INFO','Here you can put on your wishlist, fast, simply and comfortably. You can send it friends and acquaintance.<ol><li>You found an product subsequently, you get on your wishlist</li><li>Push you the Button "on the wishlist", the wishlist are automatically provided and the desired article more</li><li>Later to be able you individual products your own comment to miss.');
define('TEXT_WISHLIST', '\' on the wishlist');
define('NAVBAR_TITLE_WISHLIST','Wishlist');
define('WISHLIST_TEXT_SEND_SUBJECT','My Wishlist');
define('IMAGE_BUTTON_IN_WISHLIST', 'Into Wishlist');
define('IMAGE_BUTTON_FROM_WISHLIST', 'Remove from wishlist');
$month_names = array( 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' );
// $weekday_names = array( 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag', 'Sonntag' );
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/english/lang_english.conf
---------------------------------------------------------------------------------------------------
finde folgendes:
order_total = 'Commanding-sum:'
order_status = 'Order status:'
text_login = 'Login or create new account'
und füge danach ein:
#wishlist
title_wishlist = 'Merkzettel ansehen und bearbeiten'
link_merkzettel = 'Merkzettel'
---------------------------------------------------------------------------------------------------
finde folgendes:
[index]
und füge danach ein:
link_wishlist = 'Wishlist'
---------------------------------------------------------------------------------------------------
am Ende einfügen:
[wishlist]
heading_wishlist = 'Wishlist'
text_wishlist_from = 'from'
text_wishlist_staffel = 'Price'
text_wishlist_pmemo = '<em>Comment:</em>'
text_wishlist_date = 'Added on '
text_wishlist_checkbox = 'Mark '
text_wishlist_qty = 'Quantity: '
text_wishlist_ordered = 'Received: '
text_wishlist_searchtext = 'Name or Email'
text_wishlist_search_true = 'The following wishlists were found :'
text_wishlist_search_false = 'No wishlists were found !'
text_wishlist_result_name = 'Name'
text_wishlist_result_date = 'Create on '
text_wishlist_result_products = 'Products'
text_wishlist_dob = 'Date of birth '
text_wishlist_create = 'Create on'
text_wishlist_memo = '<em>Comment to the wishlist</em>'
text_send_wishlist = 'Wunschliste verschicken'
text_send_name = 'Name'
text_send_email = 'Empfänger'
text_send_comment = 'Comment'
text_quantity = 'Quantity'
text_shippingtime = 'Shipping time:'
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/german/admin/configuration.php
---------------------------------------------------------------------------------------------------
finde folgendes:
?>
und füge davor ein:
// wishlist
define('WISHLIST_AUTO_TITLE','[Merkzettel] Automatische Artikel');
define('WISHLIST_AUTO_DESC','Sollen Artikel automatisch im Merkzettel erscheinen?');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/german/admin/german.php
---------------------------------------------------------------------------------------------------
finde folgendes:
?>
und füge davor ein:
define('BOX_WISHLIST','Merkzettel'); // wishlist2.2
define('TEXT_DISPLAY_NUMBER_OF_WISHLISTS', 'Angezeigt werden <b>%d</b> bis <b>%d</b> (von insgesamt <b>%d</b> Merkzetteln)'); // wishlist2.2
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/german/german.php
---------------------------------------------------------------------------------------------------
finde folgendes:
?>
und füge davor ein:
define('IMAGE_BUTTON_WISHLIST', 'Merkzettel'); // wishlist
//wishlist
define('TEXT_WISHLIST_INFO','Dies ist Ihr persönlicher Merkzettel von wo aus Sie z.B. regelmäßig benötigte Artikel direkt bestellen oder Artikel, die Ihnen besonders gefallen, speichern können, um diese evtl. zu einem späteren Zeitpunkt zu bestellen.<br /><br />Ihr Merkzettel unterstützt Sie auch beim Einkaufen und merkt sich Ihre meist bestellten Artikel, so dass Sie diese regelmäßig benötigten Produkte ohne langes suchen schnell wieder in den Warenkorb legen können. Bei Bedarf können Sie diese Liste auch ändern oder neue Artikel über die jeweilige Produktseite hinzufügen.');
define('TEXT_WISHLIST', '\' auf den Merkzettel ');
define('NAVBAR_TITLE_WISHLIST','Merkzettel ');
define('WISHLIST_TEXT_SEND_SUBJECT','Mein Merkzettel ');
define('IMAGE_BUTTON_IN_WISHLIST', 'Auf den Merkzettel');
define('IMAGE_BUTTON_FROM_WISHLIST', 'Vom Merkzettel löschen');
$month_names = array( 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember' );
$weekday_names = array( 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag', 'Sonntag' );
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/german/lang_german.conf
---------------------------------------------------------------------------------------------------
finde folgendes:
[account]
und füge danach ein:
title_wishlist = 'Merkzettel ansehen und bearbeiten'
link_merkzettel = 'Merkzettel'
---------------------------------------------------------------------------------------------------
finde folgendes:
[index]
und füge danach ein:
link_wishlist = 'Merkzettel'
---------------------------------------------------------------------------------------------------
am Ende einfügen:
[wishlist]
heading_wishlist = 'Merkzettel'
text_wishlist_from = 'ab'
text_wishlist_staffel = 'Staffelpreis'
text_wishlist_pmemo = '<em>Kommentar:</em>'
text_wishlist_date = 'Hinzugefügt am '
text_wishlist_qty = 'gemerkt: '
text_wishlist_result_date = 'Erstellt am'
text_wishlist_result_products = 'Artikeln'
text_wishlist_create = 'Erstellt am'
text_quantity = 'Menge'
text_shippingtime = 'Lieferzeit:'
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-product_reviews_info.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$smarty->assign('BUTTON_BUY_NOW', '<a href="'.xtc_href_link(FILENAME_DEFAULT, 'action=buy_now&BUYproducts_id='.$reviews['products_id']).'">'.xtc_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART));
und füge danach ein:
$smarty->assign('WISHLIST_BUTTON', $product->getWishlistButton($reviews['products_id'], $reviews['products_name']) ); // wishlist
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-products_new.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$module_content[] = array ('PRODUCTS_NAME' => $products_new['products_name'],'PRODUCTS_SHIPPING_LINK' => $ship_info,'PRODUCTS_TAX_INFO' => $tax_info, 'PRODUCTS_DESCRIPTION' => $products_new['products_short_description'], 'PRODUCTS_PRICE' => $products_price['formated'], 'PRODUCTS_VPE' => $vpePrice, 'PRODUCTS_LINK' => xtc_href_link(FILENAME_PRODUCT_INFO, xtc_product_link($products_new['products_id'], $products_new['products_name'])), 'PRODUCTS_IMAGE' => $products_image, 'BUTTON_BUY_NOW' => $buy_now);
und ersetze es mit:
$wishlist = $product->getWishlistButton($products_new['products_id'], $products_new['products_name']); // wishlist
$module_content[] = array ( 'PRODUCTS_NAME' => $products_new['products_name'],
'PRODUCTS_SHIPPING_LINK' => $ship_info,
'PRODUCTS_TAX_INFO' => $tax_info,
'PRODUCTS_DESCRIPTION' => $products_new['products_short_description'],
'PRODUCTS_PRICE' => $products_price['formated'],
'PRODUCTS_VPE' => $vpePrice,
'PRODUCTS_LINK' => xtc_href_link(FILENAME_PRODUCT_INFO, xtc_product_link($products_new['products_id'], $products_new['products_name'])),
'PRODUCTS_IMAGE' => $products_image,
'WISHLIST_BUTTON' => $wishlist, // wishlist
'BUTTON_BUY_NOW' => $buy_now );
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/index.html
---------------------------------------------------------------------------------------------------
finde folgendes:
<td align="right" class="main">{if $account}{php} if (isset($_SESSION['customer_id'])) { {/php}<a href="{$logoff}">{#link_logoff#}</a> | {php} } {/php}{/if}{if $account}<a href="{$account}">{#link_account#}</a> | {/if}<a href="{$cart}">{#link_cart#}</a> | <a href="{$checkout}">{#link_checkout#}</a></td>
und ersetze es mit:
<td align="right" class="main">{if $wishlist_lnk}<a href="{$wishlist_lnk}">{#link_wishlist#}</a> | {/if}{if $account}{php} if (isset($_SESSION['customer_id'])) { {/php}<a href="{$logoff}">{#link_logoff#}</a> | {php} } {/php}{/if}{if $account}<a href="{$account}">{#link_account#}</a> | {/if}<a href="{$cart}">{#link_cart#}</a> | <a href="{$checkout}">{#link_checkout#}</a></td>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/account.html
---------------------------------------------------------------------------------------------------
finde folgendes:
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="main"><img src="{$tpl_path}img/arrow_green.gif" alt="" /><a href="{$LINK_NEWSLETTER}">{#text_newsletter#}</a></td>
</tr>
</table>
und danach einfügen:
<span class="smallHeading">{#title_wishlist#}</span>
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td valign="middle" class="main" style="border-top: 1px solid; border-color: #cccccc;">
<table width="100%" border="0" cellspacing="0" cellpadding="3">
<tr>
<td class="main"><img src="{$tpl_path}img/arrow_green.gif" alt="" /><a href="{$LINK_WISHLIST}">{#link_merkzettel#}</a></td>
</tr>
</table></td>
</tr>
</table>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/new_products.html
---------------------------------------------------------------------------------------------------
finde folgendes:
{$module_data.PRODUCTS_BUTTON_BUY_NOW}<br />
und ersetze es mit:
{$module_data.PRODUCTS_BUTTON_BUY_NOW}<br />{$module_data.WISHLIST_BUTTON}<br />
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/new_products_default.html
---------------------------------------------------------------------------------------------------
finde folgendes:
{$module_data.PRODUCTS_BUTTON_BUY_NOW}<br />
und ersetze es mit:
{$module_data.PRODUCTS_BUTTON_BUY_NOW}<br />{$module_data.WISHLIST_BUTTON}<br />
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/new_products_overview.html
---------------------------------------------------------------------------------------------------
finde folgendes:
{$module_data.PRODUCTS_BUTTON_BUY_NOW}</td>
und ersetze es mit:
{$module_data.BUTTON_BUY_NOW}<br />{$module_data.WISHLIST_BUTTON}</td>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/order_details.html
---------------------------------------------------------------------------------------------------
finde folgendes:
<td width="10" align="center" valign="middle" class="boxTextBGII">{$module_data.BOX_DELETE}</td>
und ersetze es mit:
<td width="10" align="center" valign="middle" class="boxTextBGII">{$module_data.BOX_DELETE}{$module_data.BUTTON_WISHLIST}</td>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/product_info/product_info_v1.html
---------------------------------------------------------------------------------------------------
finde folgendes:
<td>{$ADD_CART_BUTTON}</td>
und danach einfügen:
<td> </td>
<td>{$ADD_WISHLIST_BUTTON}</td>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/product_listing/product_listing_v1.html
---------------------------------------------------------------------------------------------------
finde folgendes:
{$module_data.PRODUCTS_BUTTON_BUY_NOW}</td>
und ersetze es mit:
{$module_data.PRODUCTS_BUTTON_BUY_NOW}<br>{$module_data.WISHLIST_BUTTON}</td>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/product_reviews_info.html
---------------------------------------------------------------------------------------------------
finde folgendes:
<td><div align="right">{$BUTTON_BUY_NOW}</div></td>
und ersetze es mit:
<td><div align="right">{$BUTTON_BUY_NOW}<br />{$WISHLIST_BUTTON}</div></td>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/specials.html
---------------------------------------------------------------------------------------------------
finde folgendes:
{$module_data.PRODUCTS_BUTTON_BUY_NOW}</td>
und ersetze es mit:
{$module_data.PRODUCTS_BUTTON_BUY_NOW}<br />{$module_data.WISHLIST_BUTTON}</td>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/stylesheet.css
---------------------------------------------------------------------------------------------------
am Ende einfügen:
/* wishlist */
.wl_border {border-top:1px solid #dddddd; margin-top:5px;}
.wl_checkbox {padding-bottom:5px;}
.wl_name {padding-left:0px; font-weight:bold;}
.wl_desc {padding-right:3px;padding-top:3px;}
.wl_price {font-weight:bold;}
.wl_box {background-color:#f2f2f2;padding:5px;margin-bottom:1px;}
.wl_searchbox {background-color:#f2f2f2;}
.wl_resultheader {background-color:#dddddd; padding:2px;}
.wl_resultcontent {background-color:#f9f9f9;}
.wl_resultcontent2 {background-color:#ffffff;}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
|