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:
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
echo "Updating project"
|
echo "Updating project"
|
||||||
git pull origin master
|
git pull origin master
|
||||||
bin/cli rm -rf var/cache
|
bin/cacheclean
|
||||||
echo "Project updated"
|
echo "Project updated"
|
||||||
BIN
screenshot1.png
BIN
screenshot1.png
Binary file not shown.
|
Before Width: | Height: | Size: 199 KiB After Width: | Height: | Size: 282 KiB |
@@ -47,7 +47,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td class="align-middle"><a href='https://pl.ryobitools.eu/{{ product.url }}'>link</a></td>
|
<td class="align-middle"><a href='https://pl.ryobitools.eu/{{ product.url }}'>link</a></td>
|
||||||
<td class="align-middle text-end">
|
<td class="align-middle text-end">
|
||||||
{% if product.isDiscontinued() %}
|
{% if product.isDiscontinued() or product.priceCurrent == product.productStandardPrice %}
|
||||||
{{ product.priceLowest | format_currency('PLN', {}, 'pl') }}
|
{{ product.priceLowest | format_currency('PLN', {}, 'pl') }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if product.priceLowest != product.priceCurrent %}{{ product.priceLowest | format_currency('PLN', {}, 'pl') }}{%else%}<span class="badge text-bg-info">now lowest</span>{% endif %}</td>
|
{% if product.priceLowest != product.priceCurrent %}{{ product.priceLowest | format_currency('PLN', {}, 'pl') }}{%else%}<span class="badge text-bg-info">now lowest</span>{% endif %}</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user