sku_has_tag

Checks if a SKU has a tag.

Example

1
{{ $a | sku_has_tag: "tag" }} => true

Input

Type Parameter Description Required
mixed resource The SKU or SKU code to check. Comes before the | sign. Required
string tagName The tag name to check for  

Output

Type Description
bool True if the SKU has the tag, false otherwise