*

Mebus

  • *
  • 1 posts
osc_category_total_items() -> wrong number?
« on: November 01, 2024, 10:24:50 AM »
Hallo,

we are using the function osc_category_total_items() to preview the number of items in a sub-category. Unfortunately osc_category_total_items() counts all items in the sub-category. I want it to count only the active items that will later be visible to the user.

How can I display the count of only the active classifieds in a category?

Thanks!

Mebus

*

MB Themes

Re: osc_category_total_items() -> wrong number?
« Reply #1 on: November 03, 2024, 12:29:03 PM »
Function should count only suncategory active items, number is stored in category stats table.
Daily cron must also be enabled to have up-to-date statistics.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots