PageSourceSearch

https://www.maspatule.com/modules/colissimo/views/js/colissimo.custom.js

js maspatule.com collected 2026-10-02 11:42:27 UTC 1,841 bytes, 56 lines download raw bytes

1/*
2 * 2007-2020 PrestaShop
3 *
4 * NOTICE OF LICENSE
5 *
6 * This source file is subject to the Open Software License (OSL 3.0)
7 * that is bundled with this package in the file LICENSE.txt.
8 * It is also available through the world-wide-web at this URL:
9 * http://opensource.org/licenses/osl-3.0.php
10 * If you did not receive a copy of the license and are unable to
11 * obtain it through the world-wide-web, please send an email
12 * to [email protected] so we can send you a copy immediately.
13 *
14 * DISCLAIMER
15 *
16 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
17 * versions in the future. If you wish to customize PrestaShop for your
18 * needs please refer to http://www.prestashop.com for more information.
19 *
20 *  @author PrestaShop SA <[email protected]>
21 *  @copyright  2007-2020 PrestaShop SA
22 *  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
23 *  International Registered Trademark & Property of PrestaShop SA
24 */
25
26/*
27
28IMPORTANT: Please do note edit this file directly! Use PrestaShop override system instead
29
30For PrestaShop 1.6, create a file in the /themes/theme_name/js/modules/colissimo/views/js/colissimo.custom.js
31For PrestaShop 1.7, create a file in the /themes/theme_name/modules/colissimo/views/js/colissimo.custom.js
32
33*/
34
35
36/*
37
38
39To change the placeholder value of the mobile input for the front widget,
40put the code below in the override of colissimo.custom.js
41Don't forget to place example value (xx & xxxx)
42
43function fctCustomPlaceholder(selectedCountryPlaceholder, selectedCountryData) {
44    // Change the placeholder with "xxxx" value, only for country with iso "xx"
45    // Otherwise use the default placeholder
46
47    if (selectedCountryData.iso2 == 'xx') {
48        return 'xxxx';
49    } else {
50        return selectedCountryPlaceholder
51    }
52}
53
54
55 */
56

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.