[FIX] website_sale_aplicoop: evitar x2 en carrito y mostrar /Kg en granel

This commit is contained in:
snt 2026-03-30 19:07:57 +02:00
parent 6628e17fef
commit 7e13ffef07
3 changed files with 15 additions and 1 deletions

View file

@ -615,6 +615,11 @@
<h6 class="card-text product-price-display">
<span class="product-price-main">
<t t-esc="'%.2f' % display_price" />
<t t-if="product_display_info.get(product.id, {}).get('price_unit_suffix')">
<span class="ms-1">
<t t-esc="product_display_info.get(product.id, {}).get('price_unit_suffix')" />
</span>
</t>
</span>
<t t-if="price_info.get('has_discounted_price', False)">
<small class="text-muted text-decoration-line-through ms-1">