sku_id_from_sku_code

Get sku id from SKU code

Example

1
{{ '123' | sku_id_from_sku_code }} => 123

Input

Type Parameter Description Required
string skuCode The code of the SKU. Comes before the | sign. Required

Output

Type Description
mixed The ID of the SKU or null if not found