Price 0.00 it take the previous object price (1 viewing) (1) Guest
Favoured: 0
|
|
|
TOPIC: Price 0.00 it take the previous object price
|
|
|
|
Price 0.00 it take the previous object price 10 Months, 2 Weeks ago
|
Karma: 0
|
When i set the price from a object 0.00 the system take the price from the previous object in the objectlist.
Please Help!!!
I found in the estateagent.html.php file in line 311 - 319 not incorrect code.
| Code: |
<?php if($obj->type == 1 || $obj->type == 3) {
if($obj->rent != 0.00) $value = number_format($obj->rent,0,$params['sep2'],$params['sep1']) . " " . $params['currency'];
}
else{
if($obj->price != 0.00) $value = number_format($obj->price,0,$params['sep2'],$params['sep1']) . " " . $params['currency'];
}
echo EAObject::«»parseCategoryShortInfo($params['shortinfo'],$value,EAObject::countryISOtoName($obj->country),$obj->state,$obj->town,$obj->district);
?>
|
<br><br>Post edited by: tmp_user, at: 2007/09/08 10:26
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:Price 0.00 it take the previous object price 10 Months, 2 Weeks ago
|
Karma: 0
|
The sulution:
in the estateagent.html.php you have to change line 311 - 329.
| Code: |
<?php
if($obj->type == 1 || $obj->type == 3) {
if($obj->rent != 0.00) {
$value = number_format($obj->rent,0,$params['sep2'],$params['sep1']) . "&nbsp;" . $params['currency'];
}
else {
$value = "Preis auf Anfrage";
}
}
else{
if($obj->price != 0.00) {
$value = number_format($obj->price,0,$params['sep2'],$params['sep1']) . "&nbsp;" . $params['currency'];
}
else {
$value = "Preis auf Anfrage";
}
}
echo EAObject::«»parseCategoryShortInfo($params['shortinfo'],$value,EAObject::countryISOtoName($obj->country),$obj->state,$obj->town,$obj->district);
?>
|
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
Web Jeb (User)
Expert Boarder
Posts: 103
|
|
Re:Price 0.00 it take the previous object price 10 Months ago
|
Karma: 0
|
|
the solution offered will show PRICE ON DEMAND instead of "Price:0.00" but will do nothing about picking the price from previous object in listings ... and that one is a long lasting headbreaker
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
gbb (User)
Fresh Boarder
Posts: 7
|
|
Re:Price 0.00 it take the previous object price 9 Months, 4 Weeks ago
|
Karma: 0
|
|
Ok... problem at Category page solved. The price appears $ XXXXXXXX... but in the property page stills appears XXXXXXX $
¿How can fix this?
Thank's.
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
mikiman (User)
Fresh Boarder
Posts: 6
|
|
Re:Price 0.00 it take the previous object price 4 Months, 2 Weeks ago
|
Karma: 0
|
|
hi, this works for me but only for the current offer...
in the hot offer listing every property and not only the zeros, displays a string..
sorry bad eng.
any solution?
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
Re:Price 0.00 it take the previous object price 4 Months, 2 Weeks ago
|
Karma: 1
|
|
Hi,
thanks for the code, it works fine for. I just have one question:
Can tell me what I have to to translate "Preis auf Anfrage" in other languages.
I'm so glad you fixed this with your code.
sorry for my english
best regards
carolina
|
|
|
|
|
|
|
The administrator has disabled public write access.
|
|
|
|
|
|