Home arrow Forum
Home
About
Demo
Forum
FAQ
Live Sites
Feedback

Login





Lost Password?
No account yet? Register
Stay Tuned!
 
Who's Online
We have 1 guest and 2 members online

powered_by Joomla
ME Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Price 0.00 it take the previous object price (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Price 0.00 it take the previous object price
#4588
tmp_user (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
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
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4601
tmp_user (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
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:

&lt;?php if($obj-&gt;type == 1 || $obj-&gt;type == 3) { if($obj-&gt;rent != 0.00) { $value = number_format($obj-&gt;rent,0,$params['sep2'],$params['sep1']) . &quot;&amp;nbsp;&quot; . $params['currency']; } else { $value = &quot;Preis auf Anfrage&quot;; } } else{ if($obj-&gt;price != 0.00) { $value = number_format($obj-&gt;price,0,$params['sep2'],$params['sep1']) . &quot;&amp;nbsp;&quot; . $params['currency']; } else { $value = &quot;Preis auf Anfrage&quot;; } } echo EAObject::«»parseCategoryShortInfo($params['shortinfo'],$value,EAObject::countryISOtoName($obj-&gt;country),$obj-&gt;state,$obj-&gt;town,$obj-&gt;district); ?&gt;
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4703
Web Jeb (User)
Expert Boarder
Posts: 103
graphgraph
User Offline Click here to see the profile of this user
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 &quot;Price:0.00&quot; but will do nothing about picking the price from previous object in listings ... and that one is a long lasting headbreaker
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#4715
gbb (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
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.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5442
mikiman (User)
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
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?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5476
InfoCasaColom (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
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
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop