diff --git a/bin/update b/bin/update index 04d1bd7..6c8b30a 100755 --- a/bin/update +++ b/bin/update @@ -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" \ No newline at end of file diff --git a/screenshot1.png b/screenshot1.png index d9b677e..4821dc2 100644 Binary files a/screenshot1.png and b/screenshot1.png differ diff --git a/templates/productList.html.twig b/templates/productList.html.twig index 94a4248..0fe850e 100644 --- a/templates/productList.html.twig +++ b/templates/productList.html.twig @@ -47,7 +47,7 @@ link - {% 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%}now lowest{% endif %}