Compose tag link
After tagging products, you'll often want to compose a link to said products. Such a link can be included in a custom page or an email sent to potential customers.
In the following formulas, LABEL, TAG and DOMAIN must be replaced with the appropriate values.
Textile markup
For use in custom pages only (not emails).
"LABEL":/products/tag/TAG
Or:
"LABEL":/products/search_results?search%5Btags_name_in%5D=TAG
HTML markup
For use in custom pages and emails.
<a href="https://DOMAIN/products/tag/TAG">LABEL</a>
Or:
<a href="https://DOMAIN/products/search_results?search%5Btags_name_in%5D=TAG">LABEL</a>
The odd characters %5B
and %5D
are URL encoded equivalents for the open and close bracket characters ([
and ]
), respectively. Encoding ensures the URL is understood by all browsers.