1. Kai Diefenbach
  2. lfs-theme

Commits

Kai Diefenbach  committed a59b15e

Display prices for properties (if selected)

  • Participants
  • Parent commits afb01f1
  • Branches default

Comments (0)

Files changed (1)

File lfstheme/templates/lfs/cart/added_to_cart_items.html

View file
  • Ignore whitespace
                     {% for property in cart_item.get_properties %}
                         <div>
                             {{ property.title }}: {{ property.value }} {{ property.unit|safe }}
-                            {% if property.is_select_field %}
+                            {% if property.display_price %}
                                 ({{ property.price|currency }})
                             {% endif %}
                         </div>