Hallo,
ich stehe gerade vor der Frage "wieviel" Typo3 ich für meine Kunden + Projekte einsetzen kann.
Eine Kombination, die bei mir immer 100% auftauchen wird ist: "Normale" Webpräsenz + Webshop
Für Webshops möchte ich immer XTCommerce benutzen (div. Gründe, u.a. Anschlussmöglichkeiten an Warenwirtschaftsprogramme).
Für den Firmenauftritt immer Typo3 (also für Infos über Leistungen, Über uns, Kontaktform, Standorte - Content pages).
Vom Look her gesehen, würde ich für XTCommerce ein neues Template anlegen/angleichen, und dann per Subdomain an Typo3 anbinden. (Iframe ist nicht ganz so gut, da XTCommerce mir für jedes Produkt eine extra Seite produziert - gut für Search Engines).
Allerdings: Was wichtig wäre, wäre ein Single Login, also kein zwei verschied. Logins.
Ich denke, daß meine Kunden kein Problem hätten, sich ins Typo Backend einzuloggen um dort einen auffälligen Button "SHOP-ADMIN" zu drücken. Nach dem Klick öffnet sich das Admin Panel von XTCommerce und es kann nach Herzens Lust der Shop konfiguriert werden.
Es müsste leichter sein, XTCommerce "aufzubohren" als andersrum.
Hier das html der XTCommerce login.php:
<form id="login" action="http://domain.com/login.php/action/process/XTCsid/9pnrtpe88qicijpfnip7aqdd37" method="post"><input type="hidden" name="XTCsid" value="9pnrtpe88qicijpfnip7aqdd37" />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="border-bottom: 1px solid; border-color: #cccccc;" class="main"><strong>Ich bin bereits Kunde</strong></td>
</tr>
<tr>
<td class="main"><p><br /></p>
<table width="100" border="0" cellspacing="2" cellpadding="0">
<tr>
<td class="main"><strong>eMail-Adresse:</strong> </td>
<td><input type="text" name="email_address" /></td>
</tr>
<tr>
<td class="main"><strong>Passwort:</strong></td>
<td><input type="password" name="password" maxlength="40" /></td>
</tr>
</table>
<p><input type="image" src="templates/pc_plus/buttons/german/button_login.gif?XTCsid=9pnrtpe88qicijpfnip7aqdd37" alt="Anmelden" title=" Anmelden " /></p></td>
</tr>
</table>
</form>
Und der Vollständigkeit halber - hier der php code der XTCommerce Login Page:
if (isset ($_GET['action']) && ($_GET['action'] == 'process')) {
$email_address = xtc_db_prepare_input($_POST['email_address']);
$password = xtc_db_prepare_input($_POST['password']);
// Check if email exists
$check_customer_query = xtc_db_query("select customers_id, customers_vat_id, customers_firstname,customers_lastname, customers_gender, customers_password, customers_email_address, customers_default_address_id from ".TABLE_CUSTOMERS." where customers_email_address = '".xtc_db_input($email_address)."' and account_type = '0'");
if (!xtc_db_num_rows($check_customer_query)) {
$_GET['login'] = 'fail';
$info_message = TEXT_NO_EMAIL_ADDRESS_FOUND;
} else {
$check_customer = xtc_db_fetch_array($check_customer_query);
// Check that password is good
if (!xtc_validate_password($password, $check_customer['customers_password'])) {
$_GET['login'] = 'fail';
$info_message = TEXT_LOGIN_ERROR;
} else {
if (SESSION_RECREATE == 'True') {
xtc_session_recreate();
}
$check_country_query = xtc_db_query("select entry_country_id, entry_zone_id from ".TABLE_ADDRESS_BOOK." where customers_id = '".(int) $check_customer['customers_id']."' and address_book_id = '".$check_customer['customers_default_address_id']."'");
$check_country = xtc_db_fetch_array($check_country_query);
$_SESSION['customer_gender'] = $check_customer['customers_gender'];
$_SESSION['customer_first_name'] = $check_customer['customers_firstname'];
$_SESSION['customer_last_name'] = $check_customer['customers_lastname'];
$_SESSION['customer_id'] = $check_customer['customers_id'];
$_SESSION['customer_vat_id'] = $check_customer['customers_vat_id'];
$_SESSION['customer_default_address_id'] = $check_customer['customers_default_address_id'];
$_SESSION['customer_country_id'] = $check_country['entry_country_id'];
$_SESSION['customer_zone_id'] = $check_country['entry_zone_id'];
$date_now = date('Ymd');
xtc_db_query("update ".TABLE_CUSTOMERS_INFO." SET customers_info_date_of_last_logon = now(), customers_info_number_of_logons = customers_info_number_of_logons+1 WHERE customers_info_id = '".(int) $_SESSION['customer_id']."'");
// danach ist User eingeloggt
// ein paar Shopping Cart Sachen folgen - für Admin nicht relevant
Wäre sowas machbar - schon mal gemacht?
Irgendwelche Ideen? :o
Falls noch nichts verhanden ist:
Wer hätte Lust, das zusammen mit mir auszutesten/entwickeln und dann die Ergebnisse hier im Forum zu veröffentlichen?
-----
Gut, ein bisschen Infos gibts schon:
Cross-Selling / Listing
http://t3n.yeebase.com/magazin/ausgaben/artikel/typo3-und-xtcommerce/
Die eindeutige XTCommerce - Reaktion:
http://www.xt-commerce.com/forum/showthread.php?t=8066