fix getCategoryLink with no argument in blockcart
This commit is contained in:
parent
dad5915429
commit
3882a42da1
@ -216,11 +216,13 @@
|
||||
{l s='Proceed to checkout' mod='blockcart'}
|
||||
</span>
|
||||
</a>
|
||||
<a id="back_to_category" href="{$link->getCategoryLink()|escape:'htmlall':'UTF-8'}" class="continue button-grey left" >
|
||||
{if isset($product)}
|
||||
<a id="back_to_category" href="{$link->getCategoryLink($product.id_category_default)|escape:'htmlall':'UTF-8'}" class="continue button-grey left" >
|
||||
<span>
|
||||
{l s='Continue shopping' mod='blockcart'}
|
||||
</span>
|
||||
</a>
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
|
Loading…
Reference in New Issue
Block a user