Skip to content

Commit

Permalink
Merge pull request #571 from tswfi/back_to_index_btn_on_not_found_page
Browse files Browse the repository at this point in the history
  • Loading branch information
boherm authored Jan 4, 2024
2 parents 5bf760d + fc229a1 commit 562f517
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 562f517

Please sign in to comment.