Title: Duplicate form problem
Last modified: May 28, 2024

---

# Duplicate form problem

 *  Resolved [sachabarre](https://wordpress.org/support/users/sachabarre/)
 * (@sachabarre)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/duplicate-form-problem/)
 * 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
 * ![](https://i0.wp.com/i.postimg.cc/651D7shy/Capture-d-e-cran-2024-05-28-a-21-
   38-29.png?ssl=1)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fduplicate-form-problem%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Vanesa](https://wordpress.org/support/users/vanesarodriguez/)
 * (@vanesarodriguez)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/duplicate-form-problem/#post-17788238)
 * Hello there,
   I hope you are doing well :D.Please, try adding the following code
   in the functions.php file of your active theme:
 *     ```wp-block-code
       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](https://wordpress.org/support/users/sachabarre/)
 * (@sachabarre)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/duplicate-form-problem/#post-17788396)
 * Hello Vanesa!
 * Thank you for your invaluable help, it works perfectly.
 *  Thread Starter [sachabarre](https://wordpress.org/support/users/sachabarre/)
 * (@sachabarre)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/duplicate-form-problem/#post-17788901)
 * 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.

 * ![](https://ps.w.org/yith-woocommerce-product-add-ons/assets/icon-128x128.gif?
   rev=3142291)
 * [YITH WooCommerce Product Add-Ons](https://wordpress.org/plugins/yith-woocommerce-product-add-ons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-product-add-ons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-product-add-ons/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-product-add-ons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-product-add-ons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-product-add-ons/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [sachabarre](https://wordpress.org/support/users/sachabarre/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/duplicate-form-problem/#post-17788901)
 * Status: resolved