It is currently Thu Oct 22, 2020 6:52 am

All times are UTC + 5:30 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Wed Jan 02, 2013 2:02 am 

Joined :
Thu Aug 16, 2012 10:47 pm

Posts : 5
How do I increase the number of products at advsearch page?
Now, the number of product is just 10.
How do I increase the number of products from 10 to 20?


Report this post
Top
 Profile  
 
PostPosted: Sat Feb 09, 2013 5:06 pm 
Apptha Team

Joined :
Mon Dec 24, 2012 5:35 pm

Responses Posted : 59
Hi,

In order to increase the number of product in the advsearch page. Kindly change the value in the file "Airhotels.php".The file path is mentioned in below.

Here is the file path:
....app/code/local/Apptha/Airhotels/Model/Airhotels.php

Search the below code:
$collection->setPage($data["pageno"], 10); /**Change the value 10 to 20**/

Thanks & Regards
Sathishkumar


Report this post
Top
 Profile  
 
PostPosted: Tue Jul 26, 2016 4:43 am 

Joined :
Tue Jul 26, 2016 4:36 am

Posts : 1
By default in script, its defined to pagination for more than 6 properties.


Report this post
Top
 Profile  
 
PostPosted: Fri Aug 05, 2016 3:32 pm 

Joined :
Tue Jul 26, 2016 4:36 am

Posts : 1
[quote="sajunair26"]By default in script, its defined to pagination for more than 6 properties.[/quote]


Report this post
Top
 Profile  
 
PostPosted: Fri Aug 05, 2016 4:11 pm 

Joined :
Tue Jul 26, 2016 4:36 am

Posts : 1
can u let me know how can i increase it


Report this post
Top
 Profile  
 
PostPosted: Thu Sep 29, 2016 1:25 pm 
Apptha Team

Joined :
Mon Dec 24, 2012 5:35 pm

Responses Posted : 59
Hi,

To increase the number of listings in advsearch page,

go to the file path: /app/design/frontend/default/stylish/template/airhotels/property/result.phtml

search the below code and change the value 6 as per your needs.

$n = ceil($collection->getSize() / 6);


Report this post
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 5:30 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron