fix copy/past issue
This commit is contained in:
@@ -60,13 +60,13 @@ class TemplateHelper
|
|||||||
$tplVar = 'active-front-template';
|
$tplVar = 'active-front-template';
|
||||||
break;
|
break;
|
||||||
case TemplateDefinition::BACK_OFFICE:
|
case TemplateDefinition::BACK_OFFICE:
|
||||||
$tplVar = 'active-front-template';
|
$tplVar = 'active-admin-template';
|
||||||
break;
|
break;
|
||||||
case TemplateDefinition::PDF:
|
case TemplateDefinition::PDF:
|
||||||
$tplVar = 'active-front-template';
|
$tplVar = 'active-pdf-template';
|
||||||
break;
|
break;
|
||||||
case TemplateDefinition::EMAIL:
|
case TemplateDefinition::EMAIL:
|
||||||
$tplVar = 'active-front-template';
|
$tplVar = 'active-mail-template';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -111,15 +111,11 @@
|
|||||||
{loop name="combi_meta" type="attribute_combination" product_sale_elements="$ID"}
|
{loop name="combi_meta" type="attribute_combination" product_sale_elements="$ID"}
|
||||||
{if $LOOP_COUNT == 0}
|
{if $LOOP_COUNT == 0}
|
||||||
{if $QUANTITY == 0}
|
{if $QUANTITY == 0}
|
||||||
|
|
||||||
{assign var="current_stock_class" value = "out-of-stock"}
|
{assign var="current_stock_class" value = "out-of-stock"}
|
||||||
{assign var="current_stock_href" value = "http://schema.org/OutOfStock"}
|
{assign var="current_stock_href" value = "http://schema.org/OutOfStock"}
|
||||||
|
{else}
|
||||||
{else}
|
{assign var="current_stock_class" value = "in-stock"}
|
||||||
|
{assign var="current_stock_href" value = "http://schema.org/InStock"}
|
||||||
{assign var="current_stock_class" value = "out-of-stock"}
|
|
||||||
{assign var="current_stock_href" value = "http://schema.org/OutOfStock"}
|
|
||||||
|
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
{/loop}
|
{/loop}
|
||||||
|
|||||||
Reference in New Issue
Block a user