Commits

Kai Diefenbach committed 778b3ef

Added title to Property class

Comments (0)

Files changed (4)

lfstheme/templates/lfs/cart/added_to_cart_items.html

                 {{ cart_item.product.get_name }}
                 {% for property in cart_item.product.get_displayed_properties %}
                     <div>
-                        {{ property.name }}: {{ property.value }} {{ property.unit|safe }}
+                        {{ property.title }}: {{ property.value }} {{ property.unit|safe }}
                     </div>
                 {% endfor %}
 

lfstheme/templates/lfs/cart/cart_inline.html

                         </span>
                         {% for property in cart_item.product.get_displayed_properties %}
                             <div>
-                                {{ property.name }}: {{ property.value }} {{ property.unit|safe }}
+                                {{ property.title }}: {{ property.value }} {{ property.unit|safe }}
                             </div>
                         {% endfor %}
 

lfstheme/templates/lfs/catalog/products/product_inline.html

     <div class="product-properties">
         {% for property in variant.get_displayed_properties %}
             <div>
-                {{ property.name }}: {{ property.value }} {{ property.unit|safe }}
+                {{ property.title }}: {{ property.value }} {{ property.unit|safe }}
             </div>
         {% endfor %}
     </div>

lfstheme/templates/lfs/checkout/checkout_cart_inline.html

                 {{ cart_item.product.get_name }}
                 {% for property in cart_item.product.get_displayed_properties %}
                     <div>
-                        {{ property.name }}: {{ property.value }} {{ property.unit|safe }}
+                        {{ property.title }}: {{ property.value }} {{ property.unit|safe }}
                     </div>
                 {% endfor %}
 
                 {% if cart_item.product.is_configurable_product %}
                     {% for property in cart_item.get_properties %}
                         <div>
-                            {{ property.name }}: {{ property.value }} {{ property.unit|safe }}
+                            {{ property.title }}: {{ property.value }} {{ property.unit|safe }}
                             {% if property.is_select_field %}
                                 ({{ property.price|currency }})
                             {% endif %}