• Resolved finalcircuit

    (@finalcircuit)


    Hi,

    I have a low traffic but long running EDD installation that’s been recently updated to 3.x – currently running 3.1.0.1.1. Sometime after October 5th when the last purchase was made, the purchase buttons disappeared. I use individual shortcodes of the form [purchase_link id=”3332″]. Looking at the source, I can see that the buttons are there but are being hidden as a result of .edd-has.js being set to display:none via an inline style:

    <style>.edd-js .edd-no-js, .no-js .edd-has-js { display: none; }</style>

    I’ve overridden that with my own style but I’d like to figure out whether this is a bug, or a feature I can turn off, or …?

    For extra strangeness, if I look at the source of the page then the buttons don’t have the class .edd.has-js but if I use browser inspect then the buttons do have that class.

    Phil

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Chris Klosowski

    (@cklosows)

    @finalcircuit

    We apologize for this, we were attempting to do some backwards compatibility work, but it seems some themes use this class in areas where we were not expecting it to be used. We have a fix for this coming in EDD 3.1.0.2 which should be released in the coming days.

    For now, you can use the following filter to remove this backwards compatibility:
    remove_action( 'wp_footer', 'edd_back_compat_add_js_class' );

    When 3.1.0.2 comes out, you can remove this line of code and things should work as expected.

    If that doesn’t work, please supply us a link to the site in question so we can further diagnose the issue and possibly supply you with some custom CSS to resolve the issue?

    Thread Starter finalcircuit

    (@finalcircuit)

    I added my own CSS to override yours so the site is actually working OK at the moment. I’ll keep an eye out for 3.1.0.2 and let you know the result.

    Plugin Contributor Mihai Joldis

    (@misulicus)

    Hey @finalcircuit
    Just wanted to let you know that the 3.1.0.2 release is now available!

    Thread Starter finalcircuit

    (@finalcircuit)

    I’ve taken my CSS out and the button is still there so it looks like 3.1.0.2 has fixed it.

    Plugin Contributor Mihai Joldis

    (@misulicus)

    Awesome! Thank you for confirming.

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

The topic ‘Purchase buttons not displaying’ is closed to new replies.