Paula Occhionero Posted March 31, 2021 Share Posted March 31, 2021 En una tienda que hice me funcionaba correctamente el pop up que aparece cuando se ingresa un producto a un carrito. De un día para el otro dejó de funcionar. Tengo que refrescar la pagina para que se vea agregado el producto al carrito. La version que uso es 1.7.4.4. Gracias por la ayuda Link to comment Share on other sites More sharing options...
juanrojas Posted March 31, 2021 Share Posted March 31, 2021 hola creo que el modulo tiene una opcion Ajax entra y la desactivas a ver si cambia Link to comment Share on other sites More sharing options...
Paula Occhionero Posted March 31, 2021 Author Share Posted March 31, 2021 ya lo hice varias veces, active y desactive, limpie cache de prestashop y del servidor tambien Link to comment Share on other sites More sharing options...
juanrojas Posted March 31, 2021 Share Posted March 31, 2021 reinicia el modulo Link to comment Share on other sites More sharing options...
Paula Occhionero Posted March 31, 2021 Author Share Posted March 31, 2021 ya lo hice y nada. ¿que otra cosa puede ser? Link to comment Share on other sites More sharing options...
juanrojas Posted March 31, 2021 Share Posted March 31, 2021 cual es la url? Link to comment Share on other sites More sharing options...
Paula Occhionero Posted March 31, 2021 Author Share Posted March 31, 2021 www.soloplan.com.ar Link to comment Share on other sites More sharing options...
juanrojas Posted March 31, 2021 Share Posted March 31, 2021 desactiva el modulo que tienes de formulario contactform7 y prueba de nuevo para descartar Link to comment Share on other sites More sharing options...
Paula Occhionero Posted March 31, 2021 Author Share Posted March 31, 2021 lamentablemente sigue igual. Gracias nuevamente por tus respuestas Link to comment Share on other sites More sharing options...
juanrojas Posted March 31, 2021 Share Posted March 31, 2021 (edited) prueba lo siguiente /httpdocs/themes/xxxxx/assets/js/custom.js añade este codigo $(document).ready(function () { prestashop.blockcart = prestashop.blockcart || {}; var showModal = prestashop.blockcart.showModal || function (modal) { var $body = $('body'); $body.append(modal); $body.one('click', '#blockcart-modal', function (event) { if (event.target.id === 'blockcart-modal') { $(event.target).remove(); } }); }; $(document).ready(function () { prestashop.on( 'updateCart', function (event) { var refreshURL = $('.blockcart').data('refresh-url'); var requestData = {}; if (event && event.reason) { requestData = { id_product_attribute: event.reason.idProductAttribute, id_product: event.reason.idProduct, action: event.reason.linkAction }; } $.post(refreshURL, requestData).then(function (resp) { $('.blockcart').replaceWith($(resp.preview).find('.blockcart')); if (resp.modal) { showModal(resp.modal); } }).fail(function (resp) { prestashop.emit('handleError', {eventType: 'updateShoppingCart', resp: resp}); }); } ); }); }); borras cache Edited March 31, 2021 by juanrojas incomplete (see edit history) Link to comment Share on other sites More sharing options...
Paula Occhionero Posted March 31, 2021 Author Share Posted March 31, 2021 No hay caso, sigue sin funcionar Link to comment Share on other sites More sharing options...
juanrojas Posted March 31, 2021 Share Posted March 31, 2021 borraste la cache? Link to comment Share on other sites More sharing options...
Paula Occhionero Posted March 31, 2021 Author Share Posted March 31, 2021 si la borre Link to comment Share on other sites More sharing options...
joseantgv Posted April 1, 2021 Share Posted April 1, 2021 Tienes un error de JS con el módulo fullscreenslideshow. 1 Link to comment Share on other sites More sharing options...
Paula Occhionero Posted April 5, 2021 Author Share Posted April 5, 2021 Hola Jose, si muchas gracias, era eso. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now