• Resolved dmbur

    (@dmbur)


    Hi!

    There is variable name $epofw_admin both in two files extra-product-options-for-woocommerce/includes/class-epofw-front.php and extra-product-options-for-woocommerce/includes/class-epofw-admin.php, it looks like a bug.

    Second issue – there is method EPOFW_Front::instance(), so I assume to use it like this

    $instance = EPOFW_Front::instance();
        remove_action( 'woocommerce_before_add_to_cart_button', [ $instance, 'epofw_before_add_to_cart_button' ], 10 );

    But it does not work because the method not used in the plugin, the instance was created like this
    $epofw_admin = new EPOFW_Front();
    instead of like this
    $epofw_front = EPOFW_Front::instance().
    So when I’m trying to get instance of the class for call remove_action() I get another one. Please, fix it.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author actpro

    (@actpro)

    Hello @dmbur

    Thanks for reaching out to us.

    We checked it and yes this is bug and our team is working on it. We will update it asap.

    Thanks.

    Plugin Author actpro

    (@actpro)

    Hello @dmbur

    We have updated new version. So, Please update it and let us know if still issue persists.

    Thanks.

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

The topic ‘Bug report’ is closed to new replies.