Commits

Kai Diefenbach committed e1e4861

lfs.search: display price with unit within live search

  • Participants
  • Parent commits d5f64f9

Comments (0)

Files changed (1)

File lfstheme/templates/lfs/search/livesearch_results.html

                 </td>
                 <td class="text">
                     <a href="{{product.get_absolute_url}}">
-                        {{product.get_name}}
+                        {{ product.get_name }} 
                     </a>
                     {% for option in product.get_options %}
                         {% if option.property.display_on_product %}
                 </td>
                 <td class="number"
                     nowrap="nowrap">
-                    {{product.get_price|currency}}
+                    {{ product.get_price|currency }}* {% if product.price_unit %}/ {{ product.price_unit }}{% endif %}
                 </td>
             </tr>
         {% endfor %}