Fonction Prestashop.LitImageCatégorie
[Prestashop : Lit]
Syntaxe
Prestashop.LitImageCatégorie(url : < Url >, apikey : < Clé API >, elem_id : < Identifiant Image >, parent_id : < Identifiant Parent >)
- url : adresse du site marchand Prestashop (obligatoire)
- apikey : clé enregistrée dans le back-office de Prestashop pour l'usage du webservice (obligatoire ; la passer par un argument plutôt que l'écrire en clair)
- elem_id (alias : elemid, itemid, item_id, img_id, imgid) : identifiant Prestashop de l'image (obligatoire)
- parent_id (alias : parentid, categorie_id, categorieid, category_id, categoryid) : identifiant Prestashop de la catégorie (obligatoire)
Description
Retourne le fichier image d'une image d'un catégorie.
Exemple
Prestashop.LitImageCatégorie(url : "https://monsite.fr/", apikey : <%CléApi%>, elem_id : 1, parent_id : 1)
Retourne le fichier image.