Skip to content

Commit

Permalink
Add 'Back to Home page' button on not-found page, fixes #554
Browse files Browse the repository at this point in the history
  • Loading branch information
tswfi committed Dec 20, 2023
1 parent 6fe6641 commit fc229a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/errors/not-found.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
{block name="error_content"}
{if isset($errorContent)}
{$errorContent nofilter}
<a href="{$urls.pages.index}" class="btn btn-primary back-to-index">
{l s='Back to Home page' d='Shop.Theme.Catalog'}
<i class="material-icons rtl-flip" aria-hidden="true">&#xE315;</i>
</a>
{else}
<h1 class="h4">{l s='The page you are looking for is no longer available' d='Shop.Theme.Catalog'}</h1>
<p>{l s='It can not be reached anymore. Can we still attract you into our shop?' d='Shop.Theme.Catalog'}</p>
Expand Down

0 comments on commit fc229a1

Please sign in to comment.