71 protected $_sTsProtectProducts = array(
"TS080501_500_30_EUR" => array(
"netto" =>
"0.82",
"amount" =>
"500"),
72 "TS080501_1500_30_EUR" => array(
"netto" =>
"2.47",
"amount" =>
"1500"),
73 "TS080501_2500_30_EUR" => array(
"netto" =>
"4.12",
"amount" =>
"2500"),
74 "TS080501_5000_30_EUR" => array(
"netto" =>
"8.24",
"amount" =>
"5000"),
75 "TS080501_10000_30_EUR" => array(
"netto" =>
"16.47",
"amount" =>
"10000"),
76 "TS080501_20000_30_EUR" => array(
"netto" =>
"32.94",
"amount" =>
"20000")
116 $this->_sTsId = $sTsId;
126 if ($this->_iAmount == null) {
127 if ($sTsId = $this->
getTsId()) {
129 if ($aTsProducts[$sTsId] && is_array($aTsProducts[$sTsId])) {
130 $this->_iAmount = $aTsProducts[$sTsId][
'amount'];
147 if ($this->_fPrice == null) {
165 if ($this->_fNettoPrice == null) {
183 if ($this->_fVatValue == null) {
199 if ($this->_oPrice == null) {
200 if ($sTsId = $this->
getTsId()) {
202 if ($aTsProducts[$sTsId] && is_array($aTsProducts[$sTsId])) {
203 $dPrice = $aTsProducts[$sTsId][
'netto'];
204 $oPrice =
oxNew(
'oxPrice');
205 $oPrice->setNettoPriceMode();
206 $oPrice->setPrice($dPrice);
207 $oPrice->setVat($this->
getVat());
208 $this->_oPrice = $oPrice;