feat(main): Add base theme: This is the falcon theme out of the box.
This is falcon v3.1.2
This commit is contained in:
5
templates/catalog/listing/best-sales.tpl
Normal file
5
templates/catalog/listing/best-sales.tpl
Normal file
@ -0,0 +1,5 @@
|
||||
{*
|
||||
* This file allows you to customize your best-sales page.
|
||||
* You can safely remove it if you want it to appear exactly like all other product listing pages
|
||||
*}
|
||||
{extends file='catalog/listing/product-list.tpl'}
|
||||
33
templates/catalog/listing/category.tpl
Normal file
33
templates/catalog/listing/category.tpl
Normal file
@ -0,0 +1,33 @@
|
||||
{**
|
||||
* 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 license@prestashop.com 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 <contact@prestashop.com>
|
||||
* @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='catalog/listing/product-list.tpl'}
|
||||
|
||||
{block name='product_list_header'}
|
||||
{include file='catalog/_partials/category-header.tpl' listing=$listing category=$category}
|
||||
{/block}
|
||||
|
||||
{block name='product_list_footer'}
|
||||
{include file='catalog/_partials/category-footer.tpl' listing=$listing category=$category}
|
||||
{/block}
|
||||
31
templates/catalog/listing/manufacturer.tpl
Normal file
31
templates/catalog/listing/manufacturer.tpl
Normal file
@ -0,0 +1,31 @@
|
||||
{**
|
||||
* 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 license@prestashop.com 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 <contact@prestashop.com>
|
||||
* @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='catalog/listing/product-list.tpl'}
|
||||
|
||||
{block name='product_list_header'}
|
||||
<h1>{l s='List of products by brand %brand_name%' sprintf=['%brand_name%' => $manufacturer.name] d='Shop.Theme.Catalog'}</h1>
|
||||
<div id="manufacturer-short_description" class="cms-content">{$manufacturer.short_description nofilter}</div>
|
||||
<div id="manufacturer-description" class="cms-content">{$manufacturer.description nofilter}</div>
|
||||
{/block}
|
||||
5
templates/catalog/listing/new-products.tpl
Normal file
5
templates/catalog/listing/new-products.tpl
Normal file
@ -0,0 +1,5 @@
|
||||
{*
|
||||
* This file allows you to customize your new-product page.
|
||||
* You can safely remove it if you want it to appear exactly like all other product listing pages
|
||||
*}
|
||||
{extends file='catalog/listing/product-list.tpl'}
|
||||
5
templates/catalog/listing/prices-drop.tpl
Normal file
5
templates/catalog/listing/prices-drop.tpl
Normal file
@ -0,0 +1,5 @@
|
||||
{*
|
||||
* This file allows you to customize your price-drop page.
|
||||
* You can safely remove it if you want it to appear exactly like all other product listing pages
|
||||
*}
|
||||
{extends file='catalog/listing/product-list.tpl'}
|
||||
96
templates/catalog/listing/product-list.tpl
Normal file
96
templates/catalog/listing/product-list.tpl
Normal file
@ -0,0 +1,96 @@
|
||||
{**
|
||||
* 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 license@prestashop.com 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 <contact@prestashop.com>
|
||||
* @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=$layout}
|
||||
|
||||
{block name='hook_header' append}
|
||||
{hook h='displayListingStructuredData' listing=$listing}
|
||||
{/block}
|
||||
|
||||
{block name='content'}
|
||||
<section id="main">
|
||||
|
||||
{block name='product_list_header'}
|
||||
<h1 id="js-product-list-header" class="h2">{$listing.label}</h1>
|
||||
{/block}
|
||||
|
||||
{block name='subcategory_list'}
|
||||
{*
|
||||
SUBCATEGORIES DISABLED
|
||||
{if isset($subcategories) && $subcategories|@count > 0}
|
||||
{include file='catalog/_partials/subcategories.tpl' subcategories=$subcategories}
|
||||
{/if} *}
|
||||
{/block}
|
||||
|
||||
{hook h="displayHeaderCategory"}
|
||||
|
||||
<section id="products">
|
||||
{if $listing.products|count}
|
||||
|
||||
<div>
|
||||
{block name='product_list_top'}
|
||||
{include file='catalog/_partials/products-top.tpl' listing=$listing}
|
||||
{/block}
|
||||
</div>
|
||||
|
||||
{block name='product_list_active_filters'}
|
||||
<div id="" class="hidden-sm-down">
|
||||
{$listing.rendered_active_filters nofilter}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
<div>
|
||||
{block name='product_list'}
|
||||
{include file='catalog/_partials/products.tpl' listing=$listing}
|
||||
{/block}
|
||||
</div>
|
||||
|
||||
{block name='product_list_bottom'}
|
||||
{include file='catalog/_partials/products-bottom.tpl' listing=$listing}
|
||||
{/block}
|
||||
|
||||
{else}
|
||||
<div id="js-product-list-top"></div>
|
||||
|
||||
<div id="js-product-list">
|
||||
{capture assign="errorContent"}
|
||||
<h4>{l s='No products available yet' 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}
|
||||
|
||||
{include file='errors/not-found.tpl' errorContent=$errorContent}
|
||||
</div>
|
||||
|
||||
{block name='product_list_bottom'}
|
||||
{include file='catalog/_partials/products-bottom.tpl' listing=$listing}
|
||||
{/block}
|
||||
{/if}
|
||||
</section>
|
||||
|
||||
{block name='product_list_footer'}{/block}
|
||||
|
||||
{hook h="displayFooterCategory"}
|
||||
|
||||
</section>
|
||||
{/block}
|
||||
10
templates/catalog/listing/search.tpl
Normal file
10
templates/catalog/listing/search.tpl
Normal file
@ -0,0 +1,10 @@
|
||||
{*
|
||||
* This file allows you to customize your search page.
|
||||
* You can safely remove it if you want it to appear exactly like all other product listing pages
|
||||
*}
|
||||
{extends file='catalog/listing/product-list.tpl'}
|
||||
|
||||
{block name="error_content"}
|
||||
<h4 id="product-search-no-matches">{l s='No matches were found for your search' d='Shop.Theme.Catalog'}</h4>
|
||||
<p>{l s='Please try other keywords to describe what you are looking for.' d='Shop.Theme.Catalog'}</p>
|
||||
{/block}
|
||||
30
templates/catalog/listing/supplier.tpl
Normal file
30
templates/catalog/listing/supplier.tpl
Normal file
@ -0,0 +1,30 @@
|
||||
{**
|
||||
* 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 license@prestashop.com 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 <contact@prestashop.com>
|
||||
* @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='catalog/listing/product-list.tpl'}
|
||||
|
||||
{block name='product_list_header'}
|
||||
<h1>{l s='List of products by supplier %s' sprintf=[$supplier.name] d='Shop.Theme.Catalog'}</h1>
|
||||
<div id="supplier-description">{$supplier.description nofilter}</div>
|
||||
{/block}
|
||||
Reference in New Issue
Block a user