• Hello,

    I found different topic about this (@herukakmc). I am trying to add multiple variable products using the add-to-cart url (exactly like @herukakmc, may be you found something helpfull).

    For the examples below, the product ID is 11602 and the variable IDs are 11654 and 11655.

    It works fine with one variation ID, like this:

    ?add-to-cart=11654

    or this

    ?add-to-cart=11602&variation_id=11654

    But I can’t seem to add multiple variation ID’s. Ideally I would like to set the variable ID to a comma separated list like this or some other way, but it won’t work:

    ?add-to-cart=11602&variation_id=11654,11655

    Is there a solution for this? Any help with this would be much appreciated.

    I lready checked this (https://dsgnwrks.pro/snippets/woocommerce-allow-adding-multiple-products-to-the-cart-via-the-add-to-cart-query-string/) but cannot find the way to make it works with variable_id.

    Thanks,

    Thomas

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

  • The topic ‘How do you add multiple variable products to the cart’ is closed to new replies.