• Resolved hanugala

    (@hanugala)


    Hi!
    I desperately need help. My woocommerce is not allowing my customers to add more than 1 product with the same variables to a cart. If someone adds 1 white t-shirt size S he can’t add another size S.

    I don’t have the Sell individually checked.
    I have checked for plugin conflicts.

    Please help.
    Thanks!

    Hanna

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Nami

    (@woonami)

    Hi there @hanugala !

    Can you check to see if here is any custom code applied that uses “woocommerce_is_sold_individually” filter?

    For instance, can you check for this on Code Snippet plugin as well as any other place such as functions.php file for the theme?

    Thank you!

    Thread Starter hanugala

    (@hanugala)

    Hi!
    Thank you so much!
    I checked in my snippets and I had this:

    function custom_remove_all_quantity_fields( $return, $product ) {return true;}
    add_filter( ‘woocommerce_is_sold_individually’,’custom_remove_all_quantity_fields’, 10, 2 );

    I deactivated it and now I can add as many variations as I like.

    Thank you so much again!
    Hanna

    Plugin Support Nami

    (@woonami)

    Hi there @hanugala !

    Glad to hear you found the custom code ??

    Have a great day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Woocommerce is not allowing to add more than one product to a cart.’ is closed to new replies.