• Resolved sachabarre

    (@sachabarre)


    Hello,
    I have a problem with your plugin. When I want to add options to my product, the add field is duplicated and impossible to deactivate.

    I’ve tried looking in the source code of my page to no avail. It tells me that a Yith or wocommerce module has been activated but I can’t solve the problem.

    I need your expertise please.
    Can you help me?

    Thanks in advance

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    Thread Starter sachabarre

    (@sachabarre)

    Hello Vanesa!

    Thank you for your invaluable help, it works perfectly.

    Thread Starter sachabarre

    (@sachabarre)

    Vanesa,
    Since adding this code, I’ve had a few problems.
    The ‘add to cart’ animation when I add a product has disappeared. On Mobile, items added to the basket are invisible and the ‘basket empty’ massage is displayed.

    Do you have any information?
    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Duplicate form problem’ is closed to new replies.