Gustavo Luigi 2022-11-21 16:40:35 -03:00
parent 3d42690169
commit 480b1d100c
1 changed files with 43 additions and 42 deletions

View File

@ -29,6 +29,7 @@ function calculatePrice(objProduct){
} }


function createProductElement(objProduct) { function createProductElement(objProduct) {
console.log(objProduct);
calculatePrice(objProduct); calculatePrice(objProduct);
let elementProduct = ` let elementProduct = `
<tr> <tr>
@ -37,7 +38,7 @@ function createProductElement(objProduct){
</td> </td>
<td class="text-start"> <td class="text-start">
<span class="fs-5"> <span class="fs-5">
<a class="text-decoration-none" href="${objProduct.source_link}">${objProduct.title}</a> <a class="text-decoration-none" href="${objProduct.path}">${objProduct.title}</a>
</span> </span>
<br> <br>
<small class="text-success">sofort verfügbar</small> <small class="text-success">sofort verfügbar</small>