Subida del módulo y tema de PrestaShop

This commit is contained in:
Kaloyan
2026-04-09 18:31:51 +02:00
parent 12c253296f
commit 16b3ff9424
39262 changed files with 7418797 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
{**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*}
{block name='sitemap_item'}
<ul class="sitemap__list{if !empty($is_nested)} sitemap__list--nested{/if}">
{foreach $links as $link}
<li class="sitemap__item">
<a class="sitemap__link"
id="{$link.id}" href="{$link.url}" title="{$link.label}">
{$link.label}
</a>
{if !empty($link.children)}
{include file='cms/_partials/sitemap-nested-list.tpl' links=$link.children is_nested=true}
{/if}
</li>
{/foreach}
</ul>
{/block}

View File

@@ -0,0 +1,48 @@
{**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*}
{extends file='page.tpl'}
{block name='page_title'}
{$cms_category.name}
{/block}
{block name='page_content'}
{block name='cms_sub_categories'}
{if $sub_categories}
<p>
{l s='List of sub categories in %name%:' d='Shop.Theme.Global' sprintf=['%name%' => $cms_category.name]}
</p>
<ul>
{foreach from=$sub_categories item=sub_category}
<li>
<a href="{$sub_category.link}">
{$sub_category.name}
</a>
</li>
{/foreach}
</ul>
{/if}
{/block}
{block name='cms_sub_pages'}
{if $cms_pages}
<p>
{l s='List of pages in %category_name%:' d='Shop.Theme.Global' sprintf=['%category_name%' => $cms_category.name]}
</p>
<ul>
{foreach from=$cms_pages item=cms_page}
<li>
<a href="{$cms_page.link}">
{$cms_page.meta_title}
</a>
</li>
{/foreach}
</ul>
{/if}
{/block}
{/block}

View File

@@ -0,0 +1,26 @@
{**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*}
{extends file='page.tpl'}
{block name='page_title'}
{$cms.meta_title}
{/block}
{block name='page_content_container'}
<section id="content" class="page-content page-content--cms rich-text js-page-content-cms">
{block name='cms_content'}
{$cms.content nofilter}
{/block}
{block name='hook_cms_dispute_information'}
{hook h='displayCMSDisputeInformation'}
{/block}
{block name='hook_cms_print_button'}
{hook h='displayCMSPrintButton'}
{/block}
</section>
{/block}

View File

@@ -0,0 +1,26 @@
{**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*}
{extends file='page.tpl'}
{block name='page_title'}
{l s='Sitemap' d='Shop.Theme.Global'}
{/block}
{block name='page_content'}
<div class="row sitemap">
{foreach $sitemapUrls as $group}
<div class="sitemap__block col-md-6 col-lg-3">
<h2>
{$group.name}
</h2>
{include file='cms/_partials/sitemap-nested-list.tpl' links=$group.links}
<hr class="d-block d-md-none">
</div>
{/foreach}
</div>
{/block}

View File

@@ -0,0 +1,130 @@
{**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*}
{extends file='page.tpl'}
{block name='page_title'}
{l s='Our stores' d='Shop.Theme.Global'}
{/block}
{block name='page_content_container'}
<section id="content" class="page-content page-content--stores">
{block name='page_content'}
<div class="store__list">
{foreach $stores as $store}
<article id="store-{$store.id}" class="store">
<div class="store__image">
<picture>
{if isset($store.image.bySize.stores_default.sources.avif)}
<source
srcset="{$store.image.bySize.stores_default.sources.avif}"
type="image/avif"
>
{/if}
{if isset($store.image.bySize.stores_default.sources.webp)}
<source
srcset="{$store.image.bySize.stores_default.sources.webp}"
type="image/webp"
>
{/if}
<img
class="store__img img-fluid"
srcset="{$store.image.bySize.stores_default.url}"
loading="lazy"
width="{$store.image.bySize.stores_default.width}"
height="{$store.image.bySize.stores_default.height}"
{if !empty($store.image.legend)}
alt="{$store.image.legend}"
title="{$store.image.legend}"
{else}
alt="{$store.name}"
{/if}
>
</picture>
</div>
<div class="store__informations">
<p class="store__name">{$store.name}</p>
<address class="store__address">
{$store.address.formatted nofilter}
</address>
<div class="accordion accordion--small mt-2">
{if $store.note || $store.phone || $store.fax || $store.email}
<div class="accordion-item">
<div class="accordion-header">
<a class="store__toggle accordion-button collapsed" data-bs-toggle="collapse" href="#about-{$store.id}" aria-expanded="false" aria-controls="about-{$store.id}">
{l s='About and Contact' d='Shop.Theme.Global'}
</a>
</div>
<div class="store__additional-infos accordion-collapse collapse" id="about-{$store.id}">
<div class="accordion-body pb-2">
{if $store.note}
<p class="store__note">{$store.note}</p>
{/if}
<ul class="store__contacts">
{if $store.phone}
<li class="store__contact">
<i class="material-icons" aria-hidden="true">&#xE0B0;</i>{$store.phone}
</li>
{/if}
{if $store.fax}
<li class="store__contact">
<i class="material-icons" aria-hidden="true">&#xE8AD;</i>{$store.fax}
</li>
{/if}
{if $store.email}
<li class="store__contact store__contact--email">
<i class="material-icons" aria-hidden="true">&#xE0BE;</i>{$store.email}
</li>
{/if}
</ul>
</div>
</div>
</div>
{/if}
<div class="accordion-item border-0">
<div class="accordion-header">
<button class="store__toggle accordion-button collapsed" data-bs-toggle="collapse" data-bs-target="#table-{$store.id}" aria-label="{l s='View schedules for %store_name%' sprintf=['%store_name%' => $store.name] d='Shop.Theme.Global'}">
{l s='View schedules' d='Shop.Theme.Global'}
</button>
</div>
<div id="table-{$store.id}" class="accordion-collapse collapse">
<div class="accordion-body pb-2">
<table class="store__opening-times table-sm">
{foreach $store.business_hours as $day}
<tr>
<th>
{$day.day}
</th>
<td>
{foreach $day.hours as $hour}
{$hour}
{/foreach}
</td>
</tr>
{/foreach}
</table>
</div>
</div>
</div>
</div>
</div>
</article>
{/foreach}
</div>
{/block}
</section>
{/block}