Kai i Emma 1 - Un aniversari emocionant

Míriam Tirado

Fragmento

Page 3 of 47
background image
background image
background image
background image
Page 4 of 47
Page 5 </div> <div id="div_newsletter" class=""> <h3 id="h3_news">Suscríbete para continuar leyendo y recibir nuestras novedades editoriales</h3> <h3 id="h3_OK">¡Ya estás apuntado/a! Gracias.<span id="close_news">X</span></h3> <div class="row" id="row_input"> <div class="col-xs-12 col-md-12"> <button type="button" class="btn btn-primary margin-center hidden-sm-up subscription-categories-btn modalSubscriptionForm btnsn" data-toggle="modal" data-target="#modalSubscriptionForm"> ME APUNTO </button> <button type="button" class="btn btn-primary hidden-xs-down subscription-categories-btn margin-center modalSubscriptionForm btnsn" data-toggle="modal" data-target="#modalSubscriptionForm"> ME APUNTO </button> </div> </div> </div> </div> <div class="modal fade" id="modalSubscriptionConfirm" tabindex="-1" role="dialog" aria-labelledby="modalSubscriptionConfirm" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <span class="modal-title">Thanks</span> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> ¡Apuntada tu nueva preferencia! Muchas Gracias </div> <div class="modal-footer"> <button type="button" class="btn btn-primary margin-center subscription-categories-btn btnsnc" data-dismiss="modal">Cerrar</button> </div> </div> </div> </div> <div class="modal fade" id="modalSubscriptionForm" tabindex="-1" role="dialog" aria-labelledby="modalSubscriptionForm" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <form action="//www.penguinllibres.com/module/lblusersubscription/miscelania?action=setTematicaModal&ajax=1" method="post" id="submitNewsletterModal-form" class="pl-3 pr-3"> <div class="modal-header"> <span class="modal-title">Write your datas</span> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <div class="col-xs-12 alert alert-success alert-warning hidden-xs-up" id="iqitreviews-productreview-form-alert"></div> <div class="form-fields" id="iqitreviews-productreview-fields"> <input type="hidden" name="autor" value="87646"> <input type="hidden" name="editorial" value="988347"> <input type="hidden" name="tematicas" value="3"> <input type="hidden" name="origen" value="subscripcionFragmento"> <input type="hidden" name="suscribeNewsletter" value="1"> <div class="form-group row"> <label class="col-md-3 form-control-label">Name</label> <div class="col-md-9"> <input type="text" class="form-control" name="name" id="name" value="" placeholder="Your name"/> </div> </div> <div class="form-group row"> <label class="col-md-3 form-control-label">Surname</label> <div class="col-md-9"> <input type="text" class="form-control" name="surname" id="surname" value="" placeholder="Your surname"/> </div> </div> <div class="form-group row"> <label class="col-md-3 form-control-label">Email</label> <div class="col-md-9"> <input type="email" class="form-control" name="email" id="email" value="" placeholder="Your email address"/> </div> </div> <div class="form-group row"> <label class="col-md-3 form-control-label">Shop</label> <div class="col-md-9"> <select name="shop" id="shop"> <option selected value="22">Penguinllibres</option> </select> </div> </div> <div class="mt-2 text-muted"> <div id="gdpr_consent_153" class="gdpr_module gdpr_module_153"> <div class="custom-checkbox" style="display: flex;"> <input id="psgdpr_consent_checkbox_153" name="psgdpr_consent_checkbox" type="checkbox" value="1"> <span class="psgdpr_consent_checkbox_span mr-2"><i class="fa fa-check rtl-no-flip checkbox-checked psgdpr_consent_icon" aria-hidden="true"></i></span> <div class="p_leer_mas p_leer_mas_prod" style="overflow: hidden; text-overflow: ellipsis;"> <p class="MsoNormal"><span style="font-family: Verdana, sans-serif; font-size: 11.3333px;">Responsable: Penguin Random House Grupo Editorial,S.A.U. (Penguinlibros) amb domicili social a Travessera de Gràcia, 47-49 08021 Barcelona NIF: A 08116147 contacte: lopd@penguinrandomhou...</p> <a href="#" class="l_leer_mas" onclick="$('.p_leer_mas').hide();$('.p_leer_menos').show();$('.l_leer_menos').show();" style="text-decoration: underline !important;">Llegir-ne més</a> </div> <div class="p_leer_menos"><span><p class="MsoNormal"><span style="font-family: Verdana, sans-serif; font-size: 11.3333px;">Responsable: Penguin Random House Grupo Editorial,S.A.U. (Penguinlibros) amb domicili social a Travessera de Gràcia, 47-49 08021 Barcelona NIF: A 08116147 contacte: lopd@penguinrandomhouse.com. Finalitat: Tractarà les seves dades personals per informar-vos sobre els nostres productes, serveis, novetats, sortejos, concursos i esdeveniments. Podeu veure més detalls </span><a href="https://www.penguinlibros.com/ca/content/10-proteccion-de-datos" style="font-family: Verdana, sans-serif; font-size: 11.3333px;">aquí</a><span style="font-family: Verdana, sans-serif; font-size: 11.3333px;">. Legitimació: Execució del contracte i consentiment de l'interessat. Destinatari: cedim les teves dades a les empreses del nostre grup per poder mostrar el catàleg disponible. Podeu veure més detalls </span><a href="https://www.penguinlibros.com/ca/content/10-proteccion-de-datos" style="font-family: Verdana, sans-serif; font-size: 11.3333px;">aquí</a><span style="font-family: Verdana, sans-serif; font-size: 11.3333px;">. Drets: Accedir, rectificar i suprimir les dades, així com altres drets, com s'explica en la nostra política que podeu consultar en el següent</span><span style="font-family: Verdana, sans-serif; font-size: 11.3333px;"> </span><a href="https://www.penguinlibros.com/ca/content/10-proteccion-de-datos" style="font-family: Verdana, sans-serif; font-size: 11.3333px;">enllaç.</a></p></span> <a class="l_leer_menos" onclick="$('.p_leer_menos').hide();$('.p_leer_mas').show();$('.l_leer_mas').show();">Llegir-ne menys</a> </div> </div> </div> <script type="text/javascript"> var psgdpr_front_controller = "https://www.penguinllibres.com/module/psgdpr/FrontAjaxGdpr"; psgdpr_front_controller = psgdpr_front_controller.replace(/\amp;/g,''); var psgdpr_id_customer = "0"; var psgdpr_customer_token = "da39a3ee5e6b4b0d3255bfef95601890afd80709"; var psgdpr_id_guest = "0"; var psgdpr_guest_token = "eb122f420d64ff8a5a2038a36def159e66966f23"; document.addEventListener('DOMContentLoaded', function() { let psgdpr_id_module = "153"; let parentForm = $('.gdpr_module_' + psgdpr_id_module).closest('form'); let toggleFormActive = function() { let checkbox = $('#psgdpr_consent_checkbox_' + psgdpr_id_module); let element = $('.gdpr_module_' + psgdpr_id_module); let iLoopLimit = 0; // Look for parent elements until we find a submit button, or reach a limit while(0 === element.nextAll('[type="submit"]').length && // Is there any submit type ? element.get(0) !== parentForm.get(0) && // the limit is the form element.length && iLoopLimit != 1000) { // element must exit element = element.parent(); iLoopLimit++; } if (checkbox.prop('checked') === true) { if (element.find('[type="submit"]').length > 0) { element.find('[type="submit"]').removeAttr('disabled'); } else { element.nextAll('[type="submit"]').removeAttr('disabled'); } } else { if (element.find('[type="submit"]').length > 0) { element.find('[type="submit"]').attr('disabled', 'disabled'); } else { element.nextAll('[type="submit"]').attr('disabled', 'disabled'); } } } // Triggered on page loading toggleFormActive(); $('body').on('change', function(){ // Triggered after the dom might change after being loaded toggleFormActive(); // Listener ion the checkbox click $(document).on("click" , "#psgdpr_consent_checkbox_"+psgdpr_id_module, function() { toggleFormActive(); }); $(document).on('submit', parentForm, function(event) { $.ajax({ data: 'POST', //dataType: 'JSON', url: psgdpr_front_controller, data: { ajax: true, action: 'AddLog', id_customer: psgdpr_id_customer, customer_token: psgdpr_customer_token, id_guest: psgdpr_id_guest, guest_token: psgdpr_guest_token, id_module: psgdpr_id_module, }, success: function (data) { // parentForm.submit(); }, error: function (err) { console.log(err); } }); }); }); }); </script> </div> </div> </div> <div class="modal-footer"> <input class="btn btn-primary margin-center hidden-sm-up subscription-categories-btn btnsns" data-id_product=280845 type="submit" value=" OK"> <input class="btn btn-primary hidden-xs-down subscription-categories-btn margin-center modal-newsletter btnsns" data-id_product=280845 type="submit" value=" Suscribirse"> </div> </form> </div> </div> </div> </div> </section> <footer id="footer"> <div class="preview-footer"> <div class="container content row col-12 col-md-10 col-sm-8 overflow-hidden m-auto content row "> <div class="col-12"> <p class="product_name" style="font-size: 27px;font-family: 'montserrat';margin:0 auto;text-align:center;">Kai i Emma 1 - Un aniversari emocionant</p> </div> <div id="textoRelated" class="col-lg-12 col-md-12 col-sm-10 col-xs-12"> <h2>¡Disfruta del libro entero!</h2> <p style="font-weight: bold;padding:0px;margin:0px;">Elige tu formato favorito y empieza tu próxima lectura</p> </div> <div class="col-lg-12 col-md-12 col-xs-12"> <div class="info-libro row" style="padding:0px;"> <div class="precios-libro row"> <div class="col-xl-3 col-lg-4 libroRelated" style="display:inline-block;"> <a href="//www.penguinllibres.com/tematiques/280845-libro-kai-i-emma-1-un-aniversari-emocionant-9788418054907 "> <picture class="lazy"> <source data-srcset="https://www.penguinllibres.com/1462829-home_default/kai-i-emma-1-un-aniversari-emocionant.webp" type="image/webp"> <source data-srcset="https://www.penguinllibres.com/1462829-home_default/kai-i-emma-1-un-aniversari-emocionant.jpg"> <img data-srcset="https://www.penguinllibres.com/1462829-home_default/kai-i-emma-1-un-aniversari-emocionant.jpg" alt="Kai i Emma 1 - Un aniversari emocionant" class="img-fluid photo"> </picture> <span class="formato">eBook Kindle</span> <div class="row"> <span class="col precio">16,30 € </span> </div> </a> </div> <div class="col-xl-3 col-lg-4 libroRelated selected" style="display:inline-block;"> <a href="//www.penguinllibres.com/tematiques/280845-libro-kai-i-emma-1-un-aniversari-emocionant-9788418054907 "> <picture class="lazy"> <source data-srcset="https://www.penguinllibres.com/1462829-home_default/kai-i-emma-1-un-aniversari-emocionant.webp" type="image/webp"> <source data-srcset="https://www.penguinllibres.com/1462829-home_default/kai-i-emma-1-un-aniversari-emocionant.jpg"> <img data-srcset="https://www.penguinllibres.com/1462829-home_default/kai-i-emma-1-un-aniversari-emocionant.jpg" alt="Kai i Emma 1 - Un aniversari emocionant" class="img-fluid photo"> </picture> <span class="formato">Tapa dura</span> <div class="row"> <span class="col precio">16,30 € </span> </div> </a> </div> <div class="col-xl-3 col-lg-4 libroRelated" style="display:inline-block;"> <a href="//www.penguinllibres.com/tematiques/280845-libro-kai-i-emma-1-un-aniversari-emocionant-9788418054907 "> <picture class="lazy"> <source data-srcset="https://www.penguinllibres.com/1462829-home_default/kai-i-emma-1-un-aniversari-emocionant.webp" type="image/webp"> <source data-srcset="https://www.penguinllibres.com/1462829-home_default/kai-i-emma-1-un-aniversari-emocionant.jpg"> <img data-srcset="https://www.penguinllibres.com/1462829-home_default/kai-i-emma-1-un-aniversari-emocionant.jpg" alt="Kai i Emma 1 - Un aniversari emocionant" class="img-fluid photo"> </picture> <span class="formato">eBook diseño fijo</span> <div class="row"> <span class="col precio">16,30 € </span> </div> </a> </div> </div> </div> </div> <div class="clearfix"></div> </div> </div> </footer> </main> <script type="text/javascript" src="https://www.penguinllibres.com/themes/megustaleer/assets/cache/bottom-343a98598.js" data-cookieconsent="ignore" ></script> <script type="text/javascript" src="https://assets.motive.co/front-loader/prestashop/v1.js" data-cookieconsent="ignore" ></script> <div id="iqitwishlist-modal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <span class="modal-title">You need to login or create account</span> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <section class="login-form"> <p> Save products on your wishlist to buy them later or share with your friends.</p> <div class="login-form-custom-header"> <img class="logo img-fluid" loading="lazy" src="https://www.penguinllibres.com/img/penguinlibros-ca-logo-165691905922.jpg" alt="PenguinLlibres"> <p class="title-authentication">Accedeix al teu compte</p> <div class="login-form-social-links-wrapper"> <span id="social-links-text">Accés ràpid amb:</span> <div class="login-form-social-links"> <span onclick='document.getElementsByClassName("btn-connect btn-block-connect btn-social btn-google")[0].click();' id="signin-google" class="link_container_login fa fa-bt-" style="margin: 0;"><i class="fa-brands fa-google"></i></span> <span onclick='document.getElementsByClassName("btn-connect btn-block-connect btn-social btn-facebook")[0].click();' id="signin-fb" class="link_container_login fa fa-bt-"><i class="fa-brands fa-facebook-f"></i></span> <!--<span class="link_container_login fa fa-bt-"><i class="fa-brands fa-google"></i></span>--> </div> <span id="social-links-text_after">O bé</span><hr> </div> </div> <form id="login-form" action="index.php?controller=authentication&back=my-account" method="post"> <section class="row"> <input type="hidden" name="back" value=""> <div class="form-group align-items-center "> <label class="col-md-2 col-form-label required"> Adreça electrònica </label> <div class="col-md-8"> <input class="form-control" name="email" type="email" value="" required > </div> <div class="col-md-2 form-control-comment"> </div> </div> <div class="form-group align-items-center "> <label class="col-md-2 col-form-label required"> Clau de pas </label> <div class="col-md-8"> <div class="input-group js-parent-focus"> <input class="form-control js-child-focus js-visible-password" name="password" title="Com a mínim 5 caràcters" autocomplete="new-password" type="password" value="" pattern=".{5,}" required > <span class="input-group-append"> <button class="btn btn-outline-secondary" type="button" data-action="show-password" > <i class="fa fa-eye-slash" aria-hidden="true"></i> </button> </span> </div> </div> <div class="col-md-2 form-control-comment"> </div> </div> <div class="form-group align-items-center "> <label class="col-md-2 col-form-label"> </label> <div class="col-md-8"> <span class="custom-checkbox"> <input name="remember" id="ff_remember" type="checkbox" value="1" > <span><i class="fa fa-check rtl-no-flip checkbox-checked" aria-hidden="true"></i></span> <label for="ff_remember">Recorda'm</label > </span> </div> <div class="col-md-2 form-control-comment"> </div> </div> <div class="forgot-password col-md-12"> <a href="https://www.penguinllibres.com/recuperació de contrasenya" rel="nofollow"> Heu oblidat la vostra contrasenya? </a> </div> </section> <footer class="form-footer text-center clearfix"> <input type="hidden" name="submitLogin" value="1"> <button id="submit-login" class="loginPresta btn btn-primary form-control-submit" data-link-action="sign-in" type="submit"> INICIAR SESSIÓ </button> </footer> </form> <div id="login_create-account-link-wrapper" class="col-md-8"> <span id="social-links-text_register">¿Encara no tens un compte?</span> <a href="https://www.penguinllibres.com/inici%20de%20sessió?create_account=1"> <button id="create_account" class="btn btn-primary" data-link-action="sign-in">Crear un compte</button> </a> <ul> <li><i class="fa fa-heart-o not-added" aria-hidden="true"></i>Afegeix els m’agrada a la teva llista de desitjos</li> <li><svg style="fill: #FF5A00;" xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M270-80q-45 0-77.5-30.5T160-186v-558q0-38 23.5-68t61.5-38l395-78v640l-379 76q-9 2-15 9.5t-6 16.5q0 11 9 18.5t21 7.5h450v-640h80v720H270Zm90-233 200-39v-478l-200 39v478Zm-80 16v-478l-15 3q-11 2-18 9.5t-7 18.5v457q5-2 10.5-3.5T261-293l19-4Zm-40-472v482-482Z"></path></svg></i> Gestiona les teves comandes i accedeix a la teva biblioteca</li> <li><svg fill="#000000" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 60.062 60.062" xml:space="preserve"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M16.1 260.2c-22.6 12.9-20.5 47.3 3.6 57.3L160 376V479.3c0 18.1 14.6 32.7 32.7 32.7c9.7 0 18.9-4.3 25.1-11.8l62-74.3 123.9 51.6c18.9 7.9 40.8-4.5 43.9-24.7l64-416c1.9-12.1-3.4-24.3-13.5-31.2s-23.3-7.5-34-1.4l-448 256zm52.1 25.5L409.7 90.6 190.1 336l1.2 1L68.2 285.7zM403.3 425.4L236.7 355.9 450.8 116.6 403.3 425.4z"></path></svg></svg> Subscriu-te a les novetats i gestiona els teus interessos</li> </ul> </div> <div class="espacio"> <span>o</span> </div> <style> .page-customer-account .login-form-custom-header { display: none; } .my-account-page-content .login-form-custom-header { display: none; } .iqitsociallogin.iqitsociallogin-checkout, div#fbpsc { height: 0; overflow: hidden; padding: 0 !important; } section#checkout-personal-information-step .login-form-custom-header { display: none; } section.login-form{ #login_create-account-link-wrapper li { color: black; font-size: 12px !important; } hr { margin-top: -9px; border-color: black; } body#authentication form#login-form, body#authentication form#customer-form { margin-bottom: 55px; } .login-form-custom-header { max-width: 40%; margin: auto; display: block; text-align: center; } span#social-links-text { background-color: white; padding: 11px; } .login-form-social-links { margin-top: -10px; border-top: 1px solid grey; height: auto; padding-top: 33px; margin-bottom: 21px; } .link_container_login { background: white; width: 50px; height: 50px; border: 1px solid black; border-radius: 100%; display: inline-block; padding-top: 8px; margin-left: 30px; display: inline-block; cursor: pointer; } i.fa-brands { font-style: normal; } span.link_container_login.fa { font-size: 32px; text-decoration: solid; display: inline-block; } #login_create-account-link-wrapper a { display: block; height: 51px; } button#create_account { width: 100%; max-width: 600px; border-radius: 37px; float: left; height: 40px; background: white; color: black !important; border: 2px solid #b2b2b2; margin-bottom: 11px; font-weight: 600; } #login_create-account-link-wrapper ul { display: block; padding-left: 5px; margin-top: 30px; } #login_create-account-link-wrapper li { line-height: 21px; font-size: 16px; margin-bottom: 11px; } #login_create-account-link-wrapper i.fa, #login_create-account-link-wrapper svg { margin-right: 11px; color: #FF5A00; fill: #FF5A00; height: 24px; width: 24px; } input[name="email"], input[name="password"] { border: 2px solid orange; border-radius: 37px !important; max-width: 600px; } label.required { font-weight: 600; max-width: 40%; margin: auto; display: block; font-size: 14px; } .col-md-8 { margin: auto; max-width: 40%; } .form-group.align-items-center:nth-child(4) { display: none; } button.btn.btn-outline-secondary { border-radius: 37px; margin-left: -49px; height: 90%; margin-top: 2px; width: 48px; } .forgot-password { width: 40%; max-width: 40%; text-align: left !important; margin: auto; margin-top: 0 !important; } footer.form-footer.text-center.clearfix { max-width: 40%; margin: auto; padding-right: 0 !important; } button#submit-login.loginPresta { width: 100%; max-width: 600px; border-radius: 37px; float: left; height: 40px; } span#social-links-text_after { background: white; padding: 11px; } span#social-links-text_register { font-size: 20px; font-weight: 600; display: block; text-align: center; margin-bottom: 30px; } } @media screen and (max-width: 769px) { section.login-form{ #login-form { width: 50%; margin: auto; } } } @media screen and (max-width: 767px) { section.login-form { .login-form-custom-header .logo{ display: none; } #login-form { width: 100%; } .forgot-password{ width: 100%; max-width: 100%; text-decoration: underline #2b2b2b; text-align: center !important; } .col-md-8,.col-md-2, .col-md-9 { min-width: 100%; } footer.form-footer.text-center.clearfix { max-width: 100%; } .login-form-custom-header { max-width: 100%; } #authentication .login-form { padding-top: 30px; } h2 { height: 20px; font-size: 20px; font-weight: 600; margin-bottom: 30px; } } } </style> </section> <hr/> <div class="no-account"> <a href="https://www.penguinllibres.com/inici de sessió?create_account=1" data-link-action="display-register-form"> No account? Create one here </a> </div> </div> </div> </div> </div> <div id="iqitwishlist-notification" class="ns-box ns-effect-thumbslider ns-text-only"> <div class="ns-box-inner"> <div class="ns-content"> <span class="ns-title"><i class="fa fa-check" aria-hidden="true"></i> <strong>Afegit a la llista de destijos</strong></span> </div> </div> </div><script data-cfasync="false" type="text/javascript"> 'use strict'; // Instantiate the tracking class var rcTagManagerLib = new RcTagManagerLib(); // Init page values var controllerName = 'Fragmento'; var compliantModules = {"default":"order","supercheckout":"supercheckout","onepagecheckoutps":"order","sveacheckout":"sveapaypage","thecheckout":"order","steasycheckout":"default"}; var compliantModuleName = 'default'; var skipCartStep = ''; var isOrder = ''; var isCheckout = ''; var isClientId = 0; var gtmProducts; var gtmOrderComplete; //////////////////////////// // set tracking features rcTagManagerLib.trackingFeatures = gtmTrackingFeatures; // set checkout values rcTagManagerLib.controllerName = controllerName; rcTagManagerLib.isCheckout = isCheckout; rcTagManagerLib.compliantModuleName = compliantModuleName; rcTagManagerLib.skipCartStep = skipCartStep; // list names rcTagManagerLib.lists = {"default":"Fragmento","filter":"filtered_results"}; // Google remarketing - page type rcTagManagerLib.ecommPageType = 'other'; // get products list to cache rcTagManagerLib.productsListCache = []; // Listing products /////////////////////////////////////////////// if (!disableInternalTracking) { // Initialize all user events when DOM ready document.addEventListener('DOMContentLoaded', initGtmEvents, false); window.addEventListener('pageshow', fireEventsOnPageShow, false); } function initGtmEvents() { // Events binded on all pages // Events binded to document.body to avoid firefox fire events on right/central click document.body.addEventListener('click', rcTagManagerLib.eventClickPromotionItem, false); //Botones Newsletters var btnNewsletter = document.querySelectorAll('.modalSubscriptionForm'); btnNewsletter.forEach((btn) => btn.addEventListener('click', rcTagManagerLib.eventClickNewsletter, false)); //Botones Menu var Menu = document.getElementById("iqitmegamenu-horizontal"); Menu.addEventListener('click', rcTagManagerLib.eventNavegacionMenu, false); //Menu Movil var MenuMovil = document.getElementById("iqitmegamenu-mobile"); MenuMovil.addEventListener('click', rcTagManagerLib.eventNavegacionMenuMovil, false) if (rcTagManagerLib.trackingFeatures.goals.socialAction) { // bind event on like/follow action rcTagManagerLib.eventSocialFollow(); } //////////////////////// // ALL PAGES EXCEPT CHECKOUT OR ORDER if (!isCheckout && !isOrder) { // bind prestashop events with tracking events prestashop.on( 'updateCart', function (event) { rcTagManagerLib.eventAddCartProduct(event); rcTagManagerLib.eventCartUpdate(event); } ); prestashop.on( 'clickQuickView', function (event) { rcTagManagerLib.eventProductView(event) } ); prestashop.on( 'updatedProduct', function (event) { rcTagManagerLib.eventProductView(event) } ); prestashop.on( 'clickIqitWishlistAdd', function (event) { rcTagManagerLib.eventWishlistProduct() } ); // init first scroll action for those products all ready visible on screen setTimeout(()=>{ rcTagManagerLib.eventScrollList(); // bind event to scroll window.addEventListener('scroll', rcTagManagerLib.eventScrollList.bind(rcTagManagerLib), false); },3000); // init Event Listeners document.body.addEventListener('click', rcTagManagerLib.eventClickProductList, false); document.body.addEventListener('click', rcTagManagerLib.eventGetAddCartQuantity, false); document.body.addEventListener('click', rcTagManagerLib.eventCartQuantityDelete, false); document.body.addEventListener('click', rcTagManagerLib.eventLogin, false); document.body.addEventListener('click', rcTagManagerLib.eventLogout, false); document.body.addEventListener('click', rcTagManagerLib.eventCreateAccount, false); document.body.addEventListener('click', rcTagManagerLib.eventNewsletter, false); document.body.addEventListener('click', rcTagManagerLib.eventUpdateAccount, false); //Sliders setTimeout(()=>{ let Sliders = document.body.querySelectorAll(".slick-slider"); Sliders.forEach((slider)=>{ slider.addEventListener('click', rcTagManagerLib.eventClickCarousel,false); slider.addEventListener('touchstart', rcTagManagerLib.eventTouchStartCarousel,false); slider.addEventListener('touchmove', rcTagManagerLib.eventTouchMoveCarousel,false); slider.addEventListener('touchend', rcTagManagerLib.eventTouchEndCarousel,false); }), 2000 }) if (rcTagManagerLib.trackingFeatures.goals.socialAction) { // bind event to allow track social action on document.body.addEventListener('click', rcTagManagerLib.eventSocialShareProductView, false); } //////////////////////// // SEARCH PAGE if (controllerName === 'search') { rcTagManagerLib.eventSearchResult(); } //////////////////////// // PRODUCT PAGE if (controllerName === 'product') { // send product detail view rcTagManagerLib.eventProductView(); rcTagManagerLib.eventProductPreview(); rcTagManagerLib.eventProductReview(); //Nuevos DataLayer Ficha Producto var btnCompraDirecta = document.querySelector('.add-to-cart.direct'), btnCambioIdioma = document.querySelector('.link_relacionado_manuscrito'), tags = document.querySelectorAll('.tag_lvl2'), descripcion = document.getElementById('product-descripcion'), detalles = document.getElementById('product-details-tab-nav'), btnVerAutor = document.querySelectorAll("#author-follow"), btnResena = document.querySelector(".boton-review"); if(btnCambioIdioma != null) btnCambioIdioma.addEventListener('click', rcTagManagerLib.eventCambioIdioma,false); if(btnCompraDirecta != null) btnCompraDirecta.addEventListener('click', rcTagManagerLib.eventCompraDirecta,false); tags.forEach((tag)=> tag.addEventListener('click', rcTagManagerLib.eventBotonTematicas, false)); btnVerAutor.forEach((btn)=> btn.addEventListener('click', rcTagManagerLib.onVerAutor, false)); descripcion.addEventListener('click', rcTagManagerLib.onVerDescripcion, false); detalles.addEventListener('click', rcTagManagerLib.onVerDetalles, false); btnResena.addEventListener('click', rcTagManagerLib.onClickResena, false); } ////////////////////// //BLOGS if (controllerName == 'single'){ let linkFicha = document.getElementsByClassName('linkFicha'); if(linkFicha !== null){ //Convertimos la Html List a Array let enlaces = [...linkFicha]; enlaces.forEach((lf) => lf.addEventListener('click', rcTagManagerLib.eventLinkFicha, false)); } } } //////////////////////// // CHECKOUT PROCESS if (isCheckout) { // SUMMARY CART if (controllerName === 'cart') { // events on summary Cart document.body.addEventListener('click', rcTagManagerLib.eventCartQuantityDelete, false); document.body.addEventListener('click', rcTagManagerLib.eventCartQuantityUp, false); document.body.addEventListener('click', rcTagManagerLib.eventCartQuantityDown, false); } //////////////////////// // CHECKOUT if (compliantModuleName === 'default' && controllerName === 'order') { // Events on Checkout Process document.body.addEventListener('click', rcTagManagerLib.eventPrestashopCheckout, false); } else if ( compliantModuleName === 'supercheckout' && controllerName === compliantModules[compliantModuleName] ) { // Compatible with super-checkout by Knowband document.body.addEventListener('click', rcTagManagerLib.eventOpcSuperCheckout, false); document.body.addEventListener('click', rcTagManagerLib.eventCartOpcSuperCheckout, false); } else if ( compliantModuleName === 'onepagecheckoutps' && controllerName === compliantModules[compliantModuleName] ) { // compatible with OPC by PrestaTeamShop document.body.addEventListener('click', rcTagManagerLib.eventOpcPrestaTeam, false); document.body.addEventListener('click', rcTagManagerLib.eventCartOpcPrestaTeam, false); } else if ( compliantModuleName === 'thecheckout' && controllerName === compliantModules[compliantModuleName] ) { // Compatible with thecheckout by Zelarg document.body.addEventListener('click', rcTagManagerLib.eventOpcTheCheckout, false); document.body.addEventListener('click', rcTagManagerLib.eventCartOpcTheCheckout, false); } else if ( compliantModuleName === 'steasycheckout' && controllerName === compliantModules[compliantModuleName] ) { // Events for steasycheckout document.body.addEventListener('click', rcTagManagerLib.eventOpcStEasyCheckout, false); document.body.addEventListener('click', rcTagManagerLib.eventCartOpcStEasyCheckout, false); } } } function fireEventsOnPageShow(event){ //rcTagManagerLib.eventPageType(); // rcTagManagerLib.eventUserInfo(); // fixes safari back cache button if (event.persisted) { window.location.reload() } if(window.location.pathname.substring(4) == 'module/lblemailactivation/activation'){ rcTagManagerLib.onConfirmarCuenta(); } // Sign up feature if (rcTagManagerLib.trackingFeatures.goals.signUp && rcTagManagerLib.trackingFeatures.common.isNewSignUp) { rcTagManagerLib.onSignUp(); } if (rcTagManagerLib.trackingFeatures.gua.trackingId && isClientId) { rcTagManagerLib.setClientId(); } // Checkout and order complete if (isCheckout && gtmProducts) { rcTagManagerLib.onCheckoutProducts(gtmProducts); } else if (isOrder && gtmOrderComplete) { rcTagManagerLib.onOrderComplete(gtmOrderComplete); } } </script><script type="text/javascript"> var time_start; $(window).on("load", function (e) { time_start = new Date(); }); $(window).on("unload", function (e) { var time_end = new Date(); var pagetime = new FormData(); pagetime.append("type", "pagetime"); pagetime.append("id_connections", "141772244"); pagetime.append("id_page", "15"); pagetime.append("time_start", "2025-01-14 17:47:13"); pagetime.append("token", "82be5758751f85e991075f046cda65ba920eb4aa"); pagetime.append("time", time_end-time_start); pagetime.append("ajax", "1"); navigator.sendBeacon("https://www.penguinllibres.com/index.php?controller=statistics", pagetime); }); </script> <button id="back-to-top"> <i class="fa fa-angle-up" aria-hidden="true"></i> </button> </body> </html>