categoryImage

function, since version 1.2.3
categories: image, category, prestashop

categoryImage(categoryId, name, [type])

returns url to category image. Function respects prestashop Friendly URL settings.

parameters

return type:

string

example

categoryImage(category.id, category.friendlyUrl)   // https://www.domain.com/img/c/3.jpg

Related functions:

Update your privacy settings