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,28 @@
<?php
/**
* 2007-2020 PrestaShop and Contributors
*
* 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.txt.
* 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.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,28 @@
<?php
/**
* 2007-2020 PrestaShop and Contributors
*
* 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.txt.
* 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.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,55 @@
{**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*}
<div
class="wishlist-add-to"
data-url="{$url}"
>
<div
class="wishlist-modal modal fade"
:class="{ldelim}show: !isHidden{rdelim}"
tabindex="-1"
role="dialog"
aria-modal="true"
>
<div class="modal-dialog modal-dialog-centered modal-dialog-scrollable" role="document">
<div class="modal-content">
<div class="modal-header">
<p class="h2 modal-title">{l s='Add to wishlist' d='Modules.Blockwishlist.Shop'}</p>
<button
type="button"
class="btn-close"
@click="toggleModal"
data-dismiss="modal"
aria-label="{l s='Close' d='Modules.Blockwishlist.Shop'}"
></button>
</div>
<div class="modal-body">
<choose-list
@hide="toggleModal"
:product-id="productId"
:product-attribute-id="productAttributeId"
:quantity="quantity"
url="{$url}"
add-url="{$addUrl}"
empty-text="{l s='No list found.' d='Modules.Blockwishlist.Shop'}"
></choose-list>
</div>
<div class="modal-footer">
<div role="button" @click="openNewWishlistModal" class="wishlist-add-to-new text-primary-emphasis">
<i class="material-icons text-primary-emphasis" aria-hidden="true">&#xE148;</i> {$newWishlistCTA}
</div>
</div>
</div>
</div>
</div>
<div
class="modal-backdrop fade"
:class="{ldelim}show: !isHidden{rdelim}"
></div>
</div>

View File

@@ -0,0 +1,69 @@
{**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*}
<div
class="wishlist-create"
data-url="{$url}"
data-title="{l s='Create wishlist' d='Modules.Blockwishlist.Shop'}"
data-label="{l s='Wishlist name' d='Modules.Blockwishlist.Shop'}"
data-placeholder="{l s='Add name' d='Modules.Blockwishlist.Shop'}"
data-cancel-text="{l s='Cancel' d='Modules.Blockwishlist.Shop'}"
data-create-text="{l s='Create wishlist' d='Modules.Blockwishlist.Shop'}"
data-length-text="{l s='List title is too short' d='Modules.Blockwishlist.Shop'}"
>
<div
class="wishlist-modal modal fade"
:class="{ldelim}show: !isHidden{rdelim}"
tabindex="-1"
role="dialog"
aria-modal="true"
>
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header px-3">
<p class="h5 modal-title">((title))</p>
<button
type="button"
class="btn-close"
@click="toggleModal"
data-dismiss="modal"
aria-label="Close"
></button>
</div>
<div class="modal-body">
<div class="form-group form-group-lg">
<label class="form-label" for="input2">((label))</label>
<input
type="text"
class="form-control form-control-lg"
v-model="value"
id="input2"
:placeholder="placeholder"
>
</div>
</div>
<div class="modal-footer">
<button
type="button"
class="modal-cancel btn btn-secondary"
data-dismiss="modal"
@click="toggleModal"
>((cancelText))</button>
<button
type="button"
class="btn btn-primary"
@click="createWishlist"
>((createText))</button>
</div>
</div>
</div>
</div>
<div
class="modal-backdrop fade"
:class="{ldelim}show: !isHidden{rdelim}"
></div>
</div>

View File

@@ -0,0 +1,65 @@
{**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*}
<div
class="wishlist-delete"
{if isset($listUrl)}
data-delete-list-url="{$listUrl}"
{/if}
{if isset($deleteProductUrl)}
data-delete-product-url="{$deleteProductUrl}"
{/if}
data-title="{l s='Remove product from wishlist' d='Modules.Blockwishlist.Shop'}"
data-title-list="{l s='Delete wishlist' d='Modules.Blockwishlist.Shop'}"
data-placeholder='{l s='The product will be removed from "%nameofthewishlist%".' d='Modules.Blockwishlist.Shop'}'
data-cancel-text="{l s='Cancel' d='Modules.Blockwishlist.Shop'}"
data-delete-text="{l s='Remove' d='Modules.Blockwishlist.Shop'}"
data-delete-text-list="{l s='Delete' d='Modules.Blockwishlist.Shop'}"
>
<div
class="wishlist-modal modal fade"
:class="{ldelim}show: !isHidden{rdelim}"
tabindex="-1"
role="dialog"
aria-modal="true"
>
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header px-3">
<p class="h5 modal-title">((modalTitle))</p>
<button
type="button"
class="btn-close"
@click="toggleModal"
data-dismiss="modal"
aria-label="Close"
></button>
</div>
<div class="modal-body" v-if="productId">
<p class="modal-text">((confirmMessage))</p>
</div>
<div class="modal-footer">
<button
type="button"
class="modal-cancel btn btn-secondary"
data-dismiss="modal"
@click="toggleModal"
>((cancelText))</button>
<button
type="button"
class="btn btn-primary"
@click="deleteWishlist"
>((modalDeleteText))</button>
</div>
</div>
</div>
</div>
<div
class="modal-backdrop fade"
:class="{ldelim}show: !isHidden{rdelim}"
></div>
</div>

View File

@@ -0,0 +1,54 @@
{**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*}
<div
class="wishlist-login"
data-login-text="{l s='Sign in' d='Modules.Blockwishlist.Shop'}"
data-cancel-text="{l s='Cancel' d='Modules.Blockwishlist.Shop'}"
>
<div
class="wishlist-modal modal fade"
:class="{ldelim}show: !isHidden{rdelim}"
tabindex="-1"
role="dialog"
aria-modal="true"
>
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header px-3">
<p class="h5 modal-title">{l s='Sign in' d='Modules.Blockwishlist.Shop'}</p>
<button
type="button"
class="btn-close"
@click="toggleModal"
data-dismiss="modal"
aria-label="Close"
></button>
</div>
<div class="modal-body">
<p class="modal-text">{l s='You need to be logged in to save products in your wishlist.' d='Modules.Blockwishlist.Shop'}</p>
</div>
<div class="modal-footer">
<button
type="button"
class="modal-cancel btn btn-secondary"
data-dismiss="modal"
@click="toggleModal"
>((cancelText))</button>
<a
class="btn btn-primary"
:href="prestashop.urls.pages.authentication"
>((loginText))</a>
</div>
</div>
</div>
</div>
<div
class="modal-backdrop fade"
:class="{ldelim}show: !isHidden{rdelim}"
></div>
</div>

View File

@@ -0,0 +1,66 @@
{**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*}
<div
class="wishlist-rename"
data-url="{$url}"
data-title="{l s='Rename wishlist' d='Modules.Blockwishlist.Shop'}"
data-label="{l s='Wishlist name' d='Modules.Blockwishlist.Shop'}"
data-placeholder="{l s='Wishlist name' d='Modules.Blockwishlist.Shop'}"
data-cancel-text="{l s='Cancel' d='Modules.Blockwishlist.Shop'}"
data-rename-text="{l s='Rename wishlist' d='Modules.Blockwishlist.Shop'}"
>
<div
class="wishlist-modal modal fade"
:class="{ldelim}show: !isHidden{rdelim}"
tabindex="-1"
role="dialog"
aria-modal="true"
>
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header px-3">
<p class="h5 modal-title">((title))</p>
<button
type="button"
class="btn-close"
@click="toggleModal"
data-dismiss="modal"
aria-label="Close"
></button>
</div>
<div class="modal-body">
<div class="form-group form-group-lg">
<label class="form-label" for="input2">((label))</label>
<input
type="text"
class="form-control form-control-lg"
v-model="value"
id="input2"
>
</div>
</div>
<div class="modal-footer">
<button
type="button"
class="modal-cancel btn btn-secondary"
data-dismiss="modal"
@click="toggleModal"
>((cancelText))</button>
<button
type="button"
class="btn btn-primary"
@click="renameWishlist"
>((renameText))</button>
</div>
</div>
</div>
</div>
<div
class="modal-backdrop fade"
:class="{ldelim}show: !isHidden{rdelim}"
></div>
</div>

View File

@@ -0,0 +1,68 @@
{**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*}
<div
class="wishlist-share"
data-url="{$url}"
data-title="{l s='Share wishlist' d='Modules.Blockwishlist.Shop'}"
data-copied-text="{l s='Copied!' d='Modules.Blockwishlist.Shop'}"
data-label="{l s='Share link' d='Modules.Blockwishlist.Shop'}"
data-cancel-text="{l s='Cancel' d='Modules.Blockwishlist.Shop'}"
data-copy-text="{l s='Copy text' d='Modules.Blockwishlist.Shop'}"
>
<div
class="wishlist-modal modal fade"
:class="{ldelim}show: !isHidden{rdelim}"
tabindex="-1"
role="dialog"
aria-modal="true"
>
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header px-3">
<p class="h5 modal-title">((title))</p>
<button
type="button"
class="btn-close"
@click="toggleModal"
data-dismiss="modal"
aria-label="Close"
></button>
</div>
<div class="modal-body">
<div class="form-group form-group-lg">
<label class="form-label" for="input2">((label))</label>
<input
type="text"
class="form-control form-control-lg"
v-model="value"
id="input2"
placeholder="Share link"
>
</div>
</div>
<div class="modal-footer">
<button
type="button"
class="modal-cancel btn btn-secondary"
data-dismiss="modal"
@click="toggleModal"
>((cancelText))</button>
<button
type="button"
class="btn btn-primary"
@click="copyLink"
>(( actionText ))</button>
</div>
</div>
</div>
</div>
<div
class="modal-backdrop fade"
:class="{ldelim}show: !isHidden{rdelim}"
></div>
</div>

View File

@@ -0,0 +1,28 @@
{**
* 2007-2020 PrestaShop and Contributors
*
* 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.txt.
* 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.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<a
class="account-menu__link {if $urls.current_url === $url} account-menu__link--active{/if}"
id="wishlist_link"
href="{$url}"
{if $urls.current_url === $url}aria-current="page"{/if}
>
<i class="account-menu__icon material-icons" aria-hidden="true">&#xE87D;</i>
{$wishlistsTitlePage}
</a>

View File

@@ -0,0 +1,28 @@
<?php
/**
* 2007-2020 PrestaShop and Contributors
*
* 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.txt.
* 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.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,28 @@
<?php
/**
* 2007-2020 PrestaShop and Contributors
*
* 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.txt.
* 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.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;