• Resolved simplusgroup

    (@simplusgroup)


    Are you planning on releasing a version compatible with WooCommerce 3.0?

    If so, do you know when you expect to release it?

    Thanks!

    James

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author moiseh

    (@moiseh)

    Hi, it’s compatible with 3.0, the online demo uses this version (3.0.1).

    Hi! I have a problem with Woocommerce 3.0.5. When I change item quantity to zero it doesn’t work. And if after that you click on Update Cart you receive a bugged screen in HTML.

    I have your plugin in another page with Woocommerce 2.6.14 and it works well.

    It’s only me or it happens also to anothers Woocommerce 3 pages?

    Thanks for your plugin!

    edit: I have this same problem –> https://www.ads-software.com/support/topic/idea-hook-quantity-0-into-normal-delete-fucntion/#post-9048145

    • This reply was modified 7 years, 10 months ago by vtrilles.

    Hi again!

    I solved it doing this:

    In wooajaxcart.js:

    if ( el_qty.val() == 0 ) {

    removeLink = element.parent().parent().parent().find(‘.product-remove a’);
    removeLink.click();
    //return false <— Remove or comment this line

    }

    I forgot to say that you have to refresh the enqueuement of the script.

    In wac-js-calls.php you have to change the version of the enqueue of the js for example like this:

    // enqueue js
    wp_enqueue_script(‘wooajaxcart’, plugins_url(‘wooajaxcart.js’, WAC_PLUGIN),”,’4.7.5′);

    (I added ‘4.7.5’, one versión later than I had before)

    Hi thanks for the help!

    Your first comment fixes the problem, but the second one breaks my site. So I guess it’s not needed?

    Also even though the cart does now remove the item when quanitiy 0 is selected, it doesn’t act in the same way as clicking “X” as discussed here: https://www.ads-software.com/support/topic/idea-hook-quantity-0-into-normal-delete-fucntion/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘WooCommerce 3.0’ is closed to new replies.