diff --git a/templates/product.html.twig b/templates/product.html.twig index a267b4e..bbffcd2 100644 --- a/templates/product.html.twig +++ b/templates/product.html.twig @@ -1,57 +1,60 @@ {% extends "template.html.twig" %} {% block content %} -
| {% if product.starred %}★{% else %} ☆ {% endif %} | -- {{ product.name }} - {{ product.subTitle }} - | -- - | -link | -||||||||||||||||||||||||||||||||||||
|
-
-
-
- |
- |||||||||||||||||||||||||||||||||||||||
-
{{ price.price | format_currency('PLN', {}, 'pl') }} |
+ {{ price.lowestProductPrice30Days | format_currency('PLN', {}, 'pl') }} |
+ {{ price.productStandardPrice | format_currency('PLN', {}, 'pl') }} |
+ {{ price.created_at }} |
+ {{ (product.stock | findByCreatedAtDate(price.created_at | slice(0,10))).stock ?? '' }} |
+ |
+ ||||||||||||||||||||||||||||||||||