import { numberToEuroFormat } from "../utils.js"; export function Product(data) { return ` ${data.title}
sofort verfügbar
${numberToEuroFormat(data.calc_preis)}
${(((data.calc_preis - data.preis) * 100) / data.preis).toFixed(2) + ' %'} `; }