Fix for the promo prices for items that never had promo. Add new screenshot file. Update bin/update script

This commit was merged in pull request #42.
This commit is contained in:
2026-01-14 08:41:44 +01:00
committed by krzysiej
parent 4095037b69
commit e40391eb4c
3 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@
</td>
<td class="align-middle"><a href='https://pl.ryobitools.eu/{{ product.url }}'>link</a></td>
<td class="align-middle text-end">
{% if product.isDiscontinued() %}
{% if product.isDiscontinued() or product.priceCurrent == product.productStandardPrice %}
{{ product.priceLowest | format_currency('PLN', {}, 'pl') }}
{% else %}
{% if product.priceLowest != product.priceCurrent %}{{ product.priceLowest | format_currency('PLN', {}, 'pl') }}{%else%}<span class="badge text-bg-info">now lowest</span>{% endif %}</td>