[ad_1]
Plugin Support
Vanesa
(@vanesarodriguez)
Hello there,
I hope you are doing well :D.
Please, try adding the following code in the functions.php file of your active theme:
if ( ! function_exists( 'yith_wapo_remove_additional_container' ) ) {
function yith_wapo_remove_additional_container() {
$js = "
jQuery( function ( $ ){
$( '.variations_form.cart .single_variation_wrap #yith-wapo-container' ).remove();
} );
";
wp_add_inline_script( 'yith_wapo_front', $js );
}
add_action( 'wp_enqueue_scripts', 'yith_wapo_remove_additional_container', 99 );
}This should hide the duplicated form, try it and let us know.
We remain at your disposal.
Hello Vanesa!
Thank you for your invaluable help, it works perfectly.
