#1 (permalink)  
Alt 14.03.2007, 10:47
Benutzer
 
Registriert seit: 14.02.2007
Beiträge: 32
Standard Firmenname im Adminbereich anzeigen

hallo.
wie kann ich es so einstellen, dass der firmenname auch angezeigt wird in der kundenliste aber auch dann vor vorname?
gibts da einen code den ich einfügen soll?

bitte um hilfe.

dankeschön.

mfg..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 14.03.2007, 10:54
xt:Commerce Support Kunde
 
Registriert seit: 20.09.2006
Beiträge: 168
Standard

Habs leider nur in English - wenn Du Hilfe brauchst -> PM
Gibt Kundenname und Nummer aus....
Gruß,
Uwe

Customer Number and Company in admin area - Customers

Date: 2007-03-09

xt-Commerce version: 3.04 SP2

Files affected:

/lang/english/admin/english.php
/lang/german/admin/german.php
/admin/customers.php


1.) Open file /lang/english/admin/english.php

- Go to the end
- Insert before the last "?>" this

define('TABLE_HEADING_CUSTOMERSCID','Customer #');
define('TABLE_HEADING_COMPANY','Customer');

2.) Open file /lang/german/admin/german.php

- Go to the end
- Insert before the last "?>" this:

define('TABLE_HEADING_CUSTOMERSCID','Kunden #');
define('TABLE_HEADING_COMPANY','Kunde');

3.) Open file /admin/customers.php

Find:
<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_FIRSTNAME.xtc_sorting(FILENAME_CUSTO MERS,'customers_firstname'); ?></td>

- Insert right after this line (probably 958) this:

<!-- Customer # -->
<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_CUSTOMERSCID; ?></td>
<!-- Customer # -->
<!-- Company -->
<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_COMPANY; ?></td>
<!-- Company -->

4.) Find this block:

$customers_query_raw = "select
c.account_type,
c.customers_id,
c.customers_vat_id,
c.customers_vat_id_status,
c.customers_lastname,
c.customers_firstname,
c.customers_email_address,
a.entry_country_id,
c.customers_status,
c.member_flag,
ci.customers_info_date_account_created
from
".TABLE_CUSTOMERS." c ,
".TABLE_ADDRESS_BOOK." a,
".TABLE_CUSTOMERS_INFO." ci
Where
c.customers_id = a.customers_id
and c.customers_default_address_id = a.address_book_id
and ci.customers_info_id = c.customers_id
".$search."
group by c.customers_id
".$sort;

Insert after row: c.customers_firstname,
this: c.customers_cid,

And after row: a.entry_country_id,
this: a.entry_company,

so that the entire block looks like this:

$customers_query_raw = "select
c.account_type,
c.customers_id,
c.customers_vat_id,
c.customers_vat_id_status,
c.customers_lastname,
c.customers_firstname,
c.customers_cid,
c.customers_email_address,
a.entry_country_id,
a.entry_company,
c.customers_status,
c.member_flag,
ci.customers_info_date_account_created
from
".TABLE_CUSTOMERS." c ,
".TABLE_ADDRESS_BOOK." a,
".TABLE_CUSTOMERS_INFO." ci
Where
c.customers_id = a.customers_id
and c.customers_default_address_id = a.address_book_id
and ci.customers_info_id = c.customers_id
".$search."
group by c.customers_id
".$sort;


5.) Find:

<td class="dataTableContent"><?php echo $customers['customers_firstname']; ?></td>

- Insert right after this line (probably 1074) this:

<!-- Customer # -->
<td class="dataTableContent"><?php echo $customers['customers_cid']; ?></td>
<!-- Customer # -->
<!-- Company -->
<td class="dataTableContent"><?php echo $customers['entry_company']; ?></td>
<!-- Company -->

Upload all three files - done.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #3 (permalink)  
Alt 14.03.2007, 11:08
Benutzer
 
Registriert seit: 14.02.2007
Beiträge: 32
Standard

ne das ist das falsche.
ich will dass in der kundenliste da wo kundennummer, vorname und nachname steht dass da der firmenname auch deutlich sichtbar steht
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #4 (permalink)  
Alt 14.03.2007, 11:11
xt:Commerce Support Kunde
 
Registriert seit: 20.09.2006
Beiträge: 168
Standard

Damit bekommst Du aber den Frimen-/Kundennamen.

Wenn Du andere Dinge wie Vor-, Nachname oder die Nummer nicht brauchst kommentierst Du einfach die anderen Spalten aus.

ggf. kannst Du den Firmennamen auch noch Fett machen..


Oder versteh ich was falsch?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #5 (permalink)  
Alt 14.03.2007, 11:30
Benutzer
 
Registriert seit: 14.02.2007
Beiträge: 32
Standard

also ich hab
Konto,Kdn-Nr,Nachname,Vorname,Kundengruppe,Ust-ID,Zugang erstellt am,Aktion

und davon könnte ich z.b. konto nicht gebrauchen. also wenn anstelle konto der firmenname erscheinen würde würde es optimal sein.

wie mache ich das?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #6 (permalink)  
Alt 14.03.2007, 11:48
xt:Commerce Support Kunde
 
Registriert seit: 20.09.2006
Beiträge: 168
Standard

Company name before Name in admin area - Customers

Date: 2007-03-13

xt-Commerce version: 3.04 SP2

Files affected:

/lang/english/admin/english.php
/lang/german/admin/german.php
/admin/customers.php


1.) Open file /lang/english/admin/english.php

- Go to the end
- Insert before the last "?>" this

define('TABLE_HEADING_CUSTOMERSCID','Customer #');
define('TABLE_HEADING_COMPANY','Customer');

2.) Open file /lang/german/admin/german.php

- Go to the end
- Insert before the last "?>" this:

define('TABLE_HEADING_CUSTOMERSCID','Kunden #');
define('TABLE_HEADING_COMPANY','Kunde');

3.) Open file /admin/customers.php

Find this codeblock:

<tr class="dataTableHeadingRow">
<td class="dataTableHeadingContent" width="40"><?php echo TABLE_HEADING_ACCOUNT_TYPE; ?></td>
<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_LASTNAME.xtc_sorting(FILENAME_CUSTOM ERS,'customers_lastname'); ?></td>

- and replace by this:

<tr class="dataTableHeadingRow">
<!-- Company -->
<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_COMPANY; ?></td>
<!-- Company -->
<!-- <td class="dataTableHeadingContent" width="40"><?php echo TABLE_HEADING_ACCOUNT_TYPE; ?></td>-->
<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_LASTNAME.xtc_sorting(FILENAME_CUSTOM ERS,'customers_lastname'); ?></td>

4.) Find this block:

$customers_query_raw = "select
c.account_type,
c.customers_id,
c.customers_vat_id,
c.customers_vat_id_status,
c.customers_lastname,
c.customers_firstname,
c.customers_email_address,
a.entry_country_id,
c.customers_status,
c.member_flag,
ci.customers_info_date_account_created
from
".TABLE_CUSTOMERS." c ,
".TABLE_ADDRESS_BOOK." a,
".TABLE_CUSTOMERS_INFO." ci
Where
c.customers_id = a.customers_id
and c.customers_default_address_id = a.address_book_id
and ci.customers_info_id = c.customers_id
".$search."
group by c.customers_id
".$sort;

Insert after row: c.customers_firstname,
this: c.customers_cid,

And after row: a.entry_country_id,
this: a.entry_company,

so that the entire block looks like this:

$customers_query_raw = "select
c.account_type,
c.customers_id,
c.customers_vat_id,
c.customers_vat_id_status,
c.customers_lastname,
c.customers_firstname,
c.customers_cid,
c.customers_email_address,
a.entry_country_id,
a.entry_company,
c.customers_status,
c.member_flag,
ci.customers_info_date_account_created
from
".TABLE_CUSTOMERS." c ,
".TABLE_ADDRESS_BOOK." a,
".TABLE_CUSTOMERS_INFO." ci
Where
c.customers_id = a.customers_id
and c.customers_default_address_id = a.address_book_id
and ci.customers_info_id = c.customers_id
".$search."
group by c.customers_id
".$sort;


5.) Find this codeblock:

if ($customers['account_type'] == 1) {

echo '<td class="dataTableContent">';
echo TEXT_GUEST;

} else {
echo '<td class="dataTableContent">';
echo TEXT_ACCOUNT;
}
?></td>
<td class="dataTableContent"><b><?php echo $customers['customers_lastname']; ?></b></td>

- and replace by this:

/*
if ($customers['account_type'] == 1) {

echo '<td class="dataTableContent">';
echo TEXT_GUEST;

} else {
echo '<td class="dataTableContent">';
echo TEXT_ACCOUNT;
}
*/
?></td>
<!-- Company -->
<td class="dataTableContent"><?php echo $customers['entry_company']; ?></td>
<!-- Company -->
<td class="dataTableContent"><b><?php echo $customers['customers_lastname']; ?></b></td>

6.) Upload all three files - done.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #7 (permalink)  
Alt 14.03.2007, 15:49
Benutzer
 
Registriert seit: 14.02.2007
Beiträge: 32
Standard

es geht, danke dir
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #8 (permalink)  
Alt 30.11.2007, 09:45
CvH CvH ist offline
xt:Commerce Support Kunde
 
Registriert seit: 23.11.2005
Beiträge: 99
Standard

Zitat:
Zitat von njoy2 Beitrag anzeigen
Gibt Kundenname und Nummer aus....
Gruß,
Uwe [...]
Upload all three files - done.
Vielen Dank für diese Anleitung... genau das brauchte ich :-) Funktioniert super.

Eine ergänzende Frage noch dazu: Kann ich das auch so einstellen, dass nach der Firma sortiert wird oder sortiert werden kann? Und in die Suchfunktion wird das Feld Firma leider auch nicht einbezogen. Geht das auch irgendwie mit vertretbarem Aufwand?

Danke und Gruß
Catharina
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #9 (permalink)  
Alt 26.11.2009, 11:28
Neuer Benutzer
 
Registriert seit: 21.10.2006
Beiträge: 19
Standard Firma als Pflichtfeld

Hallo benötige in xt.commerce bei der registrierung das Feld Firma als Pflichtfeld. Wie kann man das lösen in der adminconsole ist es angewählt bei kundendetails aber als nicht pflicht markiert.
Wer kann helfen
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
adminbereich, anzeigen, firmenname

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
jeweils nur zum Gewicht passende Versandart anzeigen huelsken Shopbereich 11 08.03.2010 13:17
Meistbesuchte Artikel Im Shop Anzeigen / Meistgesuchten Suchbegriffe Vinylcenter Shopbereich 4 18.09.2006 15:57
Sprachen im Adminbereich incom Admininterface 2 28.06.2005 10:49


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:21 Uhr.

Copyright © 2011 xt:Commerce GmbH / xt:Commerce International Ltd. - All Rights Reserved

xt:Commerce is a SafeCharge brand