Skip to content

Commit

Permalink
Merge pull request #859 from dpfaffenbauer/unused-property-in-twig
Browse files Browse the repository at this point in the history
[Frontend] remove unused property in detail template
  • Loading branch information
dpfaffenbauer committed Mar 7, 2019
2 parents c08ca5e + 32bc8cb commit 03968d8
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@
{% endif %}
<li>
<span>{{ 'coreshop.ui.availability'|trans }}:</span>
{% if product.getIsTracked %}
{% if coreshop_inventory_is_sufficient(product) %}
<strong class="label label-success"> {{ 'coreshop.ui.in_stock'|trans }}</strong>
{% elseif product.getIsAvailableWhenOutOfStock %}
{% if product.getIsTracked %}
{% if coreshop_inventory_is_sufficient(product) %}
<strong class="label label-success"> {{ 'coreshop.ui.in_stock'|trans }}</strong>
{% else %}
{{ 'coreshop.ui.out_of_stock'|trans }}
{% endif %}
{% else %}
Expand Down

0 comments on commit 03968d8

Please sign in to comment.