Pour créer des newsletters avec des blocs ecommerce (avec des produits) ou des automatisations ecommerce (comme un panier abandonné ou une évaluation de produit), vous devez générer un flux CSV qui renvoie certaines informations sur ces produits.
Exigences relatives au flux
Le flux doit ĂȘtre accessible en ligne, exemple d’URL de flux : https://monsiteweb.fr/feed.csv.
Les informations sur les produits dans ce flux doivent ĂȘtre mises Ă jour dans les plus brefs dĂ©lais ou ĂȘtre rĂ©cupĂ©rĂ©es en temps rĂ©el.
En-tĂȘte de tableau pour le flux
"product id","product name","product url","image url","stock","price","sale price","brand","category","description"
Champ | Obligatoriu | Description |
product id | Oui | L’id du produit. |
product name | Oui | Le nom du produit. |
product url | Oui | L’URL longue du produit. Par exemple: https://monsiteweb.fr/mon-produit. |
image url | Oui | L’URL absolue de l’image. Par exemple: https://monsiteweb.fr/images/image-produit.jpg. |
stock | Oui | La quantitĂ© de stock du produit. S’il n’y a pas de quantitĂ©, 1 ou 0 peuvent ĂȘtre utilisĂ©s.C |
price | Oui | Le prix total du produit, par exemple 49,99. |
sale price | Oui | Prix ââdu produit rĂ©duit Ă 2 dĂ©cimales, par exemple 45,99. Si le produit n’est pas rĂ©duit, le prix total du produit sera utilisĂ©. |
brand | Oui | Le producteur du produit. |
category | Oui | La catégorie principale du produit. |
description | Oui | La description du produit. |
Exemple de flux CSV
"product id","product name","product url","image url","stock","price","sale price","brand","category","description" "101","Red dress","https://mywebsite.com/dresses/red-dress","https://mywebsite.com/images/red-dress.jpg","3","655.00","455.00","Local brand","Dresses","Dresses","Red dress from Local brand" "102","Slim fit jeans","https://mywebsite.com/jeans/slim-fit-jeans","https://mywebsite.com/images/slim-fit-jeans.jpg","18","355.00","355.00","Local brand","Jeans","Slim fit jeans from Local brand" "103","Black jeans","https://mywebsite.com/jeans/black-jeans","https://mywebsite.com/images/black-jeans.jpg","12","385.00","300.00","Local brand","Jeans","Black jeans from Local brand" "104","Blue jeans","https://mywebsite.com/jeans/blue-jeans","https://mywebsite.com/images/blue-jeans.jpg","15","385.00","300.00","Local brand","Jeans","Blue jeans from Local brand" "105","Red tshirt","https://mywebsite.com/tshirts/red-tshirt","https://mywebsite.com/images/red-tshirt.jpg","14","155.00","155.00","Local brand","Tshirts","Red tshirt from Local brand" "106","Green tshirt","https://mywebsite.com/tshirts/green-tshirt","https://mywebsite.com/images/green-tshirt.jpg","11","155.00","155.00","Local brand","Tshirts","Green tshirt from Local brand" "107","Yellow tshirt","https://mywebsite.com/tshirts/yellow-tshirt","https://mywebsite.com/images/yellow-tshirt.jpg","17","155.00","155.00","Local brand","Tshirts","Yellow tshirt from Local brand" "108","Black jacket","https://mywebsite.com/jackets/black-jacket","https://mywebsite.com/images/black-jacket.jpg","2","830.00","830.00","Local brand","Jackets","Black jacket from Local brand" "109","Green jacket","https://mywebsite.com/jackets/green-jacket","https://mywebsite.com/images/green-jacket.jpg","4","830.00","830.00","Local brand","Jackets","Green jacket from Local brand"
Vous pouvez télécharger ici un exemple de fichier.
Ajouter le flux dans l’interface d’administration de NewsMAN
AprĂšs avoir crĂ©Ă© le flux, accĂ©dez Ă ParamĂštres -> Flux dans l’interface d’administration de NewsMAN, appuyez sur Ajoute un flux, insĂ©rez l’URL du flux, choissez NewsMAN CSV comme type de flux, clicquez ensuite sur Ajouter.