fix copy/past issue

This commit is contained in:
Manuel Raynaud
2014-06-05 17:13:36 +02:00
parent a4e28e5561
commit 83ed4aa833
2 changed files with 6 additions and 10 deletions

View File

@@ -60,13 +60,13 @@ class TemplateHelper
$tplVar = 'active-front-template';
break;
case TemplateDefinition::BACK_OFFICE:
$tplVar = 'active-front-template';
$tplVar = 'active-admin-template';
break;
case TemplateDefinition::PDF:
$tplVar = 'active-front-template';
$tplVar = 'active-pdf-template';
break;
case TemplateDefinition::EMAIL:
$tplVar = 'active-front-template';
$tplVar = 'active-mail-template';
break;
}

View File

@@ -111,15 +111,11 @@
{loop name="combi_meta" type="attribute_combination" product_sale_elements="$ID"}
{if $LOOP_COUNT == 0}
{if $QUANTITY == 0}
{assign var="current_stock_class" value = "out-of-stock"}
{assign var="current_stock_href" value = "http://schema.org/OutOfStock"}
{else}
{assign var="current_stock_class" value = "out-of-stock"}
{assign var="current_stock_href" value = "http://schema.org/OutOfStock"}
{else}
{assign var="current_stock_class" value = "in-stock"}
{assign var="current_stock_href" value = "http://schema.org/InStock"}
{/if}
{/if}
{/loop}