Duplicate form problem | WordPress.org

[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.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer