feat: added prefetch related for product prices

This commit is contained in:
2025-02-19 19:26:28 +01:00
parent 658f5d6749
commit fe085664d5
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -29,7 +29,9 @@
<!-- </div>-->
<div class="mt-4 flex gap-4">
<p class="txt-2xl">
{{ product.price.price_with_tax }}€
{% with product.current_prices.0 as price %}
{{ price.price_with_tax }} €
{% endwith %}
</p>
</div>
<div class="mt-4">