*

terry

  • ***
  • 39 posts
Mobile Parent Category View
« on: April 12, 2017, 10:25:22 AM »
I've just noticed that when you view a parent category, it only shows 1 listing even though there are more listings in the child categories. Another parent category show none.

Does it have anything to do with cookies and the location I have "okayed" with? Am I missing a setting somewhere.

If so would it be possible to add a div under the categories/subcategories with the current location and category the user is on? Where would I find this code?


Thank you.
« Last Edit: April 12, 2017, 10:32:44 AM by terry »

*

MB Themes

Re: Mobile Parent Category View
« Reply #1 on: April 12, 2017, 11:33:06 AM »
@terry
You have location in search sidebar that can be accessed from header.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

terry

  • ***
  • 39 posts
Re: Mobile Parent Category View
« Reply #2 on: April 12, 2017, 11:41:30 AM »
Thanks @frosticek - this only shows on the homepage though - would it work if I copy the code for just the location into the header of category pages?

*

MB Themes

Re: Mobile Parent Category View
« Reply #3 on: April 15, 2017, 02:39:18 PM »
I do  not think it will work without problems
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

terry

  • ***
  • 39 posts
Re: Mobile Parent Category View
« Reply #4 on: April 15, 2017, 02:59:49 PM »
What if I just echo the current category (like the breadcrumbs) and current location (no filter etc, just pure text) into a div under the "Subcategories" button. Would you be able to tell me the code to this or where I can look?

Thanks again

*

MB Themes

Re: Mobile Parent Category View
« Reply #5 on: April 16, 2017, 11:13:38 AM »
@terry
You can user helper functions:
https://doc.osclass.org/HSearch.php

osc_search_region() - Gets current search region
osc_search_city() - Gets current search city

  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

terry

  • ***
  • 39 posts
Re: Mobile Parent Category View
« Reply #6 on: April 16, 2017, 11:35:43 AM »
@frosticek
Fantastic! This really helps. Thank you