PageSourceSearch

https://sklepwaneko.pl/modules/cartcon/views/js/cartcon.js

js sklepwaneko.pl collected 2026-10-02 23:59:19 UTC 1,382 bytes, 36 lines download raw bytes

1/**
2 * PrestaShop module created by VEKIA, VATUEU: PL9730945634
3 *
4 * @author    VEKIA https://mypresta.eu/
5 * @copyright 2010-2023 VEKIA
6 * @license   This program is not free software and you can't resell and redistribute it
7 *
8 * CONTACT WITH DEVELOPER http://mypresta.eu
9 * [email protected]
10 */
11
12$(document).ready(function () {
13    if (prestashop.page.page_name == 'cart') {
14        prestashop.on('updatedCart', function (event) {
15            $.ajax({
16                type: "POST",
17                url: cartConditionsUrl,
18                success: function (data) {
19                    if ($.trim(data) != 'false') {
20                        $('.cartcon_errors').show();
21                        data = JSON.parse(data);
22                        $('.cartcon_errors').html('');
23                        $('.checkout .btn-primary').addClass('disabled');
24                        $.each(data, function (key, data) {
25                            $('.cartcon_errors').html($('.cartcon_errors').html() + '<p class="alert-text"><strong>' + (+key + 1) + '. </strong>' + data + '</p>');
26                        });
27                    } else {
28                        $('.checkout .btn-primary').removeClass('disabled');
29                        $('.cartcon_errors').hide();
30                    }
31                }
32            });
33        });
34        prestashop.emit('updatedCart');
35    }
36});

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.