From c255548d9bfdc97cca765b1f2624455dfeb5f367 Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Fri, 20 Sep 2013 08:45:38 +0200 Subject: [PATCH] create dedicated file for menu --- templates/default/category.html | 138 +++++------------- templates/default/includes/menu.html | 27 ++++ .../default/includes/single-product.html | 60 ++++++++ templates/default/index.html | 3 +- 4 files changed, 126 insertions(+), 102 deletions(-) create mode 100644 templates/default/includes/menu.html create mode 100644 templates/default/includes/single-product.html diff --git a/templates/default/category.html b/templates/default/category.html index c75bd2159..aa6f95c08 100644 --- a/templates/default/category.html +++ b/templates/default/category.html @@ -29,67 +29,7 @@ {loop type="product" name="product_list" category={category attr="id"}}
  • -
    - - {$product_id=$ID} - {loop name="brand.feature" type="feature" product=$ID title="brand"} - {loop name="brand.value" type="feature_value" feature=$ID product=$product_id} - - {/loop} - {/loop} - {loop name="brand.feature" type="feature" product=$ID title="isbn"} - {loop name="brand.value" type="feature_value" feature=$ID product=$product_id} - - {/loop} - {/loop} - - - -
    -

    {$TITLE}

    - -
    -

    {$DESCRIPTION}

    -
    -
    - -
    -
    - - - - - - {if $IS_PROMO } - {loop name="productSaleElements_promo" type="product_sale_elements" product=$ID limit="1" order="min_price"} - {assign var="default_product_sale_elements" value=$ID} - {intl l="Special Price:"} {format_number number=$TAXED_PROMO_PRICE} {currency attr="symbol"} - {intl l="Regular Price:"} {format_number number=$TAXED_PRICE} {currency attr="symbol"} - {/loop} - {else} - {format_number number=$BEST_TAXED_PRICE} {currency attr="symbol"} - {/if} - -
    -
    - -
    -
    -
    + {include file="includes/single-product.html" product_id=$ID}
  • {/loop} @@ -100,33 +40,7 @@