• Resolved ilaria_roglieri

    (@ilaria_roglieri)


    Hello, I’m working locally on MAMP.
    I enabled the function “Make cart works on shop page when using [woocommerce_cart] shortcode” that is working fine with adding and reducing items number.
    Calculate shipping however doesn’t respond to click, it doesn’t show the menu for choosing the country.
    Also removing an item with the X triggers a page refresh.
    Can you help me improving this?

Viewing 8 replies - 16 through 23 (of 23 total)
  • Plugin Author moiseh

    (@moiseh)

    Can you please re enable the “Update cart/prices automatically when change quantity” option and set “Simulate click on Update button” ?

    I’m assumed that this is settings you use in last patch so it’s hard to make this work if the settings is always changing ?? your shop is very custom compared to default woocommerce so it’s not so easy task.

    In the case that you back the last settings and i can’t make it work, i can refund the money.

    Thread Starter ilaria_roglieri

    (@ilaria_roglieri)

    Sorry, you’re absolutely right… i disabled it to check if it was working without the autoupdate. So I reenabled it now on the last link: https://www.neueserie.net/shop
    The issue occurs whenever, let’s say, there is an item in the cart and I change its quantity and then I add a new item to the cart. The newly added item has not a value of one but it seems to take the quantity value of items already in the cart.
    This seems to occur only sometimes, more often after a reload of the site with items remaining in cart.
    Hope you can help, we’re almost there and your plugin was absolutely useful so i don’t really want to ask for a refund ??

    Plugin Author moiseh

    (@moiseh)

    Yes i’ve reproduced and fixed this bug, shared on dropbox.
    Thanks for reporting. ??

    Thread Starter ilaria_roglieri

    (@ilaria_roglieri)

    Dear moiseh,
    sorry but i have to bother you once again.
    Everything is working properly now unless one, huge thing that it’s really difficult to debug. It seems that when you access the site for the first time (or after a long period of time) clicking on an item “add to cart” button doesn’t make the cart load properly. You see in the minicart that the quantity is growing: however the cart will not load. Infact if you inspect you will see that inside the “woocommerce” div the cart form is not loaded but the empty cart div is. This only happens on a freshly loaded site, refreshing doesn’t show this (that’s why I’m noticing it now).
    Can you please help me fix this? Sorry to bother, you were awesome by the way, and i really hope you can help.

    Plugin Author moiseh

    (@moiseh)

    Hello brother,
    I suspecting that when access the link https://www.neueserie.net/ the JS files not loading, can you make a test for me?

    In the file: includes/class-wbu.php

    Replace this:

    
        function enqueue_scripts() {
            if ( is_checkout() || is_product() || wbu()->is_shop_loop() || is_cart() ) {
                wbu()->enqueue_assets();
            }
        }
    

    To this:

    
        function enqueue_scripts() {
            wbu()->enqueue_assets();
        }
    
    Thread Starter ilaria_roglieri

    (@ilaria_roglieri)

    Hello,
    I did as you indicated but still no resolution.
    You’re right when you say that the scripts are not loading when the site is accessed through another page. The script that is missing is wbupro.js. I changed the piece you indicated but still I don’t see the script when loading the homepage.
    Let me know if we can do something else.

    Plugin Author moiseh

    (@moiseh)

    Hello,
    I noticed that now the wbupro.js is loading and still not working, so open wbupro.js and replace this:

            if ( !wbuInfo.isShop || ( wbuSettings.make_cart_work_on_shop !== 'yes' ) ) {
                return;
            }

    to:

            if ( ( wbuSettings.make_cart_work_on_shop !== 'yes' ) ) {
                return;
            }

    I guess it will work ??

    Thread Starter ilaria_roglieri

    (@ilaria_roglieri)

    Awesome! Thanks a lot!
    ps: Clients want to send you a puppet ??

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Calculate shipping and removing items with X do not work in shop page’ is closed to new replies.