Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter gecki

    (@gecki)

    hi parker,

    thanks for your quick response.

    On which version did you go back, without problems?

    It worked fine with version 1.3.4 yesterday. I did not update any plugins or wordpress.

    I have a button:
    <button type="submit" class="variable_add_to_cart_button button alt" data-pid="1044" data-vid="1053"><span>+</span></button>

    After press it, the product with the correct variation will be added to the cart. When I edit the data-vid from 1053 to 1054 via the browser inspector or with jquery and press the button again, the same product is added with the same variation. now i have the same product in my cart twice, although there is a different data-vid="1054" in html.

    Do you have an idea why the old variation id is used and not the correct one in html. Looks like the browser caches the old variation id, can I refresh the memory or something else?

    Cheers
    Lars

    • This reply was modified 4 years, 8 months ago by gecki.
    • This reply was modified 4 years, 8 months ago by gecki.
Viewing 1 replies (of 1 total)