Skip to content

Commit

Permalink
Merge pull request #62 from kpodemski/fix/missing-410-template
Browse files Browse the repository at this point in the history
Bring back lost 410.tpl
  • Loading branch information
jolelievre authored Oct 13, 2022
2 parents 82a9535 + 81cb1f2 commit 4c30122
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions templates/errors/410.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA and Contributors <[email protected]>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
*}
{extends file='page.tpl'}

{block name="breadcrumb"}{/block}

{block name='page_title'}
{$page.title}
{/block}

{capture assign="errorContent"}
<h4>{l s='No products available' d='Shop.Theme.Catalog'}</h4>
<p>{l s='Stay tuned! More products will be shown here as they are added.' d='Shop.Theme.Catalog'}</p>
{/capture}

{block name='page_content_container'}
{include file='errors/not-found.tpl' errorContent=$errorContent}
{/block}

0 comments on commit 4c30122

Please sign in to comment.