getPageUrl

function, since version 2.1.8
categories: category, url, prestashop

getPageUrl(controller, [request])

Returns url to prestashop page,

parameters

return type

string

examples

getPageUrl("contact");      //  https://www.domain.com/en/contact-us
getPageUrl("attachment", "id_attachment=" + attachment.id);

Related functions:

Update your privacy settings