[TYPO3-seminars] Additional prices
"Dr. Susanna Künzl"
sk at ambranet.de
Sun Aug 1 18:01:14 CEST 2010
Hallo and good evening!
I've added new prices to the tx_seminars_seminars table. They are
correctly displayed in backend and frontend as well, BUT:
The registration form does not display the locallang values from
pi1/locallang.xml unless they are set and displayed on other occasions
(single view).
I added the prices to the function getAvailablePrices()
(class.tx_seminars_seminar.php):
if ($this->hasPriceRegularRoom()) {
$result['regular_room'] = array(
'value' => 'regular_room',
'amount' => $this->getPriceRegularRoomAmount(),
'caption' => $this->translate('label_price_regular_room')
.': '.$this->getPriceRegularRoom()
);
}
but the dropdown select displays:
<option value="regular_room">label_price_regular_room: € 255,00</option>
The frontend translation function in oelib should not be the problem.
Any idea?
Thanks in advance
Susanna
--
a m b r a n e t - Websites mit TYPO3
Kundenorientierte Beratung& Umsetzung
Dr. Susanna Künzl
Föhrenstr. 33
90542 Eckental b. Nürnberg
Tel.: 0 91 26 - 28 90 90
http://www.ambranet.de
Treffen Sie Ihre Kunden im Internet!
More information about the TYPO3-project-seminars
mailing list