categoryUrl
function, since version 1.3.1
categories: category, url, prestashop
categoryUrl(categoryId)
Returns the url to category
parameters
- categoryId: number - category ID
return type:
string
examples
categoryUrl(5); // https://www.domain.com/en/5-tshirts