Initial commit

This commit is contained in:
2020-10-07 10:37:15 +02:00
commit ce5f440392
28157 changed files with 4429172 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
{*
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if $list_total > 0}
<div class="btn-group bulk-actions pull-right">
<button class="btn btn-primary" name="submitProcessColissimoSelection">
<i class="process-icon- icon-arrow-circle-o-right"></i>
{l s='Configure these shipments' mod='colissimo'}
</button>
</div>
{/if}
{block name="after"}
{literal}
<script type="text/javascript">
var loaderPath = {/literal}'{$data.img_path|escape:'html':'UTF-8'}loading.svg'{literal};
var addressErrorMessage = "{/literal}{l s='Address could not be saved.' mod='colissimo'}{literal}";
var genericErrorMessage = "{/literal}{l s='An error occured. Please try again.' mod='colissimo'}{literal}";
</script>
{/literal}
{/block}

View File

@@ -0,0 +1,33 @@
{*
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{block name="after"}
{literal}
<script type="text/javascript">
var loaderPath = {/literal}'{$data.img_path|escape:'html':'UTF-8'}loading.svg'{literal};
var genericErrorMessage = "{/literal}{l s='An error occurred while displaying order details.' mod='colissimo'}{literal}";
</script>
{/literal}
{/block}

View File

@@ -0,0 +1,62 @@
{*
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="row">
<div class="col-md-12">
<p class="subtitle">{l s='Please fill in the customs information of your product' mod='colissimo'}</p>
<div class="row">
<div class="form-group col-md-4">
<label class="form-control-label">{l s='Hs code' mod='colissimo'}</label>
<input name="hs_code"
type="text"
class="form-control"
value="{$product_details->hs_code|escape:'html':'UTF-8'}"/>
</div>
</div>
<div class="row">
<div class="form-group col-md-4">
<label class="form-control-label">{l s='Country origin' mod='colissimo'}</label>
<select class="form-control" name="country_origin">
<option value="0">{l s='-- Please select a country --' mod='colissimo'}</option>
{foreach $countries as $country}
<option value="{$country['id_country']|intval}"
{if $product_details->id_country_origin == $country['id_country']}selected{/if}>
{$country['name']|escape:'html':'UTF-8'}
</option>
{/foreach}
</select>
</div>
</div>
<div class="row">
<div class="form-group col-md-4">
<label class="form-control-label">{l s='Short description' mod='colissimo'}</label>
<input name="short_desc"
class="form-control"
maxLenght="64"
value="{$product_details->short_desc|escape:'html':'UTF-8'}"/>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,72 @@
{*
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="panel product-tab">
<div class="row">
<div class="col-md-12">
<p class="subtitle">{l s='Please fill in the customs information of your product' mod='colissimo'}</p>
<div class="row">
<div class="form-group col-md-4">
<label class="form-control-label">{l s='Hs code' mod='colissimo'}</label>
<input name="hs_code"
type="text"
class="form-control"
value="{$product_details->hs_code|escape:'html':'UTF-8'}"/>
</div>
</div>
<div class="row">
<div class="form-group col-md-4">
<label class="form-control-label">{l s='Country origin' mod='colissimo'}</label>
<select class="form-control" name="country_origin">
<option value="0">{l s='-- Please select a country --' mod='colissimo'}</option>
{foreach $countries as $country}
<option value="{$country['id_country']|intval}"
{if $product_details->id_country_origin == $country['id_country']}selected{/if}>
{$country['name']|escape:'html':'UTF-8'}
</option>
{/foreach}
</select>
</div>
</div>
<div class="row">
<div class="form-group col-md-4">
<label class="form-control-label">{l s='Short description' mod='colissimo'}</label>
<input name="short_desc"
class="form-control"
maxLenght="64"
value="{$product_details->short_desc|escape:'html':'UTF-8'}"/>
</div>
</div>
</div>
</div>
<div class="panel-footer">
<a href="{$link->getAdminLink('AdminProducts')|escape:'html':'UTF-8'}"
class="btn btn-default"><i class="process-icon-cancel"></i> {l s='Cancel' mod='colissimo'}</a>
<button type="submit" name="submitAddproduct" class="btn btn-default pull-right">
<i class="process-icon-save"></i> {l s='Save' mod='colissimo'}</button>
<button type="submit" name="submitAddproductAndStay" class="btn btn-default pull-right">
<i class="process-icon-save"></i> {l s='Save and stay' mod='colissimo'}</button>
</div>
</div>

View File

@@ -0,0 +1,34 @@
{*
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="border-top colissimo-hook-admin-order">
<div class="panel">
<div class="panel-heading">
Colissimo v{$data.module_version|escape:'htmlall':'UTF-8'}
</div>
<img class="logo" src="{$data.img_path|escape:'htmlall':'UTF-8'}Colissimo_Logo_H.png" />
{$order_resume_content_html}
</div>
</div>

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (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,35 @@
<?php
/**
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (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,35 @@
<?php
/**
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (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,82 @@
{*
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if isset($colissimo_pickup_point_error)}
<div class="alert alert-danger">
{$colissimo_pickup_point_error|escape:'htmlall':'UTF-8'}
</div>
{else}
{if isset($colissimo_pickup_point) && $colissimo_pickup_point->id}
<article id="colissimo-pickup-point-address-selected" class="colissimo-16">
<input type="hidden" name="id_colissimo_pickup_point" value="{$colissimo_pickup_point->id|intval}"/>
<header>
<span class="h4">{l s='Selected pickup-point address' mod='colissimo'}</span>
<br/>
<a id="colissimo-select-pickup-point" class="colissimo-edit-point">
{l s='(Choose another pickup point)' mod='colissimo'}
</a>
<div class="colissimo-pickup-point-address">
{$colissimo_pickup_point->company_name|escape:'htmlall':'UTF-8'}<br>
{$colissimo_pickup_point->address1|escape:'htmlall':'UTF-8'}<br>
{if $colissimo_pickup_point->address2}{$colissimo_pickup_point->address2|escape:'htmlall':'UTF-8'}<br>{/if}
{if $colissimo_pickup_point->address3}{$colissimo_pickup_point->address3|escape:'htmlall':'UTF-8'}<br>{/if}
{$colissimo_pickup_point->zipcode|escape:'htmlall':'UTF-8'} {$colissimo_pickup_point->city|escape:'htmlall':'UTF-8'}
<br>
{$colissimo_pickup_point->country|escape:'htmlall':'UTF-8'}<br>
<p class="colissimo-pickup-point-phone">
<i class="icon icon-mobile-phone"></i>
<span>
{l s='Please confirm your mobile phone number.' mod='colissimo'}<br>
{l s='You will receive text notifications about the delivery progress.' mod='colissimo'}
</span>
</p>
<input type="tel"
class="fixed-width-md colissimo-pickup-mobile-phone"
id="colissimo-pickup-mobile-phone"
value="{$mobile_phone|escape:'htmlall':'UTF-8'}"
name="colissimo_pickup_mobile_phone[main]"/>
<img src="{$colissimo_img_path|escape:'html':'UTF-8'}icons/icon_valid.png"
class="colissimo-mobile-valid js-colissimo-mobile-valid"/>
<img src="{$colissimo_img_path|escape:'html':'UTF-8'}icons/icon_invalid.png"
class="colissimo-mobile-invalid js-colissimo-mobile-invalid"/>
<input type="hidden" class="js-colissimo-is-mobile-valid" name="colissimo_is_mobile_valid" value=""/>
{if $need_mobile_validation}
<button type="button" class="btn btn-sm btn-primary" id="colissimo-opc-phone-validation">
<i class="icon icon-check"></i>
{l s='Confirm' mod='colissimo'}
</button>
{/if}
<p class="js-colissimo-mobile-validation"></p>
</div>
</header>
</article>
{else}
<button type="button" class="btn btn-primary" id="colissimo-select-pickup-point" name="colissimoSelectPickupPoint"
value="1">
<i class="icon icon-map-marker"></i>
{l s='Select a pickup point' mod='colissimo'}
</button>
{/if}
{/if}

View File

@@ -0,0 +1,84 @@
{*
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<style>
.couleur1 {
color: {$widget_color_1|escape:'htmlall':'UTF-8'} !important;
}
.couleur2 {
color: {$widget_color_2|escape:'htmlall':'UTF-8'} !important;
}
.police {
font-family: "{$widget_police|escape:'htmlall':'UTF-8'}", sans-serif !important;
}
</style>
<script type="text/javascript">
var colissimoAjaxWidget = baseDir;
var colissimoToken = '{$colissimo_widget_token|escape:'htmlall':'UTF-8'}';
var colissimoPreparationTime = {$preparation_time|intval};
var widgetLang = "{$colissimo_widget_lang|escape:'htmlall':'UTF-8'}";
var colissimoDeliveryAddress = {
address: "{$delivery_addr.address|strip_tags|addslashes}",
zipcode: "{$delivery_addr.zipcode|escape:'htmlall':'UTF-8'}",
city: "{$delivery_addr.city|strip_tags|addslashes}",
isoCountry: "{$delivery_addr.iso_country|escape:'htmlall':'UTF-8'}"
};
$(document).on('change', 'input.delivery_option_radio', function(){
$('.colissimo-pickup-point-address').css('display','none');
});
$(document).ready(function(){
var delivery_option_checked = $('input.delivery_option_radio:checked');
var delivery_option = delivery_option_checked.closest('.delivery_option');
if ($('.colissimo-pickup-point-address').length > 0) {
var colissimo_widget = $(".pickup-point").html();
$(".pickup-point").empty();
$(colissimo_widget).insertAfter(delivery_option);
}
if (!jQuery('body > .colissimo-front-widget').length) {
jQuery('.colissimo-front-widget').appendTo('body');
} else {
jQuery('.hook_extracarrier > .colissimo-front-widget').remove();
}
initMobileField();
});
</script>
<div class="colissimo-front-widget modal fade">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-body">
<div id="colissimo-widget-container"></div>
</div>
</div>
</div>
</div>
<div class="pickup-point">
<div id="colissimo-widget" class="colissimo-pickup-point-address">
{include file="./_partials/pickup-point-address.tpl"}
</div>
</div>

View File

@@ -0,0 +1,31 @@
{*
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<li>
<a href="{$link->getModuleLink('colissimo', 'return', [])|escape:'htmlall':'UTF-8'}" title="{l s='Colissimo returns' mod='colissimo'}">
<i class="icon-truck"></i>
<span>{l s='Colissimo returns' mod='colissimo'}</span>
</a>
</li>

View File

@@ -0,0 +1,36 @@
{*
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<section id="colissimo-order-detail-pna" class="box">
<h3 class="page-subheading">
<img src="{$data.img_path|escape:'htmlall':'UTF-8'}logo_cube.png" />
{l s='Tracking of your colissimo shipment(s)' mod='colissimo'}
</h3>
<p>
{l s='Use' mod='colissimo'}
<a href="{$data.pna_url|escape:'htmlall':'UTF-8'}">{l s='this link' mod='colissimo'}</a>
{l s='to track all shipments associated to this order' mod='colissimo'}
</p>
</section>

View File

@@ -0,0 +1,45 @@
{*
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if $show_info}
<div class="colissimo-hook-payment hidden">
<p class="warning">
{l s='Please select a Pickup point and validate your mobile number or choose another shipping option.' mod='colissimo'}
</p>
</div>
{/if}
{literal}
<script type="text/javascript">
$(document).ready(function () {
$('#HOOK_PAYMENT').show();
{/literal}{if $show_info}{literal}
if ($('#cgv').prop('checked') === true) {
$('#HOOK_PAYMENT').hide();
$('.colissimo-hook-payment').removeClass('hidden');
}
{/literal}{/if}{literal}
});
</script>
{/literal}

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (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,35 @@
<?php
/**
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (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,72 @@
{*
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{if isset($colissimo_pickup_point_error)}
<div class="alert alert-danger">
{$colissimo_pickup_point_error}
</div>
{else}
{if isset($colissimo_pickup_point) && $colissimo_pickup_point->id}
<article id="colissimo-pickup-point-address-selected">
<input type="hidden" name="id_colissimo_pickup_point" value="{$colissimo_pickup_point->id}"/>
<header>
<span class="h4">{l s='Selected pickup-point address' mod='colissimo'}</span>
<br/>
<a id="colissimo-select-pickup-point" class="colissimo-edit-point">
{l s='(Choose another pickup point)' mod='colissimo'}
</a>
<div class="colissimo-pickup-point-address">
{$colissimo_pickup_point->company_name}<br>
{$colissimo_pickup_point->address1}<br>
{if $colissimo_pickup_point->address2}{$colissimo_pickup_point->address2}<br>{/if}
{if $colissimo_pickup_point->address3}{$colissimo_pickup_point->address3}<br>{/if}
{$colissimo_pickup_point->zipcode} {$colissimo_pickup_point->city}<br>
{$colissimo_pickup_point->country}<br>
<p class="colissimo-pickup-point-phone">
<span>
{l s='Please confirm your mobile phone number.' mod='colissimo'}<br>
{l s='You will receive text notifications about the delivery progress.' mod='colissimo'}
</span>
</p>
<input type="tel"
class="fixed-width-md colissimo-pickup-mobile-phone"
id="colissimo-pickup-mobile-phone"
value="{$mobile_phone}"
name="colissimo_pickup_mobile_phone[main]"/>
<img src="{$colissimo_img_path}icons/icon_valid.png"
class="colissimo-mobile-valid js-colissimo-mobile-valid"/>
<img src="{$colissimo_img_path}icons/icon_invalid.png"
class="colissimo-mobile-invalid js-colissimo-mobile-invalid"/>
<input type="hidden" class="js-colissimo-is-mobile-valid" name="colissimo_is_mobile_valid" value=""/>
</div>
</header>
</article>
{else}
<button type="button" class="btn btn-primary" id="colissimo-select-pickup-point" name="colissimoSelectPickupPoint"
value="1">
{l s='Select a pickup point' mod='colissimo'}
</button>
{/if}
{/if}

View File

@@ -0,0 +1,71 @@
{*
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<style>
.couleur1 {
color: {$widget_color_1}!important;
}
.couleur2 {
color: {$widget_color_2}!important;
}
.police {
font-family: "{$widget_police}", sans-serif!important;
}
</style>
<script type="text/javascript">
var colissimo17 = 1;
var colissimoAjaxWidget = prestashop.urls.base_url;
var colissimoToken = '{$colissimo_widget_token}';
var colissimoPreparationTime = {$preparation_time};
var widgetLang = "{$colissimo_widget_lang}";
var colissimoDeliveryAddress = {
address: '{$delivery_addr.address|strip_tags|addslashes nofilter}',
zipcode: '{$delivery_addr.zipcode}',
city: '{$delivery_addr.city|strip_tags|addslashes nofilter}',
isoCountry: '{$delivery_addr.iso_country}'
};
var mobilePhone = "{$mobile_phone}";
</script>
<div class="colissimo-front-widget colissimo-front-widget-17 modal fade" style="display:none;">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="{l s='Close' mod='colissimo'}">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title h6">{l s='Pickup point selection' mod='colissimo'}</h4>
</div>
<div class="modal-body">
<div id="colissimo-widget-container"></div>
</div>
</div>
</div>
</div>
<div class="colissimo-pickup-point-address">
{include file="./_partials/pickup-point-address.tpl"}
</div>

View File

@@ -0,0 +1,31 @@
{*
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<a class="col-lg-4 col-md-6 col-sm-6 col-xs-12" id="colissimo-returns" title="{l s='Colissimo returns' mod='colissimo'}" href="{$link->getModuleLink('colissimo', 'return', [])}">
<span class="link-item">
<i class="material-icons">local_shipping</i>
{l s='Colissimo returns' mod='colissimo'}
</span>
</a>

View File

@@ -0,0 +1,36 @@
{*
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<section id="colissimo-order-detail-pna" class="box">
<h3>
<img src="{$data.img_path}logo_cube.png" />
{l s='Tracking of your colissimo shipment(s)' mod='colissimo'}
</h3>
<p>
{l s='Use' mod='colissimo'}
<a href="{$data.pna_url}">{l s='this link' mod='colissimo'}</a>
{l s='to track all shipments associated to this order' mod='colissimo'}
</p>
</section>

View File

@@ -0,0 +1,35 @@
<?php
/**
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (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,35 @@
<?php
/**
* 2007-2020 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (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:
* http://opensource.org/licenses/afl-3.0.php
* 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 http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2020 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (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;