partner_id_from_sku_id
Retrieves a partner ID from a SKU ID on a sku relation.
Example
1
{{ '123' | partner_id_from_sku_id: 'any', 0 }} => 123
Input
Type | Parameter | Description | Required |
---|---|---|---|
int | skuId | The ID of the SKU. Comes before the | sign. | Required |
string | relation | The relation to check, defaults to ‘any’ | |
int | delta | The delta to check, defaults to 0 |
Output
Type | Description |
---|---|
mixed | The partner ID or null if not found |