PageSourceSearch

https://totenart.pt/themes/dfd-totenart/modules/onepagecheckoutps/views/js/front/override.js

js totenart.pt collected 2026-09-26 13:44:02 UTC 723 bytes, 14 lines download raw bytes

1/* DFDMOD - Poder seleccionar todo el contenido en el metodo de envio*/
2$(document).on('click', '.delivery-option', function(e) {
3    // Si el clic no fue directamente en el radio button
4    if (!$(e.target).is('input.delivery_option_radio')) {
5        // Buscamos el radio button dentro de este recuadro y le hacemos un clic físico
6        const $radio = $(this).find('input.delivery_option_radio');
7        if ($radio.length) {
8            $radio.click(); // Esto dispara los eventos internos de PrestaShop y el OPC
9        }
10    }
11    // Actualización visual inmediata de las clases
12    $('.delivery-option').removeClass('delivery-option-selected'); 
13    $(this).addClass('delivery-option-selected'); 
14});

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.