• Resolved Philip Adams

    (@philipadams1955)


    I would like the edd-cart-added-alert to remain in place, and not disappear.

    In a previous version of edd, I believe this was achieved with the following JavaScript:

    if( response != ‘incart’ ) {
    // Show the added message
    $(‘.edd-cart-added-alert’, container).fadeIn();
    setTimeout(function () {
    $(‘.edd-cart-added-alert’, container).fadeOut();
    }, 3000);
    }

    Now, however, edd has changed the above script to:

    (
    
    e(".edd-cart-added-alert",n)
    
    .fadeIn(),
    
    setTimeout(
    
    (
    
    function()
    
    {e
    
    (".edd-cart-added-alert",n)
    
    .fadeOut()
    
    }
    
    )
    
    ,3e3
    
    )
    
    ),

    I really do not know what is going on in the newer version of the alert. All I want to do is ensure that the alert remains in place, or at least remains in place for longer. How can I achieve this?

    • This topic was modified 3 years, 2 months ago by Philip Adams.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Mihai Joldis

    (@misulicus)

    Hey @philipadams1955

    From what I can see the message stays on the page so it does seem to be working as intended?

    Our code has not changed, it is only minified which would probably be the difference from the 2.x version of EDD.

    Thread Starter Philip Adams

    (@philipadams1955)

    Thanks, Mihai. As you saw, I managed to fix the issue myself shortly after posting.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Modifying edd-cart-added-alert’ is closed to new replies.