This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

slicer

  • ****
  • 204 posts
Search filter on mobile devices
« on: April 07, 2016, 07:38:42 AM »
Hey guys i got a couple of questions and a few things.

  • Mobile Search:
How can I expand the the collapsed "refine search items" by default? when you click on search icon, you "Refine Search" show up, so you got  "keyword" "category" "location" "pictures" "price"
At least I want to keyword and category expanded by default, because we already know we can clear cache, but some naive users might think there is no items when they search for something.  because they don't know they are currently locked to certain category after browsing any other, and this feature hidden unless they expand it, and probably leave the site because they just couldn't find what they were looking for.




  • Category Icons Home

Is it possible disable "Categories Popup in home"? when you have tons of listings it should work fine as intended, but for a while I got a bunch of empty categories and isn't fun getting:There are no results matching in almost every cat you click "" .


  • Premium Listing

Is there a way to "high light" premium listing, like Bender theme for example?.



  • Loading pages *fancy thing  :P

Can you guys implement some sort of "Beautiful loading", you know some kind of loading animation specially for mobile devices, so users just wait while the content is loading. Some times images are quite a mess while loading in listing page.

--

However something that bothers me probably is loved by someone else.

Thanks for your time!



*

MB Themes

Re: Search filter on mobile devices
« Reply #1 on: April 07, 2016, 01:24:09 PM »
@slicer
1) Mobile search - you need to create javascript that will on load of page open these boxes
2) In search_list.php add some class for premium listings (<?php if(osc_item_is_premium()) { ?>class="premium-one"<?php } ?> and then define CSS for this class
3) No plans for loader, it is usually not reliable
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slicer

  • ****
  • 204 posts
Re: Search filter on mobile devices
« Reply #2 on: April 07, 2016, 02:01:38 PM »
@slicer
1) Mobile search - you need to create javascript that will on load of page open these boxes

Hi Forsticek, sorry but I don't have the ability to create such thing by myself, please any tip on how to start in? some code that I could paste in  file  X or something like that.

TY

*

MB Themes

Re: Search filter on mobile devices
« Reply #3 on: April 07, 2016, 02:08:47 PM »
@slicer
Check jQuery library.

Easy example:
Code: [Select]
$(document).ready(function(){
  $('#some_block').show(0);
});
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slicer

  • ****
  • 204 posts
Re: Search filter on mobile devices
« Reply #4 on: April 08, 2016, 04:41:21 AM »
Thanks a lot @frosticek

I think I managed to solve what I needed 8) following your guidance, except for one question we missed in the list wrote :P


Category Icons Home

Is it possible disable "Categories Popup in home"? when you have tons of listings it should work fine as intended, but for a while I got a bunch of empty categories and isn't fun getting:There are no results matching in almost every cat you click "" .


*

MB Themes

Re: Search filter on mobile devices
« Reply #5 on: April 08, 2016, 08:10:20 AM »
@slicer
In file:
oc-content/themes/zara/js/global.js

There is function under line:
Code: [Select]
// FANCYBOX - SUBCATEGORY OPEN ON HOMEPAGE
It has about 15 lines. Comment or remove it.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slicer

  • ****
  • 204 posts
Re: Search filter on mobile devices
« Reply #6 on: April 09, 2016, 03:32:42 AM »
@slicer
In file:
oc-content/themes/zara/js/global.js

There is function under line:
Code: [Select]
// FANCYBOX - SUBCATEGORY OPEN ON HOMEPAGE
It has about 15 lines. Comment or remove it.

Hey @frosticek after doing this change all link-icons stop working  @home.

Marked as best answer by slicer on April 13, 2016, 07:18:59 PM
*

MB Themes

Re: Search filter on mobile devices
« Reply #7 on: April 09, 2016, 09:22:34 PM »
@slicer
Forgot to write change required in file:
oc-content/themes/zara/inc.category.php

Find line:
Code: [Select]
<?php if(osc_is_home_page()) { ?>href="#ct<?php echo osc_category_id(); ?>"<?php } else { ?>href="<?php echo osc_search_url($search_params); ?>"<?php ?>
Change to:
Code: [Select]
href="<?php echo osc_search_url($search_params); ?>"
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

slicer

  • ****
  • 204 posts
Re: Search filter on mobile devices
« Reply #8 on: April 13, 2016, 07:29:52 PM »
Awesome @frosticek you are the best ^_^ every request done.

*

MB Themes

Re: Search filter on mobile devices
« Reply #9 on: April 13, 2016, 10:32:28 PM »
@slicer
Welcome
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

alinpreda

  • ***
  • 23 posts
Re: Search filter on mobile devices
« Reply #10 on: July 28, 2016, 12:44:15 PM »
Thanks a lot @frosticek

I think I managed to solve what I needed 8) following your guidance, except for one question we missed in the list wrote :P


Category Icons Home

Is it possible disable "Categories Popup in home"? when you have tons of listings it should work fine as intended, but for a while I got a bunch of empty categories and isn't fun getting:There are no results matching in almost every cat you click "" .

Hy,

Say me, please, how can you do?

Thanks,