item_link Function

Resolves an item’s square_online_id to a relative url pointing to the item theme page route. The url will contain the slugified version of the item name or item permalink if defined.

Defaults to # if the item square_online_id ID does not exist.

{{ item_link('example-square-online-item-id') }}