anzeigen der Artikel nr. bei den Produkten im Shop
This commit is contained in:
parent
17522dcd65
commit
9165fb8776
@ -38,6 +38,7 @@
|
|||||||
<h3>${product.name}</h3>
|
<h3>${product.name}</h3>
|
||||||
<p>Preis: ${product.price}€</p>
|
<p>Preis: ${product.price}€</p>
|
||||||
<p>${product.description}</p>
|
<p>${product.description}</p>
|
||||||
|
<p>Artikel Nr: ${product.id}</p>
|
||||||
<button class="add-to-cart" data-id="${product.id}">Zum Warenkorb hinzufügen</button>
|
<button class="add-to-cart" data-id="${product.id}">Zum Warenkorb hinzufügen</button>
|
||||||
`;
|
`;
|
||||||
container.appendChild(card);
|
container.appendChild(card);
|
||||||
|
|||||||
@ -35,6 +35,7 @@
|
|||||||
<h3>${product.name}</h3>
|
<h3>${product.name}</h3>
|
||||||
<p>Preis: ${product.price}€</p>
|
<p>Preis: ${product.price}€</p>
|
||||||
<p>${product.description}</p>
|
<p>${product.description}</p>
|
||||||
|
<p>Artikel Nr: ${product.id}</p>
|
||||||
<button class="add-to-cart" data-id="${product.id}">Zum Warenkorb hinzufügen</button>
|
<button class="add-to-cart" data-id="${product.id}">Zum Warenkorb hinzufügen</button>
|
||||||
`;
|
`;
|
||||||
container.appendChild(card);
|
container.appendChild(card);
|
||||||
|
|||||||
@ -36,6 +36,7 @@
|
|||||||
<h3>${product.name}</h3>
|
<h3>${product.name}</h3>
|
||||||
<p>Preis: ${product.price}€</p>
|
<p>Preis: ${product.price}€</p>
|
||||||
<p>${product.description}</p>
|
<p>${product.description}</p>
|
||||||
|
<p>Artikel Nr: ${product.id}</p>
|
||||||
<button class="add-to-cart" data-id="${product.id}">Zum Warenkorb hinzufügen</button>
|
<button class="add-to-cart" data-id="${product.id}">Zum Warenkorb hinzufügen</button>
|
||||||
`;
|
`;
|
||||||
container.appendChild(card);
|
container.appendChild(card);
|
||||||
|
|||||||
@ -35,6 +35,7 @@
|
|||||||
<h3>${product.name}</h3>
|
<h3>${product.name}</h3>
|
||||||
<p>Preis: ${product.price}€</p>
|
<p>Preis: ${product.price}€</p>
|
||||||
<p>${product.description}</p>
|
<p>${product.description}</p>
|
||||||
|
<p>Artikel Nr: ${product.id}</p>
|
||||||
<button class="add-to-cart" data-id="${product.id}">Zum Warenkorb hinzufügen</button>
|
<button class="add-to-cart" data-id="${product.id}">Zum Warenkorb hinzufügen</button>
|
||||||
`;
|
`;
|
||||||
container.appendChild(card);
|
container.appendChild(card);
|
||||||
|
|||||||
@ -41,6 +41,7 @@
|
|||||||
<h3>${product.name}</h3>
|
<h3>${product.name}</h3>
|
||||||
<p>Preis: ${product.price}€</p>
|
<p>Preis: ${product.price}€</p>
|
||||||
<p>${product.description}</p>
|
<p>${product.description}</p>
|
||||||
|
<p>Artikel Nr: ${product.id}</p>
|
||||||
<button class="add-to-cart" data-id="${product.id}">Zum Warenkorb hinzufügen</button>
|
<button class="add-to-cart" data-id="${product.id}">Zum Warenkorb hinzufügen</button>
|
||||||
`;
|
`;
|
||||||
container.appendChild(card);
|
container.appendChild(card);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user