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

Merged
krzysiej merged 1 commits from feature/fix-promo-prices-for-items-that-never-had-promo into master 2026-01-14 08:42:20 +01:00
3 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
echo "Updating project"
git pull origin master
bin/cli rm -rf var/cache
bin/cacheclean
echo "Project updated"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 KiB

After

Width:  |  Height:  |  Size: 282 KiB

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>