|
ECB SEO SHOP SOFTWARE - IMEDES SOFTWARE DOWNLOADS
*****************************************
* *
* INSTALLATION-GUIDE *
* *
*****************************************
* @package One Page Checkout *
* (c) Imedes 2008 *
* info@imedes.de *
* @compatible SP2.1 *
*****************************************
--------------
NEW FILES:
--------------
checkout.php
images/chkt_delete.gif
images/chkt_minus.gif
images/chkt_plus.gif
images/chkt_show.gif
includes/checkout.js.php
includes/classes/checkout.php
includes/functions/database.php
includes/modal-message.js
includes/mootools.js
includes/xajax.checkout.php
install.ajax_checkout_process.php
lang/english/checkout-modal-message-1.php
lang/german/checkout-modal-message-1.php
payment_module_installationsanleitung.txt
templates/xtc4/buttons/english/button_checkout_edit.gif
templates/xtc4/buttons/english/button_checkout_save.gif
templates/xtc4/buttons/german/button_checkout_edit.gif
templates/xtc4/buttons/german/button_checkout_save.gif
templates/xtc4/img/ajaxload.gif
templates/xtc4/module/checkout.html
templates/xtc4/module/checkout_payment_block_dropdown.html
templates/xtc4/module/checkout_payment_block_luupay_step2.html
templates/xtc4/module/checkout_payment_block_luupay_step2_dropdown.html
templates/xtc4/module/checkout_shipping_block_dropdown.html
xajax.inc.php
xajaxCompress.php
xajaxResponse.inc.php
--------------
NEW DIRS:
--------------
imedes_library
includes/classes/adodb_full
lib
xajax_js
--------------
CHANGED FILES:
--------------
admin/includes/application_top.php
admin/includes/column_left.php
admin/includes/functions/sessions.php
checkout_process.php
create_guest_account.php
includes/application_top.php
includes/classes/order_total.php
includes/classes/payment.php
includes/filenames.php
includes/functions/sessions.php
includes/header.php
includes/modules/checkout_new_address.php
includes/modules/order_total/ot_gv.php
includes/modules/payment/banktransfer.php
includes/modules/payment/cc.php
includes/modules/payment/cod.php
includes/modules/payment/ipayment.php
includes/modules/payment/ipaymentelv.php
includes/modules/payment/luupws.php
includes/modules/payment/paypal.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
shopping_cart.php
templates/xtc4/index.html
templates/xtc4/module/checkout_new_address.html
templates/xtc4/module/checkout_payment_block.html
templates/xtc4/module/checkout_shipping_block.html
templates/xtc4/stylesheet.css
-------------
INSTALLATION:
-------------
1. Die Datei install.ajax_checkout_process.php ausführen und danach löschen. Beispiel: http://www.IhreShopadresse.de/install.ajax_checkout_process.php
Damit werden die Datenbankerweiterungen vollzogen.
2. new_files und new_dirs kopieren.
3. changed_files kopieren, oder bei nicht standard-version folgende änderungen durchführen:
-admin/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_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['configuration'] == '1')) echo '<a href="' . xtc_href_link(FILENAME_CONFIGURATION, 'gID=22', 'NONSSL') . '" class="menuBoxContentLink"> -' . BOX_CONFIGURATION_22 . '</a><br>';
und füge danach ein:
if (($_SESSION['customers_status']['customers_status_id'] == '0') && ($admin_access['configuration'] == '1')) echo '<a href="' . xtc_href_link(FILENAME_CONFIGURATION, 'gID=333', 'NONSSL') . '" class="menuBoxContentLink"> -' . BOX_CONFIGURATION_333 . '</a><br>';
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-admin/includes/functions/sessions.php
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
function _sess_write($key, $val) {
global $SESS_LIFE;
und füge danach ein:
if(!is_object($db)){// Vermutlich wird das $db objekt gelöscht, bevor die Session geschrieben wird
global$db;
require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt_admin.php');
db_connect_alt() or die('Unable to connect to database server!');
$db->Execute("SET NAMES 'latin1'");
$db->Execute("SET CHARACTER_SET_CLIENT=latin1");
$db->Execute("SET CHARACTER_SET_RESULTS=latin1");
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-checkout_process.php
---------------------------------------------------------------------------------------------------
finde folgendes:
// load selected payment module
require (DIR_WS_CLASSES.'payment.php');
if (isset ($_SESSION['credit_covers']))
und füge davor ein:
if ($_POST['checkout_xajax'] == 1) {
$_SESSION['comments'] = strip_tags($_POST['comments']);
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-create_guest_account.php
---------------------------------------------------------------------------------------------------
finde folgendes:
xtc_redirect(xtc_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
und mit folgendem ersetzen:
if (CHECKOUT_AJAX_STAT == 'true' && $_POST['checkout_js_stat'] == 1) {
xtc_redirect(xtc_href_link(FILENAME_CHECKOUT, '', 'SSL'));
} else {
xtc_redirect(xtc_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
}
---------------------------------------------------------------------------------------------------
finde folgendes:
$smarty->assign('BUTTON_SUBMIT', xtc_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE));
und mit folgendem ersetzen:
$post_js_stat = '<script type="text/javascript">';
$post_js_stat .= "\n";
$post_js_stat .= '<!--';
$post_js_stat .= "\n";
$post_js_stat .= 'document.write(\''.xtc_draw_hidden_field('checkout_js_stat',1).'\');';
$post_js_stat .= "\n";
$post_js_stat .= '//-->';
$post_js_stat .= "\n";
$post_js_stat .= '</script>';
$smarty->assign('BUTTON_SUBMIT', xtc_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE).$post_js_stat);
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-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");
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/classes/order_total.php
---------------------------------------------------------------------------------------------------
finde folgendes:
if (MODULE_ORDER_TOTAL_INSTALLED) {
$header_string = '<tr>'."\n";
$header_string .= ' <td><table border="0" width="100%" cellspacing="0" cellpadding="2">'."\n";
$output1_string .= ' <tr>'."\n";
$header_string .= ' <td class="main"><b>'.TABLE_HEADING_CREDIT.'</b></td>'."\n";
$header_string .= ' </tr>'."\n";
$header_string .= ' </table></td>'."\n";
$header_string .= ' </tr>'."\n";
$header_string .= '<tr>'."\n";
$header_string .= ' <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">'."\n";
$header_string .= ' <tr class="infoBoxContents"><td><table border="0" width="100%" cellspacing="0" cellpadding="2">'."\n";
$header_string .= ' <tr><td width="10">'.xtc_draw_separator('pixel_trans.gif', '10', '1').'</td>'."\n";
$header_string .= ' <td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="2">'."\n";
$close_string = ' </table></td>';
$close_string .= '<td width="10">'.xtc_draw_separator('pixel_trans.gif', '10', '1').'</td>';
$close_string .= '</tr></table></td></tr></table></td>';
$close_string .= '<tr><td width="100%">'.xtc_draw_separator('pixel_trans.gif', '100%', '10').'</td></tr>';
reset($this->modules);
und ersetze es mit:
if (MODULE_ORDER_TOTAL_INSTALLED) {
$header_string = '<table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">'."\n";
$header_string .= ' <tr class="infoBoxContents"><td><table border="0" width="100%" cellspacing="0" cellpadding="0">'."\n";
$header_string .= ' <tr><td width="10">'.xtc_draw_separator('pixel_trans.gif', '10', '1').'</td>'."\n";
$header_string .= ' <td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="2">'."\n";
$close_string = ' </table></td>';
$close_string .= '<td width="10">'.xtc_draw_separator('pixel_trans.gif', '10', '1').'</td>';
$close_string .= '</tr></table></td></tr></table>';
reset($this->modules);
---------------------------------------------------------------------------------------------------
finde folgendes:
$output_string .= '<tr colspan="4"><td colspan="4" width="100%">'.xtc_draw_separator('pixel_trans.gif', '100%', '10').'</td></tr>';
$output_string = ' <tr class="moduleRow" onmouseover="rowOverEffect(this)" onmouseout="rowOutEffect(this)" >'."\n".' <td s width="10">'.xtc_draw_separator('pixel_trans.gif', '10', '1').'</td>'.' <td class="main"><b>'.$GLOBALS[$class]->header.'</b></td>'.$use_credit_string;
und ersetze es mit:
$output_string .= ' <tr class="moduleRow">'."\n".'<td width="10" class="onepxwidth"></td>'.'<td class="main"><b>'.$GLOBALS[$class]->header.'</b><br />'.$use_credit_string.'</td>';
---------------------------------------------------------------------------------------------------
finde folgendes:
include (DIR_WS_LANGUAGES.$_SESSION['language'].'/modules/order_total/'.$value);
include (DIR_WS_MODULES.'order_total/'.$value);
und ersetze es mit:
require_once (DIR_WS_LANGUAGES.$_SESSION['language'].'/modules/order_total/'.$value);
require_once (DIR_WS_MODULES.'order_total/'.$value);
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/classes/payment.php
---------------------------------------------------------------------------------------------------
finde folgendes:
if ( (xtc_count_payment_modules() == 1) && (!is_object($_SESSION['payment'])) ) {
und ersetze es mit:
if ( (xtc_count_payment_modules() == 1) && (!is_object($_SESSION['payment'])) && ($_SESSION['payment'] != 'no_payment') ) {
---------------------------------------------------------------------------------------------------
finde folgendes:
function pre_confirmation_check() {
und ersetze es mit:
function pre_confirmation_check($vars='') {
---------------------------------------------------------------------------------------------------
finde folgendes:
$GLOBALS[$this->selected_module]->pre_confirmation_check();
und ersetze es mit:
$GLOBALS[$this->selected_module]->pre_confirmation_check($vars);
---------------------------------------------------------------------------------------------------
finde folgendes:
function process_button() {
if (is_array($this->modules)) {
if (is_object($GLOBALS[$this->selected_module]) && ($GLOBALS[$this->selected_module]->enabled) ) {
return $GLOBALS[$this->selected_module]->process_button();
}
}
}
und ersetze es mit:
function process_button($xajax=false, $vars='') {
if (is_array($this->modules)) {
if (is_object($GLOBALS[$this->selected_module]) && ($GLOBALS[$this->selected_module]->enabled) && !$xajax ) {
return $GLOBALS[$this->selected_module]->process_button($vars);
}
if (is_object($GLOBALS[$_SESSION['payment']]) && ($GLOBALS[$_SESSION['payment']]->enabled) && $xajax ) {
return $GLOBALS[$_SESSION['payment']]->process_button($vars);
}
}
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/filenames.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('FILENAME_ALSO_PURCHASED_PRODUCTS', 'also_purchased_products.php');
und füge danach ein:
// AJAX CHECKOUT PROCESS
define('FILENAME_CHECKOUT', 'checkout.php');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/functions/sessions.php
---------------------------------------------------------------------------------------------------
Achtung!!!! Diese folgende Änderung ist nur notwendig, wenn Sie bisher noch KEINE Bibliothek von Imedes
erworben haben, welches unter einer Bezahllizenz steht. Falls Sie nicht sicher sind, dann schauen Sie
einfach in den Quellcode der entsprechenden Datei oder sprechen uns einfach an
finde folgendes:
function _sess_write($key, $val) {
global $SESS_LIFE;
und füge danach ein:
if(!is_object($db)){// Vermutlich wird das $db objekt gelöscht, bevor die Session geschrieben wird
global$db;
require_once (DIR_FS_CATALOG.'imedes_library/db_connect_alt.php');
db_connect_alt() or die('Unable to connect to database server!');
$db->Execute("SET NAMES 'latin1'");
$db->Execute("SET CHARACTER_SET_CLIENT=latin1");
$db->Execute("SET CHARACTER_SET_RESULTS=latin1");
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/header.php
---------------------------------------------------------------------------------------------------
finde folgendes:
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html <?php echo HTML_PARAMS; ?>>
und füge davor ein:
if (strstr($PHP_SELF, FILENAME_CHECKOUT)) {
include("xajax.checkout.php");
}
---------------------------------------------------------------------------------------------------
finde folgendes:
// require theme based javascript
require('templates/'.CURRENT_TEMPLATE.'/javascript/general.js.php');
und füge danach ein
// AJAX CHECKOUT PROCESS
if (strstr($PHP_SELF, FILENAME_CHECKOUT)) {
$xajax->printJavascript();
echo '<script type="text/javascript" src="includes/mootools.js"></script>';
echo '<script type="text/javascript" src="includes/modal-message.js"></script>';
require('includes/checkout.js.php');
}
---------------------------------------------------------------------------------------------------
finde folgendes:
$smarty->assign('checkout',xtc_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
und ersetze es mit:
$smarty->assign('checkout1',xtc_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));
$smarty->assign('checkout2',xtc_href_link(FILENAME_CHECKOUT, '', 'SSL'));
$smarty->assign('checkout2_stat', (CHECKOUT_AJAX_STAT == 'true') ? 1 : 0);
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/modules/checkout_new_address.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$module_smarty->assign('INPUT_CODE', xtc_draw_input_fieldNote(array ('name' => 'postcode', 'text' => ' '. (xtc_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">'.ENTRY_POST_CODE_TEXT.'</span>' : ''))));
$module_smarty->assign('INPUT_CITY', xtc_draw_input_fieldNote(array ('name' => 'city', 'text' => ' '. (xtc_not_null(ENTRY_CITY_TEXT) ? '<span class="inputRequirement">'.ENTRY_CITY_TEXT.'</span>' : ''))));
und füge danach ein:
if ($_POST['country']){
$selected = $_POST['country'];
}else{
$selected = STORE_COUNTRY;
}
$cid = empty($country) ? $selected : $country;
$html_country_onchange = '';
---------------------------------------------------------------------------------------------------
finde folgendes:
if (ACCOUNT_STATE == 'true') {
$module_smarty->assign('state', '1');
if ($process == true) {
if ($entry_state_has_zones == true) {
$zones_array = array ();
$zones_query = xtc_db_query("select zone_name from ".TABLE_ZONES." where zone_country_id = '".xtc_db_input($country)."' order by zone_name");
while ($zones_values = xtc_db_fetch_array($zones_query)) {
$zones_array[] = array ('id' => $zones_values['zone_name'], 'text' => $zones_values['zone_name']);
}
$entry_state = xtc_draw_pull_down_menuNote(array ('name' => 'state', 'text' => ' '. (xtc_not_null(ENTRY_STATE_TEXT) ? '<span class="inputRequirement">'.ENTRY_STATE_TEXT.'</span>' : '')), $zones_array);
} else {
$entry_state = xtc_draw_input_fieldNote(array ('name' => 'state', 'text' => ' '. (xtc_not_null(ENTRY_STATE_TEXT) ? '<span class="inputRequirement">'.ENTRY_STATE_TEXT.'</span>' : '')));
}
} else {
$entry_state = xtc_draw_input_fieldNote(array ('name' => 'state', 'text' => ' '. (xtc_not_null(ENTRY_STATE_TEXT) ? '<span class="inputRequirement">'.ENTRY_STATE_TEXT.'</span>' : '')));
}
$module_smarty->assign('INPUT_STATE', $entry_state);
} else {
$module_smarty->assign('state', '0');
}
if ($_POST['country']){
$selected = $_POST['country'];
}else{
$selected = STORE_COUNTRY;
}
$module_smarty->assign('SELECT_COUNTRY', xtc_get_country_list('country', $selected).' '. (xtc_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">'.ENTRY_COUNTRY_TEXT.'</span>' : ''));
$module_smarty->assign('language', $_SESSION['language']);
und ersetze es mit:
if (ACCOUNT_STATE == 'true') {
$module_smarty->assign('state', '1');
$zones_array = array ();
$zones_query = xtc_db_query("select zone_name from ".TABLE_ZONES." where zone_country_id = '".xtc_db_input($cid)."' order by zone_name");
while ($zones_values = xtc_db_fetch_array($zones_query)) {
$zones_array[] = array ('id' => $zones_values['zone_name'], 'text' => $zones_values['zone_name']);
}
if (count($zones_array) > 0) {
$entry_state = '<span id="checkout_states">'.xtc_draw_pull_down_menuNote(array ('name' => 'state', 'text' => ' '. (xtc_not_null(ENTRY_STATE_TEXT) ? '<span class="inputRequirement">'.ENTRY_STATE_TEXT.'</span>' : '')), $zones_array).'</span>';
$module_smarty->assign('state_stat', '1');
} else {
$entry_state = '<span id="checkout_states"></span>';
$module_smarty->assign('state_stat', '0');
}
$html_country_onchange = 'onchange="updateStates(this.value, this.form);"';
$module_smarty->assign('INPUT_STATE', $entry_state);
} else {
$module_smarty->assign('state', '0');
}
$module_smarty->assign('SELECT_COUNTRY', xtc_get_country_list('country', $selected, $html_country_onchange).' '. (xtc_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">'.ENTRY_COUNTRY_TEXT.'</span>' : ''));
$module_smarty->assign('language', $_SESSION['language']);
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/modules/order_total/ot_gv.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$this->checkbox = $this->user_prompt.'<input type="checkbox" onClick="submitFunction()" name="'.'c'.$this->code.'">';
und ersetze es mit:
$this->checkbox = $this->user_prompt.' <input type="checkbox" onclick="useGV(this);" style="vertical-align:middle; margin:0px; padding:0px;" id="'.'c'.$this->code.'" name="'.'c'.$this->code.'">';
---------------------------------------------------------------------------------------------------
finde folgendes:
$output_string .= ' <td nowrap align="right" class="main">';
$output_string .= '<b>'.$this->checkbox.'</b>'.'</td>'."\n";
und ersetze es mit:
$output_string = $this->checkbox;
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/modules/payment/banktransfer.php
---------------------------------------------------------------------------------------------------
Da diese Datei sehr selten geändert wird, auch im Verlaufe vieler Modulinstallation
und auf Grund der schwerwiegenden Änderungen durch dieses Modul, sollte die komplette Datei
aus dem changed_files Ordner kopiert werden.
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/modules/payment/cc.php
---------------------------------------------------------------------------------------------------
Da diese Datei sehr selten geändert wird, auch im Verlaufe vieler Modulinstallation
und auf Grund der schwerwiegenden Änderungen durch dieses Modul, sollte die komplette Datei
aus dem changed_files Ordner kopiert werden.
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/modules/payment/cod.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$this->cost;
und ersetze es mit:
if (strstr(MODULE_ORDER_TOTAL_INSTALLED, 'ot_cod')) {
$this->cost = '';
} else {
$this->cost;
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/modules/payment/ipayment.php
---------------------------------------------------------------------------------------------------
Da diese Datei sehr selten geändert wird, auch im Verlaufe vieler Modulinstallation
und auf Grund der schwerwiegenden Änderungen durch dieses Modul, sollte die komplette Datei
aus dem changed_files Ordner kopiert werden.
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/modules/payment/ipaymentelv.php
---------------------------------------------------------------------------------------------------
Da diese Datei sehr selten geändert wird, auch im Verlaufe vieler Modulinstallation
und auf Grund der schwerwiegenden Änderungen durch dieses Modul, sollte die komplette Datei
aus dem changed_files Ordner kopiert werden.
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/modules/payment/luupws.php
---------------------------------------------------------------------------------------------------
Da diese Datei sehr selten geändert wird, auch im Verlaufe vieler Modulinstallation
und auf Grund der schwerwiegenden Änderungen durch dieses Modul, sollte die komplette Datei
aus dem changed_files Ordner kopiert werden.
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-includes/modules/payment/paypal.php
---------------------------------------------------------------------------------------------------
finde folgendes:
function payment_action() {
global $order, $xtPrice;
und ersetze es mit:
function payment_action() {
global $order, $xtPrice, $_POST;
---------------------------------------------------------------------------------------------------
finde folgendes:
$dataString = 'cmd=_xclick&business='.MODULE_PAYMENT_PAYPAL_ID.'&item_name='.STORE_NAME.'-OID:'.$_SESSION['tmp_oID'].'&amount='. ($amount - $shipping).'&shipping='.$shipping.'¤cy_code='.$my_currency.'&return='.xtc_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL').'&cancel_return='.xtc_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL');
und ersetze es mit:
if ($_POST['checkout_xajax'] == 1) {
$dataString = 'cmd=_xclick&business='.MODULE_PAYMENT_PAYPAL_ID.'&item_name='.STORE_NAME.'-OID:'.$_SESSION['tmp_oID'].'&amount='. ($amount - $shipping).'&shipping='.$shipping.'¤cy_code='.$my_currency.'&return='.xtc_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL').'&cancel_return='.xtc_href_link(FILENAME_CHECKOUT, '', 'SSL');
} else {
$dataString = 'cmd=_xclick&business='.MODULE_PAYMENT_PAYPAL_ID.'&item_name='.STORE_NAME.'-OID:'.$_SESSION['tmp_oID'].'&amount='. ($amount - $shipping).'&shipping='.$shipping.'¤cy_code='.$my_currency.'&return='.xtc_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL').'&cancel_return='.xtc_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL');
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/english/admin/configuration.php
---------------------------------------------------------------------------------------------------
finde folgendes:
?>
und füge davor ein:
// AJAX CHECKOUT PROCESS
define('CHECKOUT_VIEW_TITLE','View options of payment and shipping modules');
define('CHECKOUT_VIEW_DESC','In which way should the payment and shipping modules be shown?');
define('CHECKOUT_SHOW_SHIPPING_MODULES_TITLE','Shipping modules opened?');
define('CHECKOUT_SHOW_SHIPPING_MODULES_DESC','Should the shipping modules be shown?');
define('CHECKOUT_SHOW_SHIPPING_ADDRESS_TITLE','Shipping address opened?');
define('CHECKOUT_SHOW_SHIPPING_ADDRESS_DESC','Should the shipping address be shown?');
define('CHECKOUT_SHOW_PAYMENT_MODULES_TITLE','Payment modules opened?');
define('CHECKOUT_SHOW_PAYMENT_MODULES_DESC','Should the payment modules be shown?');
define('CHECKOUT_SHOW_PAYMENT_ADDRESS_TITLE','Payment address opened?');
define('CHECKOUT_SHOW_PAYMENT_ADDRESS_DESC','Should the payment address be shown?');
define('CHECKOUT_SHOW_COMMENTS_TITLE','Comments opened?');
define('CHECKOUT_SHOW_COMMENTS_DESC','Should the comments field be shown?');
define('CHECKOUT_SHOW_PRODUCTS_TITLE','Product list opened?');
define('CHECKOUT_SHOW_PRODUCTS_DESC','Should the product list be shown?');
define('CHECKOUT_SHOW_AGB_TITLE','General business conditions opened?');
define('CHECKOUT_SHOW_AGB_DESC','Should the general business conditions be shown?');
define('CHECKOUT_SHOW_REVOCATION_TITLE','Notice of revocation opened?');
define('CHECKOUT_SHOW_REVOCATION_DESC','Should the notice of revocation be shown?');
define('CHECKOUT_AJAX_PRODUCTS_TITLE','Provide the opportunity of changing the products?');
define('CHECKOUT_AJAX_PRODUCTS_DESC','Should customers easily edit their articles during the checkout process?');
define('CHECKOUT_AJAX_STAT_TITLE','AJAX Checkout Prozess active?');
define('CHECKOUT_AJAX_STAT_DESC','Should customers order their products via an easy and dynamic Checkout page?');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/english/admin/english.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('BOX_CONFIGURATION_22', 'Search-Options');
und füge danach ein:
define('BOX_CONFIGURATION_333', 'Checkout process');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/english/english.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('NAVBAR_TITLE2_ADVANCED_SEARCH', 'Search results');
und füge danach ein:
define('NAVBAR_TITLE_1_CHECKOUT', 'Checkout');
---------------------------------------------------------------------------------------------------
finde folgendes:
?>
und füge davor ein:
// XAJAX CHECKOUT PROCESS
define('CHECKOUT_REMOVE_CONFIRM','Are you sure that you want to remove this product?');
define('CHECKOUT_EMPTY_CART','All products have been removed. You will be referred back to your shopping cart.');
define('CHECKOUT_NOMORE_ADDRESSES','Unfortunately you can\'t add new addresses to your address book. You reached the maximum.');
define('CHECKOUT_TEXT_VIRTUAL','This information is not needed, because your order only contains virtual products.');
define('CHECKOUT_OUT_OF_STOCK','Your order couldn\'t be updated beacause this products is not available in your desired quantity.');
define('CHECKOUT_NO_PAYMENT_MODULE_SELECTED','Please choose a payment option');
define('CHECKOUT_NO_SHIPPING_MODULE_SELECTED','Please choose a shipping option');
define('CHECKOUT_PAYMENT_OK','Data has been saved.');
define('CHECKOUT_SHIPPING_OK','Data has been saved.');
define('CHECKOUT_SHIPPING_CHOOSE','Please choose a shipping module');
define('CHECKOUT_PAYMENT_CHOOSE','Please choose a payment module');
define('CHECKOUT_PAYMENT_NOT_COMPATIBLE','Payment option not compatible. Please choose a new one.');
define('CHECKOUT_SHIPPING_NOT_COMPATIBLE','Shipping option not compatible. Please choose a new one.');
define('CHECKOUT_ERROR_CONDITIONS','- Please accept our General business conditions');
define('CHECKOUT_ERROR_REVOCATION','- Please accept our notice of revocation');
define('CHECKOUT_PLEASE_WAIT','Please wait...');
define('CHECKOUT_PAYMENT_DUE', '(+ Fee)');
define('CHECKOUT_ITS_BLINKING', '- A payment or shipping module has been chosen but not saved.');
define('CHECKOUT_MIN_ERROR', 'You can\'t make this action, because otherwise you will achieve the minimum order value.');
define('CHECKOUT_MAX_ERROR', 'You can\'t make this action, because otherwise you will achieve the maximum order value.');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/english/lang_english.conf
---------------------------------------------------------------------------------------------------
am Ende einfügen:
[checkout]
heading_checkout = 'Make an order'
title_shipping_modules = 'Delivery method'
title_payment_modules = 'Payment method'
title_shipping_address = 'Mailing address'
title_payment_address = 'Bill postal address'
title_comments = 'Your notifications'
title_products = 'Products'
title_agb = 'General business conditions'
title_revocation = 'Notice of revocation'
text_accept_agb = 'I accept your general business and supplying-conditions'
text_accept_revocation = 'I accept the revocation'
text_ip = 'Your IP-Address:'
address_old = 'Postal addresses from your address book'
address_no_more = 'First you have to delete an address from you address book before you can add a new.'
text_gccover = 'Your Coupon covers your order total ammout.'
text_no_payments = 'There are no payment methods available'
text_no_shippings = 'There are no shipping methods available'
text_help = 'Help'
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/german/admin/configuration.php
---------------------------------------------------------------------------------------------------
finde folgendes:
?>
und davor einfügen:
// AJAX CHECKOUT PROCESS
define('CHECKOUT_VIEW_TITLE','Ansicht der Zahlungs- und Versandmodule');
define('CHECKOUT_VIEW_DESC','In welcher Form soll der Kunde zwischen den Versand- und Zahlunsmöglichkeiten wählen können?');
define('CHECKOUT_SHOW_SHIPPING_MODULES_TITLE','Versandmodule aufgeklappt?');
define('CHECKOUT_SHOW_SHIPPING_MODULES_DESC','Sollen die Versandmodule standardmäßig angezeigt werden?');
define('CHECKOUT_SHOW_SHIPPING_ADDRESS_TITLE','Versandadresse aufgeklappt?');
define('CHECKOUT_SHOW_SHIPPING_ADDRESS_DESC','Soll die Versandadresse standardmäßig angezeigt werden?');
define('CHECKOUT_SHOW_PAYMENT_MODULES_TITLE','Zahlungsmethoden aufgeklappt?');
define('CHECKOUT_SHOW_PAYMENT_MODULES_DESC','Sollen die Zahlungsmethoden standardmäßig angezeigt werden?');
define('CHECKOUT_SHOW_PAYMENT_ADDRESS_TITLE','Rechnungsadresse aufgeklappt?');
define('CHECKOUT_SHOW_PAYMENT_ADDRESS_DESC','Soll die Rechnungsadresse standardmäßig angezeigt werden?');
define('CHECKOUT_SHOW_COMMENTS_TITLE','Kommentarfeld aufgeklappt?');
define('CHECKOUT_SHOW_COMMENTS_DESC','Soll das Kommentarfeld standardmäßig angezeigt werden?');
define('CHECKOUT_SHOW_PRODUCTS_TITLE','Artikelliste aufgeklappt?');
define('CHECKOUT_SHOW_PRODUCTS_DESC','Sollen die Produktliste standardmäßig angezeigt werden?');
define('CHECKOUT_SHOW_AGB_TITLE','AGBs aufgeklappt?');
define('CHECKOUT_SHOW_AGB_DESC','Sollen die allgemeinen Geschäftsbedingungen standardmäßig angezeigt werden?');
define('CHECKOUT_SHOW_REVOCATION_TITLE','Widerrufrecht aufgeklappt?');
define('CHECKOUT_SHOW_REVOCATION_DESC','Soll das Widerrufrecht standardmäßig angezeigt werden?');
define('CHECKOUT_AJAX_PRODUCTS_TITLE','Möglichkeit Artikelliste zu editieren?');
define('CHECKOUT_AJAX_PRODUCTS_DESC','Sollen die Kunden während des Bestellprozesses die Möglichkeit haben, die Artikel zu editieren?');
define('CHECKOUT_AJAX_STAT_TITLE','AJAX Checkout Prozess aktiviert?');
define('CHECKOUT_AJAX_STAT_DESC','Sollen die Kunden über einen vereinfachten und kompakten Bestellvorgang Ihre Artikel bestellen?');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/german/admin/german.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('BOX_CONFIGURATION_22', 'Such-Optionen');
danach einfügen:
define('BOX_CONFIGURATION_333', 'Bestellprozess');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/german/german.php
---------------------------------------------------------------------------------------------------
finde folgendes:
define('NAVBAR_TITLE2_ADVANCED_SEARCH', 'Suchergebnisse');
danach einfügen:
define('NAVBAR_TITLE_1_CHECKOUT', 'Kasse');
---------------------------------------------------------------------------------------------------
finde folgendes:
?>
und davor einfügen:
// XAJAX CHECKOUT PROCESS
define('CHECKOUT_REMOVE_CONFIRM','Sind Sie sich sicher, dass Sie diesen Artikel entfernen möchten?');
define('CHECKOUT_EMPTY_CART','Es wurden alle Artikel entfernt. Sie werden nun zurück zum Warenkorb geleitet.');
define('CHECKOUT_NOMORE_ADDRESSES','Leider können Sie keine weiteren Adressen mehr zu Ihrem Adressbuch hinzufügen. Das Maximum ist erreicht.');
define('CHECKOUT_TEXT_VIRTUAL','Diese Informationen werden nicht benötigt, da es sich bei Ihrer Bestellung um virtuelle Produkte handelt.');
define('CHECKOUT_OUT_OF_STOCK','Ihre Bestellung konnte nicht aktualisiert werden, da dieses Produkt nicht in der gewünschten Anzahl zur Verfügung steht.');
define('CHECKOUT_NO_PAYMENT_MODULE_SELECTED','Bitte wählen Sie eine Zahlungsmethode aus');
define('CHECKOUT_NO_SHIPPING_MODULE_SELECTED','Bitte wählen Sie eine Versandart aus');
define('CHECKOUT_PAYMENT_OK','Daten wurden gespeichert.');
define('CHECKOUT_SHIPPING_OK','Daten wurden gespeichert.');
define('CHECKOUT_SHIPPING_CHOOSE','Bitte eine Versandart auswählen');
define('CHECKOUT_PAYMENT_CHOOSE','Bitte eine Zahlungsart auswählen');
define('CHECKOUT_PAYMENT_NOT_COMPATIBLE','Zahlungsart nicht kompatibel. Bitte wählen Sie eine neue aus.');
define('CHECKOUT_ERROR_CONDITIONS','- Bitte akzeptieren Sie unsere Allgemeinen Gesschäftsbedingungen');
define('CHECKOUT_ERROR_REVOCATION','- Bitte akzeptieren Sie unser Widerrufrecht');
define('CHECKOUT_PLEASE_WAIT','Bitte warten...');
define('CHECKOUT_PAYMENT_DUE', '(+ Gebühr)');
define('CHECKOUT_ITS_BLINKING', '- Eine Zahlungs- oder Versandart wurde ausgewählt aber nicht abgespeichert.');
define('CHECKOUT_MIN_ERROR', 'Sie können diese Aktion nicht durchführen, da der Mindestbestellwert sonst unterschritten wird.');
define('CHECKOUT_MAX_ERROR', 'Sie können diese Aktion nicht durchführen, da der Höchstbestellwert sonst überschritten wird.');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-lang/german/lang_german.conf
---------------------------------------------------------------------------------------------------
am Ende einfügen:
[checkout]
heading_checkout = 'Bestellung aufgeben'
title_shipping_modules = 'Versandart'
title_payment_modules = 'Zahlungsweise'
title_shipping_address = 'Versandadresse'
title_payment_address = 'Rechnungsadresse'
title_comments = 'Ihre Anmerkungen'
title_products = 'Artikel'
title_agb = 'Allgemeine Geschäftsbedingungen'
title_revocation = 'Widerrufrecht'
text_accept_agb = 'Ich akzeptiere Ihre allgemeinen Geschäfts- und Lieferbedingungen'
text_ip = 'Um den Missbrauch unseres Angebots zu verhindern, speichern wir Ihre IP-Adresse unter Wahrung Ihrer Privatsphäre:'
text_accept_revocation = 'Ich akzeptiere das Widerrufrecht'
address_old = 'Adressen aus Ihrem Adressbuch'
address_no_more = 'Um neue Adressen hinzuzufügen müssen Sie mindestens eine aus Ihrem Adressbuch löschen.'
text_gccover = 'Ihr Kupon/Gutschein deckt den Warenwert.'
text_no_payments = 'Es sind keine Zahlungsarten vorhanden'
text_no_shippings = 'Es sind keine Versandarten vorhanden'
text_help = 'Hilfe'
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-shopping_cart.php
---------------------------------------------------------------------------------------------------
finde folgendes:
$smarty->assign('BUTTON_CHECKOUT', '<a href="'.xtc_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL').'">'.xtc_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT).'</a>');
und ersetzen mit:
$onclick = '';
if (CHECKOUT_AJAX_STAT == 'true') {
$onclick = ' onclick="window.location.href=\''.xtc_href_link(FILENAME_CHECKOUT,'', 'SSL').'\'; return false;"';
}
$smarty->assign('BUTTON_CHECKOUT', '<a href="'.xtc_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL').'"'.$onclick.'>'.xtc_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT).'</a>');
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-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>
ersetze es mit:
<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="{$checkout1}"{if $checkout2_stat == 1} onclick="window.location.href='{$checkout2}'; return false;"{/if}>{#link_checkout#}</a></td>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/checkout_new_address.html
---------------------------------------------------------------------------------------------------
finde folgendes:
<td class="main">{#text_city#}</td>
<td class="inputRequirement" align="left">{$INPUT_CITY}</td>
</tr>
{if $state=='1'}
<tr>
<td class="main">{#text_state#}</td>
<td class="inputRequirement" align="left">{$INPUT_STATE}</td>
</tr>
{/if}
<tr>
<td class="main">{#text_country#}</td>
<td class="inputRequirement" align="left">{$SELECT_COUNTRY}</td>
</tr>
{if $new=='1'}
<tr>
<td class="main"> </td>
und ersetze es mit:
<td class="main">{#text_city#}</td>
<td class="inputRequirement" align="left">{$INPUT_CITY}</td>
</tr>
<tr>
<td class="main">{#text_country#}</td>
<td class="inputRequirement" align="left">{$SELECT_COUNTRY}</td>
</tr>
{if $state=='1'}
<tr{if $state_stat != 1} style="display:none;"{/if} id="checkout_states_row">
<td class="main">{#text_state#}</td>
<td class="inputRequirement" align="left">{$INPUT_STATE}</td>
</tr>
{/if}
{if $new=='1'}
<tr>
<td class="main"> </td>
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/checkout_payment_block.html
---------------------------------------------------------------------------------------------------
Da diese Datei sehr selten geändert wird, auch im Verlaufe vieler Modulinstallation
und auf Grund der schwerwiegenden Änderungen durch dieses Modul, sollte die komplette Datei
aus dem changed_files Ordner kopiert werden.
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/module/checkout_shipping_block.html
---------------------------------------------------------------------------------------------------
Da diese Datei sehr selten geändert wird, auch im Verlaufe vieler Modulinstallation
und auf Grund der schwerwiegenden Änderungen durch dieses Modul, sollte die komplette Datei
aus dem changed_files Ordner kopiert werden.
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
-templates/xtc4/stylesheet.css
---------------------------------------------------------------------------------------------------
finde folgendes:
TEXTAREA {
width: 100%;
und ersetze es mit:
TEXTAREA {
width: 99%;
---------------------------------------------------------------------------------------------------
am Ende einfügen:
/* AJAX CHECKOUT PROCESS */
div.checkout_row {
clear:both;
}
div.checkout_title {
cursor:pointer;
position:relative;
background-color:#777;
color:#FFF;
padding:4px;
font-size:12px;
border-right:solid 1px #777;
border-left:solid 1px #777;
border-top:solid 1px #777;
}
div.checkout_title .right {
position:absolute;
right:6px;
top:3px;
font-weight:bold;
}
div.checkout_content {
background-color:#f9f9f9;
color:#000;
padding:4px;
border-right:solid 1px #777;
border-left:solid 1px #777;
border-bottom:solid 1px #777;
}
div.checkout_content .inputRequirement select {
width:190px;
}
div.checkout_content .virtual {
text-align:center;
}
div.checkout_content .left_space {
padding-left:20px;
}
div.checkout_shipping_modules, .checkout_shipping_address {
width:49%;
float:left;
clear:left;
}
div.checkout_payment_modules, .checkout_payment_address {
width:49%;
float:right;
clear:right;
}
div.checkout_total {
text-align:right;
}
#checkout_total table {
float:right;
}
div.checkout_spacer {
height:12px;
font-size:9px;
clear:both;
}
div.checkout_button {
text-align:right;
margin-top:5px;
}
.radiobox {
vertical-align:middle;
padding:0px;
margin:0px;
}
.float_right {
float:right;
}
.float_left {
float:left;
}
.module_ok, div.checkout_please_wait {
color:green;
font-weight:bold;
}
div.checkout_error {
color:#FF0000;
font-weight:bold;
}
.modalDialog_transparentDivs{
filter:alpha(opacity=40); /* Transparency */
opacity:0.8; /* Transparency */
background-color:#AAA;
z-index:1;
position:absolute; /* Always needed */
}
.modalDialog_contentDiv{
border:3px solid #777777;
padding:0px;
z-index:100;/* Always needed */
position:absolute; /* Always needed */
background-color:#ffffff; /* White background color for the message */
overflow:auto;
}
.modalDialog_contentDiv_shadow{
z-index:90;/* Always needed - to make it appear below the message */
position:absolute; /* Always needed */
background-color:#555;
filter:alpha(opacity=30); /* Transparency */
opacity:0.3; /* Transparency */
}
/* CSS for the display. CSS needed for the scripts are loaded dynamically by the scripts */
a.close_modalDialog, a.close_modalDialog:link, a.close_modalDialog:hover {
display:block;
font-size:18px;
font-weight:bold;
color:#ffffff;
text-decoration:none;
position:absolute;
left:755px;
top:3px;
}
a.displayMessage, a.displayMessage:link, a.displayMessage:visited,a.displayMessage:hover {
color:#000000;
font-weight:bold;
text-decoration:none;
}
h1.heading_modalDialog {
display:block;
background-color:#777777;
font-size:18px;
font-weight:bold;
color:#ffffff;
padding:3px 0px 3px 15px;
margin:0px;
}
.modalDialog_content {
padding:10px;
}
.modalDialog_content li {
margin-left:25px;
}
.modelDialog {
font-family: Verdana, Arial, sans-serif;
font-size: 11px;
}
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------
|