OXID Community Forum> Geburtsdatum in Bestellemail |
Login |
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Reply |
|
|
Thread Tools | Display Modes |
|
Hallo zusammen,
wie man das Geburtsdatum als Pflichtfeld setzt ist ja recht einfach. Allerdings verstehe ich den Sinn dahinter nicht, da das Geburtsdatum nirgends ausgegeben wird... zumindest finde ich nix ![]() Ich benötige das Geburtsdatum in meiner Bestell-Email (an mich, nicht an den Kunden), damit ich gleich sehe wie alt die Person ist. Leider habe ich im Forum nichts gefunden - wäre über Hilfe super dankbar!
__________________
There is no try! So always think big! If you really want it, it will work out. (Except when you´re programming with the Facebook API. )
|
|||
|
http://www.oxid-esales.com/de/resour...mails-anpassen
Wie man das Geburtsdatum aus der Datenbank abfrägt weis ich allerdings grade nicht auswendig...
__________________
Raywww.stahlwarenhaus-hebsacker.de______________._.__Tipps zur Forensuche www.haller-stahlwaren.de____________________._____Tipps zum Forum _________________________________________._____Forum für Dummies _________________________________________._____Theme-Styler |
||||
|
Danke für die Antwort.
Die Anpassung des Mail-Templates ist mir klar, mir gehts darum wie ich das Feld Birthdate aus der Datenbank bekomme. Die oxorder.php Funktion klont das User Objekt, das User Objekt ist aber laut dem Comment depreciated... ich blick da nicht durch...
__________________
There is no try! So always think big! If you really want it, it will work out. (Except when you´re programming with the Facebook API. )
|
|||
|
$user->oxuser__oxbirthdate->value
(hat mir der dev-channel grade zugeflüstert)
__________________
Raywww.stahlwarenhaus-hebsacker.de______________._.__Tipps zur Forensuche www.haller-stahlwaren.de____________________._____Tipps zum Forum _________________________________________._____Forum für Dummies _________________________________________._____Theme-Styler |
||||
|
Quote:
Hilfe zur Selbsthilfe: Normalerweise stehen einem Objekt alle Werte wie folgt zur Verfügung $instanz->tablenname__feldname->value Gruß Joscha
__________________
marmalade.de --- Schnittstelle CMS -> OXID / interface CMS -> OXID OXID mobile Template Markenshops & Shop-in-Shop mit OXID eShop Last edited by jkrug; 04-26-2012 at 12:40 PM. |
|||||
|
Vielen Dank erstmal für diesen Hinweis. Nun habe ich allerdings im Template die folgende Situation:
... [{ $order->oxorder__oxbillcompany->value }]<br> [{ $order->oxorder__oxbillsal->value|oxmultilangsal}] [{ $order->oxorder__oxbillfname->value }] [{ $order->oxorder__oxbilllname->value }]<br> [{if $order->oxorder__oxbilladdinfo->value }][{ $order->oxorder__oxbilladdinfo->value }]<br>[{/if}] ... Nun ist mein Ansatz hier auf eine "neue" Objektvariable namens "oxbillbirthdate" zurückzugreifen, also schreibe ich: .... Geburtsdatum: $order->oxorder__oxbirthdate->value }]<br> .... Nun gehe ich in die /core/oxorder.php und möchte (testweise - später wird das überladen) einfach mal eine neue Variable hinzufügen. Hier stehen schon so tolle Dinge wie: $this->oxorder__oxbillcompany = clone $oUser->oxuser__oxcompany; $this->oxorder__oxbillemail = clone $oUser->oxuser__oxusername; $this->oxorder__oxbillfname = clone $oUser->oxuser__oxfname; Wie gehe ich aber nun vor? Füge ich hier ein $this->oxorder__oxbillbirthdate = clone $oUser->oxuser__oxbirthdate: ein?
__________________
There is no try! So always think big! If you really want it, it will work out. (Except when you´re programming with the Facebook API. )
|
|||
| Reply |
| Bookmarks |
| Tags |
| bestellemail, geburtsdatum |
| Thread Tools | |
| Display Modes | |
|
Nicht Sichtbar
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Geburtsdatum als Pflichtfeld | popkopff | Allgemeines | 10 | 12-28-2011 06:44 PM |
| Bestellemail mehrere Produktbilder | mathias2711 | Templates und Design | 3 | 02-21-2011 10:17 PM |
| Bestellemail Admin (email_order_owner) | EggSupport | Installation und Konfiguration | 3 | 10-18-2010 09:46 PM |
| Geburtsdatum | phaser001 | Newbies | 1 | 04-11-2010 08:54 PM |
| Bestellemail an 2 Adressen gleichzeitig? | michaeljaekel | Administration | 3 | 11-25-2008 11:13 AM |