GetMerchantItemLink
Jump to navigation
Jump to search
Returns the item link for a merchant item.
link = GetMerchantItemLink(index)
Arguments
- index
- number - The index of the item in the merchant's inventory
Returns
- itemLink
- string? - returns a string that will show as a clickable link to the item
Example
Show item link will appear in the default chat frame.
DEFAULT_CHAT_FRAME:AddMessage(GetMerchantItemLink(4));