A function which retrieves a product slug.

Purpose of this function is for the get.product.slug filter.


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

Parameters

Parameter Type Description
$productId string Product id.

Return Value

string

Product slug or ''.