Time dependant product categories for users

This commit is contained in:
2015-01-22 17:49:32 +01:00
parent f434b53161
commit 36525849bd
24 changed files with 9981 additions and 46 deletions
@@ -1,7 +1,5 @@
each product_category in active_product_categories
.product-category-container
if orderProducts
h4 OderProducts
.product-category-container id="product-category-#{unbound product_category.id}"
if product_category.products
h4.product_category-title{action "toggleProductCategory" product_category}
if product_category.collapsed
@@ -11,5 +9,5 @@ each product_category in active_product_categories
= product_category.name
unless product_category.collapsed
ul.product_category-products
each product in product_category.products
each product in product_category.sorted_products
= menu-product product=product orderProducts=orderProducts