fix copy/past issue
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user