Version 0.8.14.1 has a Conflict of 'woocommerce_after_add_to_cart_button' add action

kea

New Member
hi @Yaroslav good day.

my site have a plugin using add action of 'woocommerce_after_add_to_cart_button' i found there have a conflict issue of alidropwoo latest update

it shows the Output Twice on this function sample code.

function test_echo() {
echo 'test';
}
add_action('woocommerce_after_add_to_cart_button', 'test_echo', 12);

But when i deactivate the alidropwoo plugin, it back to normal, it echo once.

hope you can fix this, this issue not just for me but for all people.

Thank you.
 
Last edited:

Victoria Kudryashova

Administrator
hi @Yaroslav good day.

my site have a plugin using add action of 'woocommerce_after_add_to_cart_button' i found there have a conflict issue of alidropwoo latest update

it shows the Output Twice on this function sample code.

function test_echo() {
echo 'test';
}
add_action('woocommerce_after_add_to_cart_button', 'test_echo', 12);

But when i deactivate the alidropwoo plugin, it back to normal, it echo once.

hope you can fix this, this issue not just for me but for all people.

Thank you.
Hello, please PM me the name of this plugin - we will check.
 
Top