Okay
  Public Ticket #419515
Basket Totals
Closed

Comments

  •  1
    Jamie started the conversation

    Hello,

    I've updated woocommerce and my /cart.php is outdated (please see screenshot 1) and when you go on the cat page there are two basket total boxes (please see screenshot 2).

    Any help asap with this would be awesome :)

    Thank you,

    Jamie

  •  8,849
    Tahir replied

    Hey,

    Could you allow us to log in to your website backend dashboard so we can check on this for you more?. We are gonna need the username and password of admin user as well as the login url.

    Thanks


    ThemeNectar Support Team 

  • Jamie replied

    Hi Tahir,

    Thanks for getting back to me.

    I can give you logins if required, but this is not an isolated case. One of the other sites I manage http://www.mariagrace.co.uk/ is having the same basket totals duplication issue. This happened after the new woocommerce update. Maria Grace\'s site is now on the most recent 5.5.51 version of the theme with the updated woocommerce /cart template but this problem is still there.

    I don\'t think this is a problem with just these two site, I think it would be widespread. Do you still need login details to both sites?

    All the best,

    Jamie



  • John replied

    Tahir, this is a known problem with many themes and WooCommerce 2.3.8:

    https://wordpress.org/support/topic/cart-sum-two-times?replies=14

    Commenting out the woocommerce_cart_totals() line works, although it removes the copy of the cart totals I would prefer would stay—the one next to the cart items. Is there a way for you to suppress the other one—the one that appears below the items?

  • Ashley replied

    The link provided allows me to remove the one cart total on the right but I would like to remove the cart under the items...

  •  8,849
    Tahir replied

    Hey Guys,

    Could you try commenting out the line in here :



    Thanks


    ThemeNectar Support Team 

  •  1
    Jamie replied

    Hi Tahir,

    Thank you very much for this reply. This fix works a treat!

    Perfect.

    All the best,

    Jamie

  • John replied

    Thanks, Tahir!

    When the cart is updated (switching between shipping methods), two spinners appear. Can you fix that?

  •  8,849
    Tahir replied

    Hey Again,

    I cant seem to recreate the double spinners ?.

    -T


    ThemeNectar Support Team 

  •  1
    Jamie replied

    Hi Tahir,

    I\'m not sure if John meant when you proceed to the checkout page (after the cart page) and scroll down and change the shipping method, then there are double spinners?

    All the best,

    Jamie


  •  8,849
    Tahir replied

    Hey,

    Thats not a bug, its the default way when woocommerce updates the blocks .

    Thanks


    ThemeNectar Support Team 

  •  1
    Jamie replied

    OK, thank you. We\'ll have to wait to see if Johns bug was on the cart or checkout page. I don\'t have Johns URL so can\'t look at recreating his spinner issue. I don\'t have double spinners on any of my sites, so can\'t comment.

    Thanks again for your help.


    Jamie

  • John replied

    I\'m sorry for not specifying. Yes, it\'s on the checkout page. There\'s a separate spinner for the payment method (that I never noticed) besides the one for the \"Your Order\" block? If so, never mind.

  •  8,849
    Tahir replied

    Whatever it is its being done by the Woocommerce plugin so you might want to create a support ticket on Woo Forums. I can provide a screenshot if need be.

    Thanks


    ThemeNectar Support Team 

  • Suska replied

    Hi! I have the same issue in my website. Would really really love a reply!

    It shows cart totals on the right side, as well as on the bottom. What shall I do to remove this duplication which is on the bottom?

    And also, since we\'re on this topic, seems like one of the templates is out of date, is it nessesary to fix this? Could this be causing the problem? I have uploaded 2 screenshots.

  •  1,075
    ThemeNectar replied

    Hey,

    The current version will clear the out of date file warning and the mod Tahir posted below should fix the duplicate the cart buttons until the next update is released :)

    Cheers

  • Suska replied

    Thank you for your reply,

    What does Tahir mean by \" commenting out the line in here\" do you mean you want us to delete this line of code to fix this issue?

  •  1
    Jamie replied

    Hello,

    If you look at Tahir\'s image below you will see that he has added /* and */ to line 137. Add those in the same places. If you wanted to make a note or \'comment\' in your stylesheet you can use /* and */ (that\'s what he means by \'comment out\'.)

    All the best,


    Jamie

  • Suska replied

    Amazing! Thank you :) it worked!!!

  •  1
    Jamie replied

    Hi Tahir,

    Just a quick question.

    Commenting out \'woocommerce cart collaterals\' is causing any cross-sells not to show on the cart page. I\'m not sure if it affects anything else like coupons or shipping calculator but is there anyway to just stop the basket total from showing but allow the cross-sells?

    All the best,

    Jamie


  •  8,849
    Tahir replied

    Hey Guys,

    A woocommerce theme update is on the way so stay tuned.

    Thanks


    ThemeNectar Support Team