• Resolved Mayank

    (@_mayank_)


    Hi Team,

    I have added checkbox non mandatory in a few products. .i.e. MINTOO TOOTHPASTE TABLETS.

    If you add the product directly from home page or product page using instant add to cart it will redirect to single product page then again we have to click on add cart.

    I want users to add product directly without being redirect to single product page.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support crodriguez1991

    (@crodriguez1991)

    Hello there,

    I hope you’re doing well :D.

    If the product has addons to be filled, the plugin will redirect you to the product page.

    in order to remove it, you’ll need to add the following code in the functions.php of your active theme.

    if( function_exists( 'YITH_WAPO' ) ){? ? remove_filter( 'woocommerce_add_to_cart_validation', array( YITH_WAPO()->cart, 'add_to_cart_validation' ), 50 );}

    Please, try it and let me know.

    Have a good day.

    Thread Starter Mayank

    (@_mayank_)

    That Works ! Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Redirected to Product page’ is closed to new replies.