Aller au contenu principal
Commerce électronique (série C)
Détaillants (série X)
Commerce électronique (série E)
Détaillants (série R)
Commerce électronique (série C)
Restaurateurs (série K)
Restaurateurs (série L)
Golf
Ouvrir/Fermer le menu de navigation
Catégories
Ressources
Centre d’assistance vidéo
Centre de confiance
Blogue Lightspeed
<% if (indicator) { %>
<% if (indicator === "critical") { %>
<% } %> <% if (indicator === "major") { %>
<% } %> <% if (indicator === "minor") { %>
<% } %> <% if (indicator === "none") { %>
<% } %> <% if (["critical", "major", "minor", "none"].indexOf(indicator) === -1) { %>
<% } %>
<%= description %>
<% } %>
Nous joindre
Français
Deutsch
English (US)
Nederlands
Connexion
Catégories
Bonjour. Comment pouvons-nous vous aider ?
Recherche
Recherches les plus fréquentes:
carte cadeau
remboursement
traduction
facebook
domaine
Commerce électronique Lightspeed (série C)
Développement Web avancé
Développement Web avancé
API
Documentation de l’API
Ajouter un code de suivi Web
Création de clés API
Développement personnalisé
FAQ concernant la mise à jour de jQuery 1.9.1 vers la version 3.7.1
Ajout de la fonctionnalité carte-cadeau au code de votre thème
Ajout de niveaux de stock par emplacement au code d’un thème
Intégration de Loyalty à un panier personnalisé
Personnalisation des courriels, factures, devis et bordereaux d'expédition
Création d’une boutique eCom (C-Series)
Guide du développeur de thème
2 a. Outils de développement
Recherches les plus fréquentes:
Catégories
<% if (typeof defaultActiveCategories === 'string') { defaultActiveCategories = defaultActiveCategories .split(',') .map(category => category.trim()); } else { defaultActiveCategories = []; } categories = categories.filter(function(category) { return (window.Theme.excludedObjects || []).indexOf(category.id) === -1; }) %>
<% categories.forEach(function(category, index) { var isLastCategory = (index + 1) === categories.length; var isActiveCategory = activeCategoryId ? !!category.isActive : defaultActiveCategories.indexOf(category.name) !== -1; %>
<%= category.name %>
<%= partial('partial-article-list-sections', { id: 'category-' + category.id, parentId: '#sidebar-navigation', sections: category.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %>
<% }); %>
<% sections = sections.filter(function(section) { return (window.Theme.excludedObjects || []).indexOf(section.id) === -1; }) %> <% if (sections.length) { %>
<% sections.forEach(function(section) { %> <% var isTopLevelSection = section.parent_section_id === null; %> <% var articlesInSection = section.articles.filter(function(article) { return (window.Theme.excludedObjects || []).indexOf(article.id) === -1; }) %>
<%= section.name %>
<%= partial('partial-article-list-sections', { id: 'section-' + section.id, parentId: '#' + id, sections: section.sections, activeCategoryId: activeCategoryId, activeSectionId: activeSectionId, activeArticleId: activeArticleId, partial: partial }) %> <% if (articlesInSection.length) { %>
<% articlesInSection.forEach(function(article) { %>
<%= article.title %>
<% }); %>
<% } %>
<% }); %>
<% } %>
<% if (children.length) { %>
<% children.forEach(function(child, index) { %>
<%= child.title %>
<% }); %>
<% children.forEach(function(child, index) { %>
<%= child.innerHTML %>
<% }) %>
<% } %>