Retrieve all products or a product based on filters.


  • Full name: get_all_products_with_filters
  • Defined in: cms/core/Shared/Helpers/product.php

Parameters

Parameter Type Description
$productSku string|null Product sku.
$limit int Number of products to show.
$offset int|null The offset of the first row to be returned.
$status string Returned unescaped product based on status (all, draft, published, pending, archived)

Return Value

array

Array of published products or product by particular sku.