PageSourceSearch

https://onlinehurt.pl/themes/onlinehurt/js/cstore.order.js

js onlinehurt.pl collected 2026-09-27 08:58:00 UTC 3,883 bytes, 163 lines download raw bytes

1$(window).load(function(){
2   
3   // USUNIĘCIE LEWEJ KOLUMNY
4   
5   $('#div_id_shop_cart #ls, #div_id_order_confirm #ls').remove();
6   
7   // /USUNIĘCIE LEWEJ KOLUMNY
8   
9});
10
11
12$(document).ready(function(){
13    
14    // PŁATNOŚCI I WYSYŁKI
15    
16    $('#loader').show();
17    $(".platnosc .platn").hide();
18    var kraj = $('#countriesSelect').val();
19    
20    $.ajax({
21        
22        type: 'POST',
23        data: { kraj: kraj },
24        url: '/controller/order5/ajax.wysylka.platnosci.php',
25        
26        success: function(msg) {
27            $('.platnosc .platn').html(msg);
28            $('#loader').hide();
29            $('.platnosc .platn').show();
30        }
31        
32    });
33    
34    
35    $('#countriesSelect').change(function(){
36        
37        $('#loader').show();
38        $('.platnosc .platn').hide();
39        
40        var kraj = $(this).val();
41        
42        $.ajax({
43            
44            type: 'POST',
45            data: { kraj: kraj },
46            url: '/controller/order5/ajax.wysylka.platnosci.php',
47            
48            success: function(msg) {
49                $('.platnosc .platn').html(msg);
50                $('#loader').hide();
51                $('.platnosc .platn').show();
52            }
53        });
54        
55    });
56        
57    // PŁATNOŚCI I WYSYŁKI
58       
59        
60    // OPAKOWANIE OZDOBNE
61    
62    $('input#wrapper_check').change(function(){
63       
64        if ($(this).is(':checked')) {
65            $('#wrappers').show();
66            $('#wrappers input').change(function(){
67                order_prices();
68            });
69            
70        }
71        else {
72            $('#wrappers').hide();
73            $('#wrappers input').attr('checked', false);
74            order_prices();
75        }
76        
77    });
78    
79    // /OPAKOWANIE OZDOBNE
80    
81    
82    // RABAT
83    
84    
85    
86    // /RABAT
87        
88       
89    // PRZELICZENIE PO ZMIANIE ILOŚCI
90    
91    $('.input_amount').parent().children('a').click(function(){
92       $('.shipment_options input').attr('disabled', 'disabled');
93       $('input#przelicz').trigger('click'); 
94    });
95    
96    $('.input_amount').change(function(){
97        $('.shipment_options input').attr('disabled', 'disabled');
98        $('input#przelicz').trigger('click');
99    });
100    
101    // /PRZELICZENIE PO ZMIANIE ILOŚCI
102    
103    
104    // PRZELICZENIE PO AKTYWACJI KODU RABATOWEGO
105    
106    $('.discount a.button_small').click(function(){
107       $('.shipment_options input').attr('disabled', 'disabled');
108       $('input#przelicz').trigger('click'); 
109    });
110    
111    // /PRZELICZENIE PO AKTYWACJI KODU RABATOWEGO
112    
113    
114    // CHECK CZY WYBRANY BANK + PŁATNOŚĆ, WYSYŁKA
115    
116    $('#confirmation input.button_long').click(function(){
117        
118        if ($('input#p12').is(':checked') && $('select#bank').val() === '0') {
119            alert('Prosimy wybrać Bank');
120            return false;
121        }
122        
123        var blad = 1;
124        
125        $('#newPay input[type=radio]').not(':disabled').each(function(){
126           var check = $(this).attr('checked');
127           if (check === true) {
128               blad = 0;
129           }
130        });
131        
132        if (blad === 1) {
133            alert('Nie wybrano sposobu płatności');
134            return false;
135        }
136        
137        blad = 1;
138        
139        $('#newShip input[type=radio]').not(':disabled').each(function(){
140           var check = $(this).attr('checked');
141           if (check === true) {
142               blad = 0;
143           }
144        });
145        
146        if (blad === 1) {
147            alert('Nie wybrano sposobu wysyłki');
148            return false;
149        }
150        
151    });
152    
153    // /CHECK CZY WYBRANY BANK + PŁATNOŚĆ, WYSYŁKA
154    
155    
156    
157    //////////////////////////////////////////////////////////////////////////// 
158    
159    //////////////////////////////////////////////////////////////////////////// 
160        
161});
162
163

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.