Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi there,

    I can’t reproduce the issue that you are seeing. You might experience the doubling issue since the ajax on the page sent the add to cart request twice. Or perhaps you might’ve click it twice because it did not register the first time?

    Thanks

    Thread Starter bvanzandvoort

    (@bvanzandvoort)

    Im sure i only pressed the button once..

    When you follow the link and choose “aan winkelwagen toevoegen” the shopping basket total gives 2,50 instead of 1,25; when you do it again it goes to 3,75 so it only goes wrong the first time. Secondly, it doesnt go wrong on other products.

    Could there be some invalid product meta data in the database or in the product settings you can think of?

    In the add to cart div i find:
    <?php if(wpsc_product_external_link(wpsc_the_product_id()) != ”) : ?>
    how can i find out wether this condition is met for this specific product?

    Thread Starter bvanzandvoort

    (@bvanzandvoort)

    See screenshot:

    https://www.growingpaper.nl/shop/wp-content/uploads/Untitled-1.jpg

    please help, ive been digging into this for days now :s

    Thread Starter bvanzandvoort

    (@bvanzandvoort)

    I really dont understand why noone else is posting about this. I just did a fresh clean install, still same issue!?

    Thread Starter bvanzandvoort

    (@bvanzandvoort)

    It seems like in some cases “wpsc_add_to_cart” is called twice from a PHP source.

    ..is anyone out there?

    definitely not seeing this issue on any sites, but there may be an error code path that may allow the add to cart to happen twice.

    you need to check for php errors in debug.log, and for javascript errors in your browser. if an add to cart is initiated, succeeds, but during the return path an error stops the result from being correctly returned it could allow a subsequent add to cart operation to be processed.

    enable debug logging and use chrome’s console to watch what is happening

    – jeff

    Thread Starter bvanzandvoort

    (@bvanzandvoort)

    thx jeff, where can i find debug.log?

    Thread Starter bvanzandvoort

    (@bvanzandvoort)

    This error doesnt occur anymore since i upgraded my theme (shoppica).

    What concerns me a little though is that the shoppica theme says to be compatible with ecommorce 3.8* while im running 3.9.1

    any thoughts on this?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WPEC 3.9.1 cart widget gives double total amount’ is closed to new replies.