Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

198
Views
Problemas con la alerta de notificación.js para agregar al carrito al actualizar wordpress

hola amigos tengo una pagina web con un tema que usa notificar.js para enviar una alerta (pequeño modal) cuando agregas un producto al carrito de compras, todo funcionaba bien en wordpress versión 5.5.3, pero por seguridad a vulnerabilidades que tiene version he tenido que actualizar mi wordpress y se ha roto la notificacion, solo muestra el modal vacio sin la informacion del nombre del producto ni el mensaje de que se ha agregado al carrito.

Si alguien ha tenido este mismo problema y sabe la solución, se lo agradecería mucho.

antes de

después

Este es el código javascript del complemento:

 helendo.showAddedToCartNotice = function () { $( document.body ).on( 'added_to_cart', function ( event, fragments, cart_hash, $thisbutton ) { var product_title = $thisbutton.attr( 'data-title' ) + ' ' + helendoData.l10n.notice_text, $message = ''; helendo.addedToCartNotice( $message, product_title, false, 'success' ); } ); }; helendo.addedToCartNotice = function ( $message, $content, single, className ) { if ( helendoData.l10n.added_to_cart_notice != '1' || !$.fn.notify ) { return; } $message += '<a href="' + helendoData.l10n.cart_link + '" class="btn-button">' + helendoData.l10n.cart_text + '</a>'; if ( single ) { $message = '<div class="message-box">' + $message + '</div>'; } $.notify.addStyle( 'helendo', { html: '<div><i class="icon-checkmark-circle message-icon"></i><span data-notify-text/>' + $message + '<span class="close icon-cross2"></span> </div>' } ); $.notify( $content, { autoHideDelay: helendoData.l10n.cart_notice_auto_hide, className : className, style : 'helendo', showAnimation: 'fadeIn', hideAnimation: 'fadeOut' } ); };
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!