Base Tag Library


Targets a page in Neto to generate the url


[%url page:'account' type:'approve_quote' /%]


The url tag generates a URL based on the parameters. This is best practise over a static URL as it means you can change these URL's down the road and as long as the ID's stay the same, the links will continue to update and work.

Common URL uses

[%url page:'checkout' type:'cart'/%]

Note: There is also a data tag [@config:home_url@]

[%url type:'home'/%]
[%url type:'item' id:'[@sku@]' /%]

Replace 3 with the ID of your page.

[%url id:'3'/%]

[%url page:'account' type:'orders' id:'[@order_id@] /%]

url Parameters

Name Options Description
page:'' item, product, inventory, content, page, checkout, account The page section you'd like to call for the url
type:'' String The page type, applicable when a page has multiple options
id:'' String Used to target the ID as stored in neto, eg. [@SKU@]
https:'' 1 / 0 When set to true loads a secure HTTPS url
fn:'' String In special cases it will specify a function to perform with specific types, eg. view to view a specific ID of a wishlist.
nohost:'' 1 / 0 Removes protocol and domain for relative URLs. Safe for HTTPs/HTTP elements.