feat(extra-features): New translations & noindex
-Added new translations for shortened tax for NL -Made head.tpl noindex by default, you need to remove this before going live
This commit is contained in:
@@ -36,9 +36,11 @@
|
||||
{/block}
|
||||
<meta name="description" content="{block name='head_seo_description'}{$page.meta.description}{/block}">
|
||||
<meta name="keywords" content="{block name='head_seo_keywords'}{$page.meta.keywords}{/block}">
|
||||
{if $page.meta.robots !== 'index'}
|
||||
{* {if $page.meta.robots !== 'index'}
|
||||
<meta name="robots" content="{$page.meta.robots}">
|
||||
{/if}
|
||||
{/if} *}
|
||||
<meta name="robots" content="noindex">
|
||||
|
||||
{if $page.canonical}
|
||||
<link rel="canonical" href="{$page.canonical}">
|
||||
{/if}
|
||||
|
||||
@@ -87,11 +87,19 @@
|
||||
{hook h='displayProductPriceBlock' product=$product type="weight" hook_origin='product_sheet'}
|
||||
|
||||
<div class="tax-shipping-delivery-label">
|
||||
{if !$configuration.taxes_enabled}
|
||||
{l s='No tax' d='Shop.Theme.Catalog'}
|
||||
{elseif $configuration.display_taxes_label}
|
||||
{$product.labels.tax_long}
|
||||
{/if}
|
||||
{if !$configuration.taxes_enabled}
|
||||
{l s='No tax' d='Shop.Theme.Catalog'}
|
||||
{elseif $configuration.display_taxes_label}
|
||||
{if $language.locale = "nl-NL"}
|
||||
{if $product.labels.tax_short == '(tax incl.)'}
|
||||
{l s='incl. BTW' d='Shop.Theme.Global'}
|
||||
{else}
|
||||
{l s='Excl. BTW' d='Shop.Theme.Global'}
|
||||
{/if}
|
||||
{else}
|
||||
{$product.labels.tax_long}
|
||||
{/if}
|
||||
{/if}
|
||||
{hook h='displayProductPriceBlock' product=$product type="price"}
|
||||
{hook h='displayProductPriceBlock' product=$product type="after_price"}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user