From d7afc641d701ed92a80695a9e3e6d7b5c90a23d4 Mon Sep 17 00:00:00 2001 From: badsuricate Date: Mon, 21 Oct 2013 12:49:14 +0200 Subject: [PATCH] SHow production information on products table --- templates/default/order-invoice.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/templates/default/order-invoice.html b/templates/default/order-invoice.html index 1037f0fe3..f14946835 100644 --- a/templates/default/order-invoice.html +++ b/templates/default/order-invoice.html @@ -92,15 +92,17 @@
{intl l="Available"} :
-
{intl l="In Stock"}
+ {if $STOCK > 0} +
{intl l="In Stock"}
+ {else} +
{intl l="Out of Stock"}
+ {/if}
{intl l="No."}
{$REF}
- {*
Select Size
-
Large
-
Select Delivery Date
-
Jan 2, 2013
-
Additional Option
-
Option 1
*} + {loop type="attribute_combination" name="product_options" product_sale_elements="$PRODUCT_SALE_ELEMENTS_ID"} +
{$ATTRIBUTE_TITLE}
+
{$ATTRIBUTE_AVAILABILITY_TITLE}
+ {/loop}