RSS
Home Forum v3
Welcome, Guest
Please Login or Register.    Lost Password?

[SOLVED]Min Max Price not displayed on some pages
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: [SOLVED]Min Max Price not displayed on some pages
*
#4736
[SOLVED]Min Max Price not displayed on some pages 1 Year, 9 Months ago Karma: 0
Hey!

I just noticed on my site, the Search Module will list the Min and Max prices on every page EXCEPT the actual listings (including search results).

The search module is on every page but basically won't display the Min/Max prices unless presented OUTSIDE of the property listings

Thanks for any help guys!
emelia
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/08/29 18:42 By administrator.
The administrator has disabled public write access.
 
#4772
Re:Min Max Price not displayed on some pages 1 Year, 9 Months ago Karma: 0
no one can help?
emelia
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4779
Re:Min Max Price not displayed on some pages 1 Year, 9 Months ago Karma: 0
I have the same problem, check it here

vendaimoveisflorianopolis.com.br.

If you click any listing in the carrousel, the min/max price in the next page is not show UNLESS YOU UNSELECT FIRST THE CATEGORY ("TIPO" IN MY MODULE) and then you select the new category. I mean you have to unselect the category by choosing "tipo" after having clicked any of the carrousel properties in homepage, and then select the new category. this way the price ranges are show again.

This is really bad for customers and annoying, i hope somebody can help with this and i am surprised that no one noticed before, i habe this problem in 4 websites, so the problem is in the module and not in my installations.

thanks for replying.

cheers
lorenzofp
Expert Boarder
Posts: 116
graphgraph
User Offline Click here to see the profile of this user
lorenzofp lorenzofln@hotmail.com
The administrator has disabled public write access.
Lorenzo Federico Pascucci
Skype: lorenzofp
MSN: lorenzofln@hotmail.com
 
#4780
Re:Min Max Price not displayed on some pages 1 Year, 9 Months ago Karma: 59
lorenzofp
where are you from?
is later now
can test chat plesae
in right column
administrator
Admin
Posts: 544
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4889
Re:Min Max Price not displayed on some pages 1 Year, 8 Months ago Karma: 0
Hello Esteban,

i am from Brazil but i can speak spanish too. I noticed that also the minimum and maximum price search do not work well, it is returning all result and not following price choice.

I am in a big trouble, trying to fix this. Can you have a look to this in my site? I can send you by mail administrator access and also ftp access if needed.

Thanks admin.
lorenzofp
Expert Boarder
Posts: 116
graphgraph
User Offline Click here to see the profile of this user
lorenzofp lorenzofln@hotmail.com
The administrator has disabled public write access.
Lorenzo Federico Pascucci
Skype: lorenzofp
MSN: lorenzofln@hotmail.com
 
#4891
Re:Min Max Price not displayed on some pages 1 Year, 8 Months ago Karma: 59
administrator
Admin
Posts: 544
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4971
Re:Min Max Price not displayed on some pages 1 Year, 8 Months ago Karma: 0
Hello Esteban.

I am thinking about paying somebody to build a search module with only price for sell and supporting more than 3 categories. Before paying anybody else, i am asking to you if you dont want my 50 dollars and do the customizations for me..

The problem is that when somebody clicks on a property in carrousel, the property pages open and populate automatically the fields in the search, but this is a problem because min and max price are not displayed unless you unselect category.

I want the field to remain neutral, not populated.

Thanks.
lorenzofp
Expert Boarder
Posts: 116
graphgraph
User Offline Click here to see the profile of this user
lorenzofp lorenzofln@hotmail.com
The administrator has disabled public write access.
Lorenzo Federico Pascucci
Skype: lorenzofp
MSN: lorenzofln@hotmail.com
 
#4973
Re:Min Max Price not displayed on some pages 1 Year, 8 Months ago Karma: 59
lorenzofp contact me to admin @ com-property.com
administrator
Admin
Posts: 544
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4974
Re:Min Max Price not displayed on some pages 1 Year, 8 Months ago Karma: 0
done, i sent you an email, thanks!
lorenzofp
Expert Boarder
Posts: 116
graphgraph
User Offline Click here to see the profile of this user
lorenzofp lorenzofln@hotmail.com
The administrator has disabled public write access.
Lorenzo Federico Pascucci
Skype: lorenzofp
MSN: lorenzofln@hotmail.com
 
#4976
Re:Min Max Price not displayed on some pages 1 Year, 8 Months ago Karma: 0
Thanks to Admin this problem was SOLVED. Please modify the name of the thread adding [SOLVED].

Admin talked to me in Skype and modified my mod_prop_search_js.php in order to work with a single category of prices. For those who have multiple categories of properties but a single price category.

Here is the content of the new mod_prop_search_js.php

In component configuration set up show price ranges to NO and then add price ranges to the sell category price field.


Code:



<?php
defined('_JEXEC') or die('Direct Access to this location is not allowed.'); 
$lang =& JFactory::getLanguage();

$mainframe->addCustomHeadTag('<link rel="stylesheet" href="modules/mod_prop_search_js/css/style.css" type="text/css" />');

jimport( 'joomla.application.component.helper' );
require_once(dirname(__FILE__).DS.'helper.php');
$db  =& JFactory::getDBO();

$component = JComponentHelper::getComponent( 'com_properties' );
$paramsC = new JParameter( $component->params );

/*
echo '<pre>';
print_r($paramsC);
echo '</pre>';
*/
$moduleclass_sfx    = $params->get( 'moduleclass_sfx' );

$ms_country  = $paramsC->get( 'ms_country',1 ) ;
$ms_state  = $paramsC->get( 'ms_state',1 ) ;
$ms_locality  = $paramsC->get( 'ms_locality',1 ) ;
$ms_category  = $paramsC->get( 'ms_category',1 ) ;
$ms_type  = $paramsC->get( 'ms_type',1 ) ;
$ms_price   = $paramsC->get( 'ms_price',1 ) ;
$ms_bedrooms  = $paramsC->get( 'ms_bedrooms',1 ) ;
$ms_bathrooms  = $paramsC->get( 'ms_bathrooms',1 ) ;
$ms_parking  = $paramsC->get( 'ms_parking',1 ) ;
$ms_area  = $paramsC->get( 'ms_area',1 ) ;
$RangeArea = $paramsC->get( 'RangeArea' ) ;

$MinPriceRentDay = $paramsC->get( 'MinPriceRentDay',0 );
$MaxPriceRentDay = $paramsC->get( 'MaxPriceRentDay',0 );
$IdCatPriceDay = $paramsC->get( 'IdCatPriceDay',0 );
$MinPriceRentMonth = $paramsC->get( 'MinPriceRentMonth',0 );
$MaxPriceRentMonth = $paramsC->get( 'MaxPriceRentMonth',0 );
$IdCatPriceMonth = $paramsC->get( 'IdCatPriceMonth',0 );
$MinPriceSell = $paramsC->get( 'MinPriceSell',0 );
$MaxPriceSell = $paramsC->get( 'MaxPriceSell',0 );
$IdCatPriceSell = $paramsC->get( 'IdCatPriceSell',0 );

$currencyformat=$paramsC->get('FormatPrice');
$PositionPrice=$paramsC->get('PositionPrice');
$SimbolPrice=$paramsC->get('SimbolPrice');


$UseCountry    = $paramsC->get( 'UseCountry',1 );
$idCountryDefault = $paramsC->get( 'UseCountryDefault' ) ;
$UseState     = $paramsC->get( 'UseState',1 );
$idStateDefault = $paramsC->get( 'UseStateDefault' ) ;
$UseLocality  = $paramsC->get( 'UseLocality',1 );
$idLocalityDefault = $paramsC->get( 'UseLocalityDefault' ) ;

$CYslug = '';
$Hcyid = '';


$CYslug = JRequest::getVar('cyid', '', '', 'int');
$Hcyid = JRequest::getVar('cyid', 0, '', 'int');
$Hsid = JRequest::getVar('sid', 0, '', 'int');
$Hlid = JRequest::getVar('lid', 0, '', 'int');
$Hcid = JRequest::getVar('cid', 0, '', 'int');
$Htid = JRequest::getVar('tid', 0, '', 'int');
$minprice = JRequest::getVar('minprice', 0, '', 'int');
$maxprice = JRequest::getVar('maxprice', 0, '', 'int');





if($UseCountry==1 and $paramsC->get( 'ms_country')){

$Countries = Modprop_search_jsHelper::getCountries($Hcyid,$CYslug);

}elseif($UseCountry==1){

$Hcyid=$idCountryDefault;
$Countries =  null;

if($idCountryDefault>0)
{
$Hcyid=$idCountryDefault;
$Countries =  '<input type="hidden" name="cyid" id="cyid" value="'.$Hcyid.'" />';
}

}



if($UseState==1 and $paramsC->get( 'ms_state')){

$States = Modprop_search_jsHelper::getStates($UseCountry,$Hcyid,$Hsid);
$States_js = Modprop_search_jsHelper::getStates_js($UseCountry,$Hcyid,$Hsid);

}elseif($UseState==1){
$Hsid=$idStateDefault;
$States =  null;
$States_js = null;

if($idStateDefault>0){
$Hsid=$idStateDefault;
$States =  '<input type="hidden" name="sid" value="'.$Hsid.'" />';
$States_js = null;
}

}

if($UseLocality==1 and $paramsC->get( 'ms_locality')){

$Localities = Modprop_search_jsHelper::getLocalities($UseCountry,$UseState,$Hcyid,$Hsid,$Hlid);
$Localities_js = Modprop_search_jsHelper::getLocalities_js($UseCountry,$UseState,$Hcyid,$Hsid,$Hlid);

}elseif($UseLocality==1){

$Localities = null;
$Localities_js = null;

if($idLocalityDefault>0){
$Hlid=$idLocalityDefault;
$Localities =  '<input type="hidden" name="lid" value="'.$Hlid.'" />';
}

}


if($ms_category){
$Categories = Modprop_search_jsHelper::getCategories($Hcid);
}else{
$Categories = null;
}

if($ms_type){
$Types = Modprop_search_jsHelper::getTypes($Hcid,$Htid);
$Types_js = Modprop_search_jsHelper::getTypes_js($Hcid,$Htid);
}else{
$Types = null;
$Types_js = null;
}



if ($ms_bedrooms) {
$Bedrooms = Modprop_search_jsHelper::getBedrooms();
}else{
$Bedrooms = null;
}

if ($ms_bathrooms) {
$Bathrooms = Modprop_search_jsHelper::getBathrooms();
}else{
$Bathrooms = null;
}

if ($ms_parking) {
$Parking = Modprop_search_jsHelper::getParking();
}else{
$Parking = null;
}


$MinPriceSelect = Modprop_search_jsHelper::getMinPrice($MinPriceSell,$minprice);
$MaxPriceSelect = Modprop_search_jsHelper::getMaxPrice($MaxPriceSell,$maxprice);


   
if($ms_area==1){
$area=JRequest::getVar('area');
$areaid=explode(':',$area);
$areaid=$areaid[0];

$ComboSearcharea = Modprop_search_jsHelper::getSearcharea($RangeArea,$areaid);
/*
$aitems  = array();
$aitems[]  = JHTML::_('select.option',  '', JText::_( 'Select Area' ) );
$aitems[]  = JHTML::_('select.option',  '001_100', '001-100 '.JText::_( 'AREA_UNIT' ) );
$aitems[]  = JHTML::_('select.option',  '100_200', '100-200 '.JText::_( 'AREA_UNIT' ) );
$aitems[]  = JHTML::_('select.option',  '200_300', '200-300 '.JText::_( 'AREA_UNIT' ) );
$aitems[]  = JHTML::_('select.option',  '300_400', '300-400 '.JText::_( 'AREA_UNIT' ) );
$aitems[]  = JHTML::_('select.option',  '400_500', '400-500 '.JText::_( 'AREA_UNIT' ) );
$aitems[]  = JHTML::_('select.option',  '500_600', '500-600 '.JText::_( 'AREA_UNIT' ) );
$aitems[]  = JHTML::_('select.option',  '600_700', '600-700 '.JText::_( 'AREA_UNIT' ) );
$aitems[]  = JHTML::_('select.option',  '700_800', '700-800 '.JText::_( 'AREA_UNIT' ) );
$aitems[]  = JHTML::_('select.option',  '800_900', '800-900 '.JText::_( 'AREA_UNIT' ) );
$aitems[]  = JHTML::_('select.option',  '900_999', '900-999 '.JText::_( 'AREA_UNIT' ) );
$aitems[]  = JHTML::_('select.option',  '1000_', '+1000 '.JText::_( 'AREA_UNIT' ) );
 
 $ComboSearcharea = JHTML::_('select.genericlist',   $aitems, 'area', 'class="select_search"', 'value', 'text', $areaid );
*/
}

if($ms_area==2){
$area=JRequest::getVar('area');
$areaid=explode(':',$area);
$areaid=$areaid[0];

$explodearea=explode('_',$areaid);

$TextArea=TRUE;
$TextAreaMin=$explodearea[0];//'<input type="text" class="input_area" name="minarea" id="minarea" value="" />';
$TextAreaMax=$explodearea[1];//'<input type="text" class="input_area" name="maxarea" id="maxarea" value="" />';

}
require(JModuleHelper::getLayoutPath('mod_prop_search_js'));
?>


lorenzofp
Expert Boarder
Posts: 116
graphgraph
User Offline Click here to see the profile of this user
lorenzofp lorenzofln@hotmail.com
The administrator has disabled public write access.
Lorenzo Federico Pascucci
Skype: lorenzofp
MSN: lorenzofln@hotmail.com
 
#5150
Re:Min Max Price not displayed on some pages 1 Year, 8 Months ago Karma: 0
i been gettin stressed out about this price range stuff. glad i came accross this post..

thanks and thanks again.. for posting the modification
JustinS
Fresh Boarder
Posts: 17
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#5217
Re:Min Max Price not displayed on some pages 1 Year, 8 Months ago Karma: 0
you welcome, i knew that somebody would have been happy that i posted the modifications!!!!! nice to hear that!!
lorenzofp
Expert Boarder
Posts: 116
graphgraph
User Offline Click here to see the profile of this user
lorenzofp lorenzofln@hotmail.com
The administrator has disabled public write access.
Lorenzo Federico Pascucci
Skype: lorenzofp
MSN: lorenzofln@hotmail.com
 
Go to topPage: 1