• Resolved motmat

    (@motmat)


    The post count is product_cat is currently a sum for products in main cat and sub cat , so all product in subcat are counted twice.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter motmat

    (@motmat)

    PS code correction! ??

    : error condition: “Expanding shows: Just Sub-categories” (by option “Expanding shows: Sub-categories and Post” the post count is showed correctly”)

    Code correction:
    plugin editor …. collapscatlist.php
    from text below:
    $theCount=$subCatPostCount2 + $totalCatPostCount;
    just remove :
    + $totalCatPostCount

    • This reply was modified 4 years, 11 months ago by motmat.
    • This reply was modified 4 years, 11 months ago by motmat.

    I have the same problem, this solve problem partially.

    I have this estructure:

    • Cat 1 (25) This perferct with the abobe solution.
    • sub Cat 1.1 (50) this doesn’t work
    • sub sub Cat 1.1.1 (50) this also doesn’t work.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post count error’ is closed to new replies.