• Hello!

    Since few days when using the plugin the ajax call launches twice and so adds 2 products in cart, when using classical product page it only adds one.

    I have one ajax with :

    action: woocommerce_add_to_cart_variable_rc

    1. product_id: 138
    2. quantity: 1
    3. variation_id: 1974

    and the second one with

    1. attribute_pa_type-de-massage: solo
    2. attribute_pa_duree: 0-h-30
    3. attribute_pa_format: format-electronique-gratuit
    4. quantity: 1
    5. add-to-cart: 138
    6. product_id: 138
    7. variation_id: 1974
    8. action: woocommerce_add_to_cart
    9. current_cart: 0
    10. product_id: NaN

    It was working flawlessly since few years but just started to bug :'(, do you have an idea to get rid of that?

    Best regards and keep the good work

  • The topic ‘Ajax add to cart launched twice’ is closed to new replies.