Retrieves an array of CSS class names.
- Full name:
get_product_class - Defined in:
cms/core/Shared/Helpers/product.php
Parameters
| Parameter | Type | Description |
|---|---|---|
$productId |
string | Product id of current product. |
$class |
string|array | One or more css class names to add to element list. |
Return Value
array
An array of css class names.