Xtc count products in category()

Aus Wiki | xtcModified eCommerce Shopsoftware

[Bearbeiten] function xtc_count_products_in_category($category_id, $include_inactive = false)

Ermittelt Anzahl Artikel in Kategorie, einschl. Unterkategorien.

Parameter
$category_id integer Kategorie ID, Ref.Tab.categories
$include_inactive bool, optional wenn true berücksichtige auch inaktive Kategorien, default: false
Return integer Anzahl Artikel
           
anything