Commits

Kai Diefenbach  committed 21e163d

Fixed display of properties for configurable products.

  • Participants
  • Parent commits 1febdaf

Comments (0)

Files changed (3)

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

                 {% endfor %}
 
                 {% if cart_item.product.is_configurable_product %}
-                    {% for property in cart_item.get_properties %}
+                    {% for property in cart_item.obj.get_properties %}
                         <div>
                             {{ property.title }}: {{ property.value }} {{ property.unit|safe }}
                             {% if property.display_price %}

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

                         {% endfor %}
 
                         {% if cart_item.product.is_configurable_product %}
-                            {% for property in cart_item.get_properties %}
+                            {% for property in cart_item.obj.get_properties %}
                                 <div>
                                     {{ property.title }}: {{ property.value }} {{ property.unit|safe }}
                                     {% if property.display_price %}

File lfstheme/templates/lfs/checkout/checkout_cart_inline.html

                 {% endfor %}
 
                 {% if cart_item.product.is_configurable_product %}
-                    {% for property in cart_item.get_properties %}
+                    {% for property in cart_item.obj.get_properties %}
                         <div>
                             {{ property.title }}: {{ property.value }} {{ property.unit|safe }}
                             {% if property.display_price %}